Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sfp-machine.h File Reference

Go to the source code of this file.

Macros

#define _FP_W_TYPE_SIZE   64
 
#define _FP_W_TYPE   unsigned long
 
#define _FP_WS_TYPE   signed long
 
#define _FP_I_TYPE   long
 
#define _FP_MUL_MEAT_S(R, X, Y)   _FP_MUL_MEAT_1_imm(_FP_WFRACBITS_S,R,X,Y)
 
#define _FP_MUL_MEAT_D(R, X, Y)   _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm)
 
#define _FP_MUL_MEAT_Q(R, X, Y)   _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm)
 
#define _FP_DIV_MEAT_S(R, X, Y)   _FP_DIV_MEAT_1_imm(S,R,X,Y,_FP_DIV_HELP_imm)
 
#define _FP_DIV_MEAT_D(R, X, Y)   _FP_DIV_MEAT_1_udiv(D,R,X,Y)
 
#define _FP_DIV_MEAT_Q(R, X, Y)   _FP_DIV_MEAT_2_udiv(Q,R,X,Y)
 
#define _FP_NANFRAC_S   _FP_QNANBIT_S
 
#define _FP_NANFRAC_D   _FP_QNANBIT_D
 
#define _FP_NANFRAC_Q   _FP_QNANBIT_Q
 
#define _FP_NANSIGN_S   1
 
#define _FP_NANSIGN_D   1
 
#define _FP_NANSIGN_Q   1
 
#define _FP_KEEPNANFRACP   1
 
#define _FP_CHOOSENAN(fs, wc, R, X, Y, OP)
 
#define FP_ROUNDMODE   mode
 
#define FP_RND_NEAREST   (FPCR_DYN_NORMAL >> FPCR_DYN_SHIFT)
 
#define FP_RND_ZERO   (FPCR_DYN_CHOPPED >> FPCR_DYN_SHIFT)
 
#define FP_RND_PINF   (FPCR_DYN_PLUS >> FPCR_DYN_SHIFT)
 
#define FP_RND_MINF   (FPCR_DYN_MINUS >> FPCR_DYN_SHIFT)
 
#define FP_EX_INVALID   IEEE_TRAP_ENABLE_INV
 
#define FP_EX_OVERFLOW   IEEE_TRAP_ENABLE_OVF
 
#define FP_EX_UNDERFLOW   IEEE_TRAP_ENABLE_UNF
 
#define FP_EX_DIVZERO   IEEE_TRAP_ENABLE_DZE
 
#define FP_EX_INEXACT   IEEE_TRAP_ENABLE_INE
 
#define FP_EX_DENORM   IEEE_TRAP_ENABLE_DNO
 
#define FP_DENORM_ZERO   (swcr & IEEE_MAP_DMZ)
 
#define FP_INHIBIT_RESULTS   0
 

Macro Definition Documentation

#define _FP_CHOOSENAN (   fs,
  wc,
  R,
  X,
  Y,
  OP 
)
Value:
do { \
R##_s = Y##_s; \
_FP_FRAC_COPY_##wc(R,X); \
R##_c = FP_CLS_NAN; \
} while (0)

Definition at line 55 of file sfp-machine.h.

#define _FP_DIV_MEAT_D (   R,
  X,
 
)    _FP_DIV_MEAT_1_udiv(D,R,X,Y)

Definition at line 40 of file sfp-machine.h.

#define _FP_DIV_MEAT_Q (   R,
  X,
 
)    _FP_DIV_MEAT_2_udiv(Q,R,X,Y)

Definition at line 41 of file sfp-machine.h.

#define _FP_DIV_MEAT_S (   R,
  X,
 
)    _FP_DIV_MEAT_1_imm(S,R,X,Y,_FP_DIV_HELP_imm)

Definition at line 39 of file sfp-machine.h.

#define _FP_I_TYPE   long

Definition at line 30 of file sfp-machine.h.

#define _FP_KEEPNANFRACP   1

Definition at line 50 of file sfp-machine.h.

#define _FP_MUL_MEAT_D (   R,
  X,
 
)    _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm)

Definition at line 34 of file sfp-machine.h.

#define _FP_MUL_MEAT_Q (   R,
  X,
 
)    _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm)

Definition at line 36 of file sfp-machine.h.

#define _FP_MUL_MEAT_S (   R,
  X,
 
)    _FP_MUL_MEAT_1_imm(_FP_WFRACBITS_S,R,X,Y)

Definition at line 32 of file sfp-machine.h.

#define _FP_NANFRAC_D   _FP_QNANBIT_D

Definition at line 44 of file sfp-machine.h.

#define _FP_NANFRAC_Q   _FP_QNANBIT_Q

Definition at line 45 of file sfp-machine.h.

#define _FP_NANFRAC_S   _FP_QNANBIT_S

Definition at line 43 of file sfp-machine.h.

#define _FP_NANSIGN_D   1

Definition at line 47 of file sfp-machine.h.

#define _FP_NANSIGN_Q   1

Definition at line 48 of file sfp-machine.h.

#define _FP_NANSIGN_S   1

Definition at line 46 of file sfp-machine.h.

#define _FP_W_TYPE   unsigned long

Definition at line 28 of file sfp-machine.h.

#define _FP_W_TYPE_SIZE   64

Definition at line 27 of file sfp-machine.h.

#define _FP_WS_TYPE   signed long

Definition at line 29 of file sfp-machine.h.

#define FP_DENORM_ZERO   (swcr & IEEE_MAP_DMZ)

Definition at line 77 of file sfp-machine.h.

#define FP_EX_DENORM   IEEE_TRAP_ENABLE_DNO

Definition at line 75 of file sfp-machine.h.

#define FP_EX_DIVZERO   IEEE_TRAP_ENABLE_DZE

Definition at line 73 of file sfp-machine.h.

#define FP_EX_INEXACT   IEEE_TRAP_ENABLE_INE

Definition at line 74 of file sfp-machine.h.

#define FP_EX_INVALID   IEEE_TRAP_ENABLE_INV

Definition at line 70 of file sfp-machine.h.

#define FP_EX_OVERFLOW   IEEE_TRAP_ENABLE_OVF

Definition at line 71 of file sfp-machine.h.

#define FP_EX_UNDERFLOW   IEEE_TRAP_ENABLE_UNF

Definition at line 72 of file sfp-machine.h.

#define FP_INHIBIT_RESULTS   0

Definition at line 80 of file sfp-machine.h.

#define FP_RND_MINF   (FPCR_DYN_MINUS >> FPCR_DYN_SHIFT)

Definition at line 67 of file sfp-machine.h.

#define FP_RND_NEAREST   (FPCR_DYN_NORMAL >> FPCR_DYN_SHIFT)

Definition at line 64 of file sfp-machine.h.

#define FP_RND_PINF   (FPCR_DYN_PLUS >> FPCR_DYN_SHIFT)

Definition at line 66 of file sfp-machine.h.

#define FP_RND_ZERO   (FPCR_DYN_CHOPPED >> FPCR_DYN_SHIFT)

Definition at line 65 of file sfp-machine.h.

#define FP_ROUNDMODE   mode

Definition at line 63 of file sfp-machine.h.