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

Go to the source code of this file.

Macros

#define FPCR_DNOD   (1UL<<47) /* denorm INV trap disable */
 
#define FPCR_DNZ   (1UL<<48) /* denorms to zero */
 
#define FPCR_INVD   (1UL<<49) /* invalid op disable (opt.) */
 
#define FPCR_DZED   (1UL<<50) /* division by zero disable (opt.) */
 
#define FPCR_OVFD   (1UL<<51) /* overflow disable (optional) */
 
#define FPCR_INV   (1UL<<52) /* invalid operation */
 
#define FPCR_DZE   (1UL<<53) /* division by zero */
 
#define FPCR_OVF   (1UL<<54) /* overflow */
 
#define FPCR_UNF   (1UL<<55) /* underflow */
 
#define FPCR_INE   (1UL<<56) /* inexact */
 
#define FPCR_IOV   (1UL<<57) /* integer overflow */
 
#define FPCR_UNDZ   (1UL<<60) /* underflow to zero (opt.) */
 
#define FPCR_UNFD   (1UL<<61) /* underflow disable (opt.) */
 
#define FPCR_INED   (1UL<<62) /* inexact disable (opt.) */
 
#define FPCR_SUM   (1UL<<63) /* summary bit */
 
#define FPCR_DYN_SHIFT   58 /* first dynamic rounding mode bit */
 
#define FPCR_DYN_CHOPPED   (0x0UL << FPCR_DYN_SHIFT) /* towards 0 */
 
#define FPCR_DYN_MINUS   (0x1UL << FPCR_DYN_SHIFT) /* towards -INF */
 
#define FPCR_DYN_NORMAL   (0x2UL << FPCR_DYN_SHIFT) /* towards nearest */
 
#define FPCR_DYN_PLUS   (0x3UL << FPCR_DYN_SHIFT) /* towards +INF */
 
#define FPCR_DYN_MASK   (0x3UL << FPCR_DYN_SHIFT)
 
#define FPCR_MASK   0xffff800000000000L
 
#define IEEE_TRAP_ENABLE_INV   (1UL<<1) /* invalid op */
 
#define IEEE_TRAP_ENABLE_DZE   (1UL<<2) /* division by zero */
 
#define IEEE_TRAP_ENABLE_OVF   (1UL<<3) /* overflow */
 
#define IEEE_TRAP_ENABLE_UNF   (1UL<<4) /* underflow */
 
#define IEEE_TRAP_ENABLE_INE   (1UL<<5) /* inexact */
 
#define IEEE_TRAP_ENABLE_DNO   (1UL<<6) /* denorm */
 
#define IEEE_TRAP_ENABLE_MASK
 
#define IEEE_MAP_DMZ   (1UL<<12) /* Map denorm inputs to zero */
 
#define IEEE_MAP_UMZ   (1UL<<13) /* Map underflowed outputs to zero */
 
#define IEEE_MAP_MASK   (IEEE_MAP_DMZ | IEEE_MAP_UMZ)
 
#define IEEE_STATUS_INV   (1UL<<17)
 
#define IEEE_STATUS_DZE   (1UL<<18)
 
#define IEEE_STATUS_OVF   (1UL<<19)
 
#define IEEE_STATUS_UNF   (1UL<<20)
 
#define IEEE_STATUS_INE   (1UL<<21)
 
#define IEEE_STATUS_DNO   (1UL<<22)
 
#define IEEE_STATUS_MASK
 
#define IEEE_SW_MASK
 
#define IEEE_CURRENT_RM_SHIFT   32
 
#define IEEE_CURRENT_RM_MASK   (3UL<<IEEE_CURRENT_RM_SHIFT)
 
#define IEEE_STATUS_TO_EXCSUM_SHIFT   16
 
#define IEEE_INHERIT   (1UL<<63) /* inherit on thread create? */
 

Macro Definition Documentation

#define FPCR_DNOD   (1UL<<47) /* denorm INV trap disable */

Definition at line 11 of file fpu.h.

#define FPCR_DNZ   (1UL<<48) /* denorms to zero */

Definition at line 12 of file fpu.h.

#define FPCR_DYN_CHOPPED   (0x0UL << FPCR_DYN_SHIFT) /* towards 0 */

Definition at line 28 of file fpu.h.

#define FPCR_DYN_MASK   (0x3UL << FPCR_DYN_SHIFT)

Definition at line 32 of file fpu.h.

#define FPCR_DYN_MINUS   (0x1UL << FPCR_DYN_SHIFT) /* towards -INF */

Definition at line 29 of file fpu.h.

#define FPCR_DYN_NORMAL   (0x2UL << FPCR_DYN_SHIFT) /* towards nearest */

Definition at line 30 of file fpu.h.

#define FPCR_DYN_PLUS   (0x3UL << FPCR_DYN_SHIFT) /* towards +INF */

Definition at line 31 of file fpu.h.

