Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Classes | |
union | fpu_instr |
union | fpc_irr |
union | fpc_csr |
Defines | |
#define | FMT_SINGLE 0 |
#define | FMT_DOUBLE 1 |
#define | FMT_EXTENDED 2 |
#define | FMT_QUAD 3 |
#define | FMT_WORD 4 |
#define | FMT_LONGWORD 5 |
#define | FMT_MAX 5 |
#define | FUNC_ADD 0 |
#define | FUNC_SUB 1 |
#define | FUNC_MUL 2 |
#define | FUNC_DIV 3 |
#define | FUNC_SQRT 4 |
#define | FUNC_ABS 5 |
#define | FUNC_MOV 6 |
#define | FUNC_NEG 7 |
#define | FUNC_ROUNDL 0x08 |
#define | FUNC_TRUNCL 0x09 |
#define | FUNC_CEILL 0x0a |
#define | FUNC_FLOORL 0x0b |
#define | FUNC_ROUND 0x0c |
#define | FUNC_TRUNC 0x0d |
#define | FUNC_CEIL 0x0e |
#define | FUNC_FLOOR 0x0f |
#define | FUNC_RECIP 0x15 |
#define | FUNC_RSQRT 0x16 |
#define | FUNC_CVTS 0x20 |
#define | FUNC_CVTD 0x21 |
#define | FUNC_CVTE 0x22 |
#define | FUNC_CVTQ 0x23 |
#define | FUNC_CVTW 0x24 |
#define | FUNC_CVTL 0x25 |
#define | FUNC_MADD 0x4 |
#define | FUNC_MSUB 0x5 |
#define | FUNC_NMADD 0x6 |
#define | FUNC_NMSUB 0x7 |
#define | FUNC_FC 0x30 |
#define | COND_UN_MASK 0x1 |
#define | COND_EQ_MASK 0x2 |
#define | COND_LT_MASK 0x4 |
#define | COND_IN_MASK 0x8 |
#define | FPU_BASE_SHIFT 21 |
#define | FPU_BASE_MASK 0x1f |
#define | FPU_FMT_SHIFT 21 |
#define | FPU_FMT_MASK 0xf |
#define | FPU_RT_SHIFT 16 |
#define | FPU_RT_MASK 0x1f |
#define | FPU_RT_FPRMASK 0x1e |
#define | FPU_RS_SHIFT 11 |
#define | FPU_RS_MASK 0x1f |
#define | FPU_RS_FPRMASK 0x1e |
#define | FPU_RD_SHIFT 6 |
#define | FPU_RD_MASK 0x1f |
#define | FPU_RD_FPRMASK 0x1e |
#define | IMPLEMENTATION_NONE 0 /* software */ |
#define | IMPLEMENTATION_R2360 1 /* board */ |
#define | IMPLEMENTATION_R2010 2 /* chip */ |
#define | IRR_IMP_MASK 0x0000ff00 |
#define | IRR_IMP_NONE 0x00000000 |
#define | IRR_IMP_R2360 0x00000100 |
#define | IRR_IMP_R2010 0x00000200 |
#define | ROUND_TO_NEAREST 0 |
#define | ROUND_TO_ZERO 1 |
#define | ROUND_TO_PLUS_INFINITY 2 |
#define | ROUND_TO_MINUS_INFINITY 3 |
#define | FPCSR_FLUSH_ZERO 0x01000000 |
#define | FPCSR_UNIMP 0x00020000 |
#define | FPCSR_EXCEPTIONS 0x0003f000 /* all exceptions */ |
#define | FPCSR_ENABLES 0x00000f80 |
#define | FPCSR_FLAGS 0x0000007c |
Functions | |
unsigned int | get_fpc_csr (void) |
unsigned int | set_fpc_csr (unsigned int) |
unsigned int | get_fpc_irr (void) |
unsigned int | get_fpc_eir (void) |
#define COND_EQ_MASK 0x2 |
#define COND_IN_MASK 0x8 |
#define COND_LT_MASK 0x4 |
#define COND_UN_MASK 0x1 |
#define FMT_DOUBLE 1 |
#define FMT_EXTENDED 2 |
#define FMT_LONGWORD 5 |
#define FMT_SINGLE 0 |
#define FPCSR_ENABLES 0x00000f80 |
#define FPCSR_EXCEPTIONS 0x0003f000 /* all exceptions */ |
#define FPCSR_FLAGS 0x0000007c |
#define FPCSR_FLUSH_ZERO 0x01000000 |
Definition at line 339 of file fpu.h.
Referenced by Handle_Signals().
#define FPCSR_UNIMP 0x00020000 |
#define FPU_BASE_MASK 0x1f |
#define FPU_BASE_SHIFT 21 |
#define FPU_FMT_MASK 0xf |
#define FPU_FMT_SHIFT 21 |
#define FPU_RD_FPRMASK 0x1e |
#define FPU_RD_MASK 0x1f |
#define FPU_RD_SHIFT 6 |
#define FPU_RS_FPRMASK 0x1e |
#define FPU_RS_MASK 0x1f |
#define FPU_RS_SHIFT 11 |
#define FPU_RT_FPRMASK 0x1e |
#define FPU_RT_MASK 0x1f |
#define FPU_RT_SHIFT 16 |
#define FUNC_CEILL 0x0a |
#define FUNC_FLOOR 0x0f |
#define FUNC_FLOORL 0x0b |
#define FUNC_NMADD 0x6 |
#define FUNC_NMSUB 0x7 |
#define FUNC_RECIP 0x15 |
#define FUNC_ROUND 0x0c |
#define FUNC_ROUNDL 0x08 |
#define FUNC_RSQRT 0x16 |
#define FUNC_TRUNC 0x0d |
#define FUNC_TRUNCL 0x09 |
#define IMPLEMENTATION_NONE 0 /* software */ |
#define IMPLEMENTATION_R2010 2 /* chip */ |
#define IMPLEMENTATION_R2360 1 /* board */ |
#define IRR_IMP_MASK 0x0000ff00 |
#define IRR_IMP_NONE 0x00000000 |
#define IRR_IMP_R2010 0x00000200 |
#define IRR_IMP_R2360 0x00000100 |
#define ROUND_TO_MINUS_INFINITY 3 |
#define ROUND_TO_NEAREST 0 |
#define ROUND_TO_PLUS_INFINITY 2 |
#define ROUND_TO_ZERO 1 |
unsigned int get_fpc_csr | ( | void | ) |
Referenced by __cqdiv(), and Handle_Signals().
unsigned int get_fpc_eir | ( | void | ) |
unsigned int get_fpc_irr | ( | void | ) |
unsigned int set_fpc_csr | ( | unsigned | int | ) |
Referenced by __cqdiv(), and Handle_Signals().