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

Go to the source code of this file.

Macros

#define FPSID   cr0
 
#define FPSCR   cr1
 
#define MVFR1   cr6
 
#define MVFR0   cr7
 
#define FPEXC   cr8
 
#define FPINST   cr9
 
#define FPINST2   cr10
 
#define FPSID_IMPLEMENTER_BIT   (24)
 
#define FPSID_IMPLEMENTER_MASK   (0xff << FPSID_IMPLEMENTER_BIT)
 
#define FPSID_SOFTWARE   (1<<23)
 
#define FPSID_FORMAT_BIT   (21)
 
#define FPSID_FORMAT_MASK   (0x3 << FPSID_FORMAT_BIT)
 
#define FPSID_NODOUBLE   (1<<20)
 
#define FPSID_ARCH_BIT   (16)
 
#define FPSID_ARCH_MASK   (0xF << FPSID_ARCH_BIT)
 
#define FPSID_PART_BIT   (8)
 
#define FPSID_PART_MASK   (0xFF << FPSID_PART_BIT)
 
#define FPSID_VARIANT_BIT   (4)
 
#define FPSID_VARIANT_MASK   (0xF << FPSID_VARIANT_BIT)
 
#define FPSID_REV_BIT   (0)
 
#define FPSID_REV_MASK   (0xF << FPSID_REV_BIT)
 
#define FPEXC_EX   (1 << 31)
 
#define FPEXC_EN   (1 << 30)
 
#define FPEXC_DEX   (1 << 29)
 
#define FPEXC_FP2V   (1 << 28)
 
#define FPEXC_VV   (1 << 27)
 
#define FPEXC_TFV   (1 << 26)
 
#define FPEXC_LENGTH_BIT   (8)
 
#define FPEXC_LENGTH_MASK   (7 << FPEXC_LENGTH_BIT)
 
#define FPEXC_IDF   (1 << 7)
 
#define FPEXC_IXF   (1 << 4)
 
#define FPEXC_UFF   (1 << 3)
 
#define FPEXC_OFF   (1 << 2)
 
#define FPEXC_DZF   (1 << 1)
 
#define FPEXC_IOF   (1 << 0)
 
#define FPEXC_TRAP_MASK   (FPEXC_IDF|FPEXC_IXF|FPEXC_UFF|FPEXC_OFF|FPEXC_DZF|FPEXC_IOF)
 
#define FPSCR_DEFAULT_NAN   (1<<25)
 
#define FPSCR_FLUSHTOZERO   (1<<24)
 
#define FPSCR_ROUND_NEAREST   (0<<22)
 
#define FPSCR_ROUND_PLUSINF   (1<<22)
 
#define FPSCR_ROUND_MINUSINF   (2<<22)
 
#define FPSCR_ROUND_TOZERO   (3<<22)
 
#define FPSCR_RMODE_BIT   (22)
 
#define FPSCR_RMODE_MASK   (3 << FPSCR_RMODE_BIT)
 
#define FPSCR_STRIDE_BIT   (20)
 
#define FPSCR_STRIDE_MASK   (3 << FPSCR_STRIDE_BIT)
 
#define FPSCR_LENGTH_BIT   (16)
 
#define FPSCR_LENGTH_MASK   (7 << FPSCR_LENGTH_BIT)
 
#define FPSCR_IOE   (1<<8)
 
#define FPSCR_DZE   (1<<9)
 
#define FPSCR_OFE   (1<<10)
 
#define FPSCR_UFE   (1<<11)
 
#define FPSCR_IXE   (1<<12)
 
#define FPSCR_IDE   (1<<15)
 
#define FPSCR_IOC   (1<<0)
 
#define FPSCR_DZC   (1<<1)
 
#define FPSCR_OFC   (1<<2)
 
#define FPSCR_UFC   (1<<3)
 
#define FPSCR_IXC   (1<<4)
 
#define FPSCR_IDC   (1<<7)
 
#define MVFR0_A_SIMD_BIT   (0)
 
#define MVFR0_A_SIMD_MASK   (0xf << MVFR0_A_SIMD_BIT)
 
#define VFPOPDESC_LENGTH_BIT   (9)
 
#define VFPOPDESC_LENGTH_MASK   (0x07 << VFPOPDESC_LENGTH_BIT)
 
#define VFPOPDESC_UNUSED_BIT   (24)
 
#define VFPOPDESC_UNUSED_MASK   (0xFF << VFPOPDESC_UNUSED_BIT)
 
#define VFPOPDESC_OPDESC_MASK   (~(VFPOPDESC_LENGTH_MASK | VFPOPDESC_UNUSED_MASK))
 

Macro Definition Documentation

#define FPEXC   cr8

Definition at line 12 of file vfp.h.

#define FPEXC_DEX   (1 << 29)

Definition at line 35 of file vfp.h.

#define FPEXC_DZF   (1 << 1)

Definition at line 45 of file vfp.h.

#define FPEXC_EN   (1 << 30)

Definition at line 34 of file vfp.h.

#define FPEXC_EX   (1 << 31)

Definition at line 33 of file vfp.h.

#define FPEXC_FP2V   (1 << 28)

Definition at line 36 of file vfp.h.

#define FPEXC_IDF   (1 << 7)

Definition at line 41 of file vfp.h.

#define FPEXC_IOF   (1 << 0)

Definition at line 46 of file vfp.h.

#define FPEXC_IXF   (1 << 4)

Definition at line 42 of file vfp.h.

#define FPEXC_LENGTH_BIT   (8)

Definition at line 39 of file vfp.h.

#define FPEXC_LENGTH_MASK   (7 << FPEXC_LENGTH_BIT)

Definition at line 40 of file vfp.h.

#define FPEXC_OFF   (1 << 2)

Definition at line 44 of file vfp.h.

#define FPEXC_TFV   (1 << 26)

Definition at line 38 of file vfp.h.

#define FPEXC_TRAP_MASK   (FPEXC_IDF|FPEXC_IXF|FPEXC_UFF|FPEXC_OFF|FPEXC_DZF|FPEXC_IOF)

Definition at line 47 of file vfp.h.

#define FPEXC_UFF   (1 << 3)

Definition at line 43 of file vfp.h.

#define FPEXC_VV   (1 << 27)

Definition at line 37 of file vfp.h.

#define FPINST   cr9

Definition at line 13 of file vfp.h.

#define FPINST2   cr10

Definition at line 14 of file vfp.h.

#define FPSCR   cr1

Definition at line 9 of file vfp.h.

#define FPSCR_DEFAULT_NAN   (1<<25)

Definition at line 50 of file vfp.h.

#define FPSCR_DZC   (1<<1)

Definition at line 69 of file vfp.h.

#define FPSCR_DZE   (1<<9)

Definition at line 63 of file vfp.h.

#define FPSCR_FLUSHTOZERO   (1<<24)

Definition at line 51 of file vfp.h.

#define FPSCR_IDC   (1<<7)

Definition at line 73 of file vfp.h.

#define FPSCR_IDE   (1<<15)

Definition at line 67 of file vfp.h.

#define FPSCR_IOC   (1<<0)

Definition at line 68 of file vfp.h.

#define FPSCR_IOE   (1<<8)

Definition at line 62 of file vfp.h.

#define FPSCR_IXC   (1<<4)

Definition at line 72 of file vfp.h.

#define FPSCR_IXE   (1<<12)

Definition at line 66 of file vfp.h.

#define FPSCR_LENGTH_BIT   (16)

Definition at line 60 of file vfp.h.

#define FPSCR_LENGTH_MASK   (7 << FPSCR_LENGTH_BIT)

Definition at line 61 of file vfp.h.

#define FPSCR_OFC   (1<<2)

Definition at line 70 of file vfp.h.

#define FPSCR_OFE   (1<<10)

Definition at line 64 of file vfp.h.

#define FPSCR_RMODE_BIT   (22)

Definition at line 56 of file vfp.h.

#define FPSCR_RMODE_MASK   (3 << FPSCR_RMODE_BIT)

Definition at line 57 of file vfp.h.

#define FPSCR_ROUND_MINUSINF   (2<<22)

Definition at line 54 of file vfp.h.

#define FPSCR_ROUND_NEAREST   (0<<22)

Definition at line 52 of file vfp.h.

#define FPSCR_ROUND_PLUSINF   (1<<22)

Definition at line 53 of file vfp.h.

#define FPSCR_ROUND_TOZERO   (3<<22)

Definition at line 55 of file vfp.h.

#define FPSCR_STRIDE_BIT   (20)

Definition at line 58 of file vfp.h.

#define FPSCR_STRIDE_MASK   (3 << FPSCR_STRIDE_BIT)

Definition at line 59 of file vfp.h.

#define FPSCR_UFC   (1<<3)

Definition at line 71 of file vfp.h.

#define FPSCR_UFE   (1<<11)

Definition at line 65 of file vfp.h.

#define FPSID   cr0

Definition at line 8 of file vfp.h.

#define FPSID_ARCH_BIT   (16)

Definition at line 23 of file vfp.h.

#define FPSID_ARCH_MASK   (0xF << FPSID_ARCH_BIT)

Definition at line 24 of file vfp.h.

#define FPSID_FORMAT_BIT   (21)

Definition at line 20 of file vfp.h.

#define FPSID_FORMAT_MASK   (0x3 << FPSID_FORMAT_BIT)

Definition at line 21 of file vfp.h.

#define FPSID_IMPLEMENTER_BIT   (24)

Definition at line 17 of file vfp.h.

#define FPSID_IMPLEMENTER_MASK   (0xff << FPSID_IMPLEMENTER_BIT)

Definition at line 18 of file vfp.h.

#define FPSID_NODOUBLE   (1<<20)

Definition at line 22 of file vfp.h.

#define FPSID_PART_BIT   (8)

Definition at line 25 of file vfp.h.

#define FPSID_PART_MASK   (0xFF << FPSID_PART_BIT)

Definition at line 26 of file vfp.h.

#define FPSID_REV_BIT   (0)

Definition at line 29 of file vfp.h.

#define FPSID_REV_MASK   (0xF << FPSID_REV_BIT)

Definition at line 30 of file vfp.h.

#define FPSID_SOFTWARE   (1<<23)

Definition at line 19 of file vfp.h.

#define FPSID_VARIANT_BIT   (4)

Definition at line 27 of file vfp.h.

#define FPSID_VARIANT_MASK   (0xF << FPSID_VARIANT_BIT)

Definition at line 28 of file vfp.h.

#define MVFR0   cr7

Definition at line 11 of file vfp.h.

#define MVFR0_A_SIMD_BIT   (0)

Definition at line 76 of file vfp.h.

#define MVFR0_A_SIMD_MASK   (0xf << MVFR0_A_SIMD_BIT)

Definition at line 77 of file vfp.h.

#define MVFR1   cr6

Definition at line 10 of file vfp.h.

#define VFPOPDESC_LENGTH_BIT   (9)

Definition at line 80 of file vfp.h.

#define VFPOPDESC_LENGTH_MASK   (0x07 << VFPOPDESC_LENGTH_BIT)

Definition at line 81 of file vfp.h.

#define VFPOPDESC_OPDESC_MASK   (~(VFPOPDESC_LENGTH_MASK | VFPOPDESC_UNUSED_MASK))

Definition at line 84 of file vfp.h.

#define VFPOPDESC_UNUSED_BIT   (24)

Definition at line 82 of file vfp.h.

#define VFPOPDESC_UNUSED_MASK   (0xFF << VFPOPDESC_UNUSED_BIT)

Definition at line 83 of file vfp.h.