/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1987
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:rtflops.h 12.0$ */
/* $ACIS:rtflops.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/ca/RCS/rtflops.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidrtflops = "$Header:rtflops.h 12.0$";
#endif

/*
 * This file is #included by assembler files, so must contain
 * #define's ONLY (no C typedefs, etc.)
 */
#define	FP_ABS		0x00
#define	FP_ACOS		0x01
#define	FP_ADD		0x02
#define	FP_ASIN		0x03
#define	FP_ATAN		0x04
#define	FP_ATAN2	0x05
#define	FP_ATANH	0x06
#define FP_CMP		0x07
#define FP_CMPT		0x08
#define FP_CMPB		0x09
#define FP_COS		0x0A
#define FP_COSH		0x0B
#define FP_DIV		0x0C
#define FP_EXP		0x0D
#define FP_EXPM1	0x0E
#define	FP_LOADM	0x0F
#define FP_LOG10	0x10
#define FP_LOG1P	0x11
#define FP_LOG		0x12
#define FP_LOGB		0x13
#define	FP_MOVE		0x14
#define FP_MUL		0x15
#define FP_NEG		0x16
#define FP_REM		0x17
#define FP_RINT		0x18
#define FP_SCALB	0x19
#define FP_SIN		0x1A
#define FP_SINH		0x1B
#define FP_SQRT		0x1C
#define	FP_STOREM	0x1D
#define FP_SUB		0x1E
#define FP_TAN		0x1F
#define FP_TANH		0x20

#define	FP_INIT		0x21
#define	FP_WHICH	0x22
#define	FP_SETROUND	0x23
#define	FP_TESTROUND	0x24
#define	FP_SETFLAG	0x25
#define	FP_TESTFLAG	0x26
#define	FP_SETTRAP	0x27
#define	FP_TESTTRAP	0x28
#define FP_CLRFLAG	0x29
#define FP_CLRTRAP	0x2A
#define	NUM_OPCODES	0x2B

/***********************
 * Operand types
 ***********************
 */
#define	GREGTYPE	0x00
#define	FREGTYPE	0x10
#define	IMMEDTYPE	0x20
#define	ADDRTYPE	0x30
#define	INTTYPE		0x00
#define	UINTTYPE	0x01
#define	SGLETYPE	0x02
#define	DBLETYPE	0x03
#define	FUNCTYPE	0x04
#define SPECTYPE	0xff
#define HISPECTYPE	0xf0
#define LOSPECTYPE	0x0f
