Back to index

glibc  2.9
Defines | Typedefs | Variables
fpu_control.h File Reference
#include <features.h>

Go to the source code of this file.

Defines

#define _FPU_MASK_BSUN   0x8000
#define _FPU_MASK_SNAN   0x4000
#define _FPU_MASK_OPERR   0x2000
#define _FPU_MASK_OVFL   0x1000
#define _FPU_MASK_UNFL   0x0800
#define _FPU_MASK_DZ   0x0400
#define _FPU_MASK_INEX1   0x0200
#define _FPU_MASK_INEX2   0x0100
#define _FPU_EXTENDED   0x00 /* RECOMMENDED */
#define _FPU_DOUBLE   0x80
#define _FPU_SINGLE   0x40 /* DO NOT USE */
#define _FPU_RC_NEAREST   0x00 /* RECOMMENDED */
#define _FPU_RC_ZERO   0x10
#define _FPU_RC_DOWN   0x20
#define _FPU_RC_UP   0x30
#define _FPU_RESERVED   0xFFFF000F /* Reserved bits in fpucr */
#define _FPU_DEFAULT   0x00000000
#define _FPU_IEEE   0x00000001
#define _FPU_GETCW(cw)   __asm__ ("fmove%.l %!, %0" : "=dm" (cw))
#define _FPU_SETCW(cw)   __asm__ volatile ("fmove%.l %0, %!" : : "dm" (cw))

Typedefs

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

Variables

fpu_control_t __fpu_control

Define Documentation

#define _FPU_DEFAULT   0x00000000

Definition at line 93 of file fpu_control.h.

#define _FPU_DOUBLE   0x80

Definition at line 72 of file fpu_control.h.

#define _FPU_EXTENDED   0x00 /* RECOMMENDED */

Definition at line 71 of file fpu_control.h.

#define _FPU_GETCW (   cw)    __asm__ ("fmove%.l %!, %0" : "=dm" (cw))

Definition at line 103 of file fpu_control.h.

#define _FPU_IEEE   0x00000001

Definition at line 97 of file fpu_control.h.

#define _FPU_MASK_BSUN   0x8000

Definition at line 58 of file fpu_control.h.

#define _FPU_MASK_DZ   0x0400

Definition at line 63 of file fpu_control.h.

#define _FPU_MASK_INEX1   0x0200

Definition at line 64 of file fpu_control.h.

#define _FPU_MASK_INEX2   0x0100

Definition at line 65 of file fpu_control.h.

#define _FPU_MASK_OPERR   0x2000

Definition at line 60 of file fpu_control.h.

#define _FPU_MASK_OVFL   0x1000

Definition at line 61 of file fpu_control.h.

#define _FPU_MASK_SNAN   0x4000

Definition at line 59 of file fpu_control.h.

#define _FPU_MASK_UNFL   0x0800

Definition at line 62 of file fpu_control.h.

#define _FPU_RC_DOWN   0x20

Definition at line 79 of file fpu_control.h.

#define _FPU_RC_NEAREST   0x00 /* RECOMMENDED */

Definition at line 77 of file fpu_control.h.

#define _FPU_RC_UP   0x30

Definition at line 80 of file fpu_control.h.

#define _FPU_RC_ZERO   0x10

Definition at line 78 of file fpu_control.h.

#define _FPU_RESERVED   0xFFFF000F /* Reserved bits in fpucr */

Definition at line 85 of file fpu_control.h.

#define _FPU_SETCW (   cw)    __asm__ volatile ("fmove%.l %0, %!" : : "dm" (cw))

Definition at line 104 of file fpu_control.h.

#define _FPU_SINGLE   0x40 /* DO NOT USE */

Definition at line 74 of file fpu_control.h.


Typedef Documentation

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

Definition at line 100 of file fpu_control.h.


Variable Documentation

Definition at line 25 of file fpu_control.c.