Back to index

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

Go to the source code of this file.

Defines

#define _FPU_MASK_IM   0x01
#define _FPU_MASK_DM   0x02
#define _FPU_MASK_ZM   0x04
#define _FPU_MASK_OM   0x08
#define _FPU_MASK_UM   0x10
#define _FPU_MASK_PM   0x20
#define _FPU_EXTENDED   0x300 /* libm requires double extended precision. */
#define _FPU_DOUBLE   0x200
#define _FPU_SINGLE   0x0
#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */
#define _FPU_RC_DOWN   0x400
#define _FPU_RC_UP   0x800
#define _FPU_RC_ZERO   0xC00
#define _FPU_RESERVED   0xF0C0 /* Reserved bits in cw */
#define _FPU_DEFAULT   0x037f
#define _FPU_IEEE   0x037f
#define _FPU_GETCW(cw)   __asm__ __volatile__ ("fnstcw %0" : "=m" (*&cw))
#define _FPU_SETCW(cw)   __asm__ __volatile__ ("fldcw %0" : : "m" (*&cw))

Typedefs

typedef unsigned int fpu_control_t __attribute__ ((__mode__(__HI__)))

Variables

fpu_control_t __fpu_control

Define Documentation

#define _FPU_DEFAULT   0x037f

Definition at line 83 of file fpu_control.h.

#define _FPU_DOUBLE   0x200

Definition at line 68 of file fpu_control.h.

#define _FPU_EXTENDED   0x300 /* libm requires double extended precision. */

Definition at line 67 of file fpu_control.h.

#define _FPU_GETCW (   cw)    __asm__ __volatile__ ("fnstcw %0" : "=m" (*&cw))

Definition at line 96 of file fpu_control.h.

#define _FPU_IEEE   0x037f

Definition at line 86 of file fpu_control.h.

#define _FPU_MASK_DM   0x02

Definition at line 60 of file fpu_control.h.

#define _FPU_MASK_IM   0x01

Definition at line 59 of file fpu_control.h.

#define _FPU_MASK_OM   0x08

Definition at line 62 of file fpu_control.h.

#define _FPU_MASK_PM   0x20

Definition at line 64 of file fpu_control.h.

#define _FPU_MASK_UM   0x10

Definition at line 63 of file fpu_control.h.

#define _FPU_MASK_ZM   0x04

Definition at line 61 of file fpu_control.h.

#define _FPU_RC_DOWN   0x400

Definition at line 73 of file fpu_control.h.

#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */

Definition at line 72 of file fpu_control.h.

#define _FPU_RC_UP   0x800

Definition at line 74 of file fpu_control.h.

#define _FPU_RC_ZERO   0xC00

Definition at line 75 of file fpu_control.h.

#define _FPU_RESERVED   0xF0C0 /* Reserved bits in cw */

Definition at line 77 of file fpu_control.h.

#define _FPU_SETCW (   cw)    __asm__ __volatile__ ("fldcw %0" : : "m" (*&cw))

Definition at line 97 of file fpu_control.h.

#define _FPU_SINGLE   0x0

Definition at line 69 of file fpu_control.h.


Typedef Documentation

typedef unsigned int fpu_control_t __attribute__((__mode__(__HI__)))

Definition at line 89 of file fpu_control.h.


Variable Documentation

Definition at line 25 of file fpu_control.c.