#define FPCR_DYN_SHIFT   58 /* first dynamic rounding mode bit */

Definition at line 27 of file fpu.h.

#define FPCR_DZE   (1UL<<53) /* division by zero */

Definition at line 17 of file fpu.h.

#define FPCR_DZED   (1UL<<50) /* division by zero disable (opt.) */

Definition at line 14 of file fpu.h.

#define FPCR_INE   (1UL<<56) /* inexact */

Definition at line 20 of file fpu.h.

#define FPCR_INED   (1UL<<62) /* inexact disable (opt.) */

Definition at line 24 of file fpu.h.

#define FPCR_INV   (1UL<<52) /* invalid operation */

Definition at line 16 of file fpu.h.

#define FPCR_INVD   (1UL<<49) /* invalid op disable (opt.) */

Definition at line 13 of file fpu.h.

#define FPCR_IOV   (1UL<<57) /* integer overflow */

Definition at line 21 of file fpu.h.

#define FPCR_MASK   0xffff800000000000L

Definition at line 34 of file fpu.h.

#define FPCR_OVF   (1UL<<54) /* overflow */

Definition at line 18 of file fpu.h.

#define FPCR_OVFD   (1UL<<51) /* overflow disable (optional) */

Definition at line 15 of file fpu.h.

#define FPCR_SUM   (1UL<<63) /* summary bit */

Definition at line 25 of file fpu.h.

#define FPCR_UNDZ   (1UL<<60) /* underflow to zero (opt.) */

Definition at line 22 of file fpu.h.

#define FPCR_UNF   (1UL<<55) /* underflow */

Definition at line 19 of file fpu.h.

#define FPCR_UNFD   (1UL<<61) /* underflow disable (opt.) */

Definition at line 23 of file fpu.h.

#define IEEE_CURRENT_RM_MASK   (3UL<<IEEE_CURRENT_RM_SHIFT)

Definition at line 78 of file fpu.h.

#define IEEE_CURRENT_RM_SHIFT   32

Definition at line 77 of file fpu.h.

#define IEEE_INHERIT   (1UL<<63) /* inherit on thread create? */

Definition at line 82 of file fpu.h.

#define IEEE_MAP_DMZ   (1UL<<12) /* Map denorm inputs to zero */

Definition at line 57 of file fpu.h.

#define IEEE_MAP_MASK   (IEEE_MAP_DMZ | IEEE_MAP_UMZ)

Definition at line 60 of file fpu.h.

#define IEEE_MAP_UMZ   (1UL<<13) /* Map underflowed outputs to zero */

Definition at line 58 of file fpu.h.

#define IEEE_STATUS_DNO   (1UL<<22)

Definition at line 68 of file fpu.h.

#define IEEE_STATUS_DZE   (1UL<<18)

Definition at line 64 of file fpu.h.

#define IEEE_STATUS_INE   (1UL<<21)

Definition at line 67 of file fpu.h.

#define IEEE_STATUS_INV   (1UL<<17)

Definition at line 63 of file fpu.h.

#define IEEE_STATUS_MASK
Value:
IEEE_STATUS_OVF | IEEE_STATUS_UNF | \
IEEE_STATUS_INE | IEEE_STATUS_DNO)

Definition at line 70 of file fpu.h.

#define IEEE_STATUS_OVF   (1UL<<19)

Definition at line 65 of file fpu.h.

#define IEEE_STATUS_TO_EXCSUM_SHIFT   16

Definition at line 80 of file fpu.h.

#define IEEE_STATUS_UNF   (1UL<<20)

Definition at line 66 of file fpu.h.

#define IEEE_SW_MASK
Value:
IEEE_STATUS_MASK | IEEE_MAP_MASK)

Definition at line 74 of file fpu.h.

#define IEEE_TRAP_ENABLE_DNO   (1UL<<6) /* denorm */

Definition at line 51 of file fpu.h.

#define IEEE_TRAP_ENABLE_DZE   (1UL<<2) /* division by zero */

Definition at line 47 of file fpu.h.

#define IEEE_TRAP_ENABLE_INE   (1UL<<5) /* inexact */

Definition at line 50 of file fpu.h.

#define IEEE_TRAP_ENABLE_INV   (1UL<<1) /* invalid op */

Definition at line 46 of file fpu.h.

#define IEEE_TRAP_ENABLE_MASK
Value:
IEEE_TRAP_ENABLE_OVF | IEEE_TRAP_ENABLE_UNF |\
IEEE_TRAP_ENABLE_INE | IEEE_TRAP_ENABLE_DNO)

Definition at line 52 of file fpu.h.

#define IEEE_TRAP_ENABLE_OVF   (1UL<<3) /* overflow */

Definition at line 48 of file fpu.h.

#define IEEE_TRAP_ENABLE_UNF   (1UL<<4) /* underflow */

Definition at line 49 of file fpu.h.