Back to index

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

Go to the source code of this file.

Defines

#define _FPU_MASK_V   0x0200 /* Invalid operation */
#define _FPU_MASK_Z   0x0100 /* Division by zero */
#define _FPU_MASK_O   0x0080 /* Overflow */
#define _FPU_MASK_U   0x0040 /* Underflow */
#define _FPU_MASK_I   0x0020 /* Inexact operation */
#define _FPU_RC_NEAREST   0x0 /* Only available mode */
#define _FPU_RESERVED   0xffc08000 /* Reserved bits in fpcr */
#define _FPU_DEFAULT   0x0000001f
#define _FPU_IEEE   0x000003ff
#define _FPU_SETFCW(cw)   __asm__ ("fmov %0,fpcr" : : "ri" (cw))
#define _FPU_SETCW(cw)   _FPU_SETFCW((cw) & ~FE_ALL_EXCEPT)
#define _FPU_GETCW(cw)   __asm__ ("fmov fpcr,%0" : "=r" (cw))

Typedefs

typedef unsigned int fpu_control_t

Variables

fpu_control_t __fpu_control

Define Documentation

#define _FPU_DEFAULT   0x0000001f

Definition at line 56 of file fpu_control.h.

#define _FPU_GETCW (   cw)    __asm__ ("fmov fpcr,%0" : "=r" (cw))

Definition at line 70 of file fpu_control.h.

#define _FPU_IEEE   0x000003ff

Definition at line 59 of file fpu_control.h.

#define _FPU_MASK_I   0x0020 /* Inexact operation */

Definition at line 45 of file fpu_control.h.

#define _FPU_MASK_O   0x0080 /* Overflow */

Definition at line 43 of file fpu_control.h.

#define _FPU_MASK_U   0x0040 /* Underflow */

Definition at line 44 of file fpu_control.h.

#define _FPU_MASK_V   0x0200 /* Invalid operation */

Definition at line 41 of file fpu_control.h.

#define _FPU_MASK_Z   0x0100 /* Division by zero */

Definition at line 42 of file fpu_control.h.

#define _FPU_RC_NEAREST   0x0 /* Only available mode */

Definition at line 48 of file fpu_control.h.

#define _FPU_RESERVED   0xffc08000 /* Reserved bits in fpcr */

Definition at line 50 of file fpu_control.h.

#define _FPU_SETCW (   cw)    _FPU_SETFCW((cw) & ~FE_ALL_EXCEPT)

Definition at line 69 of file fpu_control.h.

#define _FPU_SETFCW (   cw)    __asm__ ("fmov %0,fpcr" : : "ri" (cw))

Definition at line 68 of file fpu_control.h.


Typedef Documentation

typedef unsigned int fpu_control_t

Definition at line 62 of file fpu_control.h.


Variable Documentation

Definition at line 25 of file fpu_control.c.