Back to index

glibc  2.9
Defines | Typedefs | Variables
fpu_control.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _FPU_MASK_VM   0x0800 /* Invalid operation */
#define _FPU_MASK_ZM   0x0400 /* Division by zero */
#define _FPU_MASK_OM   0x0200 /* Overflow */
#define _FPU_MASK_UM   0x0100 /* Underflow */
#define _FPU_MASK_IM   0x0080 /* Inexact operation */
#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */
#define _FPU_RC_ZERO   0x1
#define _FPU_RESERVED   0xffc00000 /* These bits are reserved. */
#define _FPU_DEFAULT   0x00080000 /* Default value. */
#define _FPU_IEEE   0x00080f80 /* Default + exceptions enabled. */
#define _FPU_GETCW(cw)   __asm__ ("sts fpscr,%0" : "=r" (cw))
#define _FPU_SETCW(cw)   __asm__ ("lds %0,fpscr" : : "r" (cw))

Typedefs

typedef unsigned int fpu_control_t

Variables

fpu_control_t __fpu_control

Define Documentation

#define _FPU_DEFAULT   0x00080000 /* Default value. */

Definition at line 38 of file fpu_control.h.

#define _FPU_GETCW (   cw)    __asm__ ("sts fpscr,%0" : "=r" (cw))

Definition at line 45 of file fpu_control.h.

#define _FPU_IEEE   0x00080f80 /* Default + exceptions enabled. */

Definition at line 39 of file fpu_control.h.

#define _FPU_MASK_IM   0x0080 /* Inexact operation */

Definition at line 28 of file fpu_control.h.

#define _FPU_MASK_OM   0x0200 /* Overflow */

Definition at line 26 of file fpu_control.h.

#define _FPU_MASK_UM   0x0100 /* Underflow */

Definition at line 27 of file fpu_control.h.

#define _FPU_MASK_VM   0x0800 /* Invalid operation */

Definition at line 24 of file fpu_control.h.

#define _FPU_MASK_ZM   0x0400 /* Division by zero */

Definition at line 25 of file fpu_control.h.

#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */

Definition at line 31 of file fpu_control.h.

#define _FPU_RC_ZERO   0x1

Definition at line 32 of file fpu_control.h.

#define _FPU_RESERVED   0xffc00000 /* These bits are reserved. */

Definition at line 34 of file fpu_control.h.

#define _FPU_SETCW (   cw)    __asm__ ("lds %0,fpscr" : : "r" (cw))

Definition at line 50 of file fpu_control.h.


Typedef Documentation

typedef unsigned int fpu_control_t

Definition at line 42 of file fpu_control.h.


Variable Documentation

Definition at line 25 of file fpu_control.c.