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

Go to the source code of this file.

Macros

#define MASK_SYSID   0xff000000
 
#define BIT_HARDWARE   0x80000000
 
#define FP_EMULATOR   0x01000000 /* System ID for emulator */
 
#define FP_ACCELERATOR   0x81000000 /* System ID for FPA11 */
 
#define MASK_TRAP_ENABLE   0x00ff0000
 
#define MASK_TRAP_ENABLE_STRICT   0x001f0000
 
#define BIT_IXE   0x00100000 /* inexact exception enable */
 
#define BIT_UFE   0x00080000 /* underflow exception enable */
 
#define BIT_OFE   0x00040000 /* overflow exception enable */
 
#define BIT_DZE   0x00020000 /* divide by zero exception enable */
 
#define BIT_IOE   0x00010000 /* invalid operation exception enable */
 
#define MASK_SYSTEM_CONTROL   0x0000ff00
 
#define MASK_TRAP_STRICT   0x00001f00
 
#define BIT_AC
 
#define BIT_EP   0x00000800 /* use expanded packed decimal format */
 
#define BIT_SO   0x00000400 /* select synchronous operation of FPA */
 
#define BIT_NE   0x00000200 /* NaN exception bit */
 
#define BIT_ND   0x00000100 /* no denormalized numbers bit */
 
#define MASK_EXCEPTION_FLAGS   0x000000ff
 
#define MASK_EXCEPTION_FLAGS_STRICT   0x0000001f
 
#define BIT_IXC   0x00000010 /* inexact exception flag */
 
#define BIT_UFC   0x00000008 /* underflow exception flag */
 
#define BIT_OFC   0x00000004 /* overfloat exception flag */
 
#define BIT_DZC   0x00000002 /* divide by zero exception flag */
 
#define BIT_IOC   0x00000001 /* invalid operation exception flag */
 
#define BIT_RU   0x80000000 /* rounded up bit */
 
#define BIT_IE   0x10000000 /* inexact bit */
 
#define BIT_MO   0x08000000 /* mantissa overflow bit */
 
#define BIT_EO   0x04000000 /* exponent overflow bit */
 
#define BIT_SB   0x00000800 /* store bounce */
 
#define BIT_AB   0x00000400 /* arithmetic bounce */
 
#define BIT_RE   0x00000200 /* rounding exception */
 
#define BIT_DA   0x00000100 /* disable FPA */
 
#define MASK_OP   0x00f08010 /* AU operation code */
 
#define MASK_PR   0x00080080 /* AU precision */
 
#define MASK_S1   0x00070000 /* AU source register 1 */
 
#define MASK_S2   0x00000007 /* AU source register 2 */
 
#define MASK_DS   0x00007000 /* AU destination register */
 
#define MASK_RM   0x00000060 /* AU rounding mode */
 
#define MASK_ALU   0x9cfff2ff /* only ALU can write these bits */
 
#define MASK_RESET   0x00000d00 /* bits set on reset, all others cleared */
 
#define MASK_WFC   MASK_RESET
 
#define MASK_RFC   ~MASK_RESET
 

Typedefs

typedef unsigned int FPSR
 
typedef unsigned int FPCR
 

Macro Definition Documentation

#define BIT_AB   0x00000400 /* arithmetic bounce */

Definition at line 92 of file fpsr.h.

#define BIT_AC
Value:
0x00001000 /* use alternative C-flag definition
for compares */

Definition at line 66 of file fpsr.h.

#define BIT_DA   0x00000100 /* disable FPA */

Definition at line 94 of file fpsr.h.

#define BIT_DZC   0x00000002 /* divide by zero exception flag */

Definition at line 81 of file fpsr.h.

#define BIT_DZE   0x00020000 /* divide by zero exception enable */

Definition at line 57 of file fpsr.h.

#define BIT_EO   0x04000000 /* exponent overflow bit */

Definition at line 90 of file fpsr.h.

#define BIT_EP   0x00000800 /* use expanded packed decimal format */

Definition at line 67 of file fpsr.h.

#define BIT_HARDWARE   0x80000000

Definition at line 45 of file fpsr.h.

#define BIT_IE   0x10000000 /* inexact bit */

Definition at line 88 of file fpsr.h.

#define BIT_IOC   0x00000001 /* invalid operation exception flag */

Definition at line 82 of file fpsr.h.

#define BIT_IOE   0x00010000 /* invalid operation exception enable */

Definition at line 58 of file fpsr.h.

#define BIT_IXC   0x00000010 /* inexact exception flag */

Definition at line 78 of file fpsr.h.

#define BIT_IXE   0x00100000 /* inexact exception enable */

Definition at line 54 of file fpsr.h.

#define BIT_MO   0x08000000 /* mantissa overflow bit */

Definition at line 89 of file fpsr.h.

#define BIT_ND   0x00000100 /* no denormalized numbers bit */

Definition at line 70 of file fpsr.h.

#define BIT_NE   0x00000200 /* NaN exception bit */

Definition at line 69 of file fpsr.h.

#define BIT_OFC   0x00000004 /* overfloat exception flag */

Definition at line 80 of file fpsr.h.

#define BIT_OFE   0x00040000 /* overflow exception enable */

Definition at line 56 of file fpsr.h.

#define BIT_RE   0x00000200 /* rounding exception */

Definition at line 93 of file fpsr.h.

#define BIT_RU   0x80000000 /* rounded up bit */

Definition at line 87 of file fpsr.h.

#define BIT_SB   0x00000800 /* store bounce */

Definition at line 91 of file fpsr.h.

#define BIT_SO   0x00000400 /* select synchronous operation of FPA */

Definition at line 68 of file fpsr.h.

#define BIT_UFC   0x00000008 /* underflow exception flag */

Definition at line 79 of file fpsr.h.

#define BIT_UFE   0x00080000 /* underflow exception enable */

Definition at line 55 of file fpsr.h.

#define FP_ACCELERATOR   0x81000000 /* System ID for FPA11 */

Definition at line 47 of file fpsr.h.

#define FP_EMULATOR   0x01000000 /* System ID for emulator */

Definition at line 46 of file fpsr.h.

#define MASK_ALU   0x9cfff2ff /* only ALU can write these bits */

Definition at line 102 of file fpsr.h.

#define MASK_DS   0x00007000 /* AU destination register */

Definition at line 100 of file fpsr.h.

#define MASK_EXCEPTION_FLAGS   0x000000ff

Definition at line 75 of file fpsr.h.

#define MASK_EXCEPTION_FLAGS_STRICT   0x0000001f

Definition at line 76 of file fpsr.h.

#define MASK_OP   0x00f08010 /* AU operation code */

Definition at line 96 of file fpsr.h.

#define MASK_PR   0x00080080 /* AU precision */

Definition at line 97 of file fpsr.h.

#define MASK_RESET   0x00000d00 /* bits set on reset, all others cleared */

Definition at line 103 of file fpsr.h.

#define MASK_RFC   ~MASK_RESET

Definition at line 105 of file fpsr.h.

#define MASK_RM   0x00000060 /* AU rounding mode */

Definition at line 101 of file fpsr.h.

#define MASK_S1   0x00070000 /* AU source register 1 */

Definition at line 98 of file fpsr.h.

#define MASK_S2   0x00000007 /* AU source register 2 */

Definition at line 99 of file fpsr.h.

#define MASK_SYSID   0xff000000

Definition at line 44 of file fpsr.h.

#define MASK_SYSTEM_CONTROL   0x0000ff00

Definition at line 63 of file fpsr.h.

#define MASK_TRAP_ENABLE   0x00ff0000

Definition at line 52 of file fpsr.h.

#define MASK_TRAP_ENABLE_STRICT   0x001f0000

Definition at line 53 of file fpsr.h.

#define MASK_TRAP_STRICT   0x00001f00

Definition at line 64 of file fpsr.h.

#define MASK_WFC   MASK_RESET

Definition at line 104 of file fpsr.h.

Typedef Documentation

typedef unsigned int FPCR

Definition at line 42 of file fpsr.h.

typedef unsigned int FPSR

Definition at line 41 of file fpsr.h.