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_V   0x0800 /* Invalid operation */
#define _FPU_MASK_Z   0x0400 /* Division by zero */
#define _FPU_MASK_O   0x0200 /* Overflow */
#define _FPU_MASK_U   0x0100 /* Underflow */
#define _FPU_MASK_I   0x0080 /* Inexact operation */
#define _FPU_FLUSH_TZ   0x1000000
#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */
#define _FPU_RC_ZERO   0x1
#define _FPU_RC_UP   0x2
#define _FPU_RC_DOWN   0x3
#define _FPU_RESERVED   0xfe3c0000 /* Reserved bits in cw */
#define _FPU_DEFAULT   0x00000000
#define _FPU_IEEE   0x00000F80
#define _FPU_GETCW(cw)   __asm__ volatile ("cfc1 %0,$31" : "=r" (cw))
#define _FPU_SETCW(cw)   __asm__ volatile ("ctc1 %0,$31" : : "r" (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 95 of file fpu_control.h.

#define _FPU_FLUSH_TZ   0x1000000

Definition at line 81 of file fpu_control.h.

#define _FPU_GETCW (   cw)    __asm__ volatile ("cfc1 %0,$31" : "=r" (cw))

Definition at line 104 of file fpu_control.h.

#define _FPU_IEEE   0x00000F80

Definition at line 98 of file fpu_control.h.

#define _FPU_MASK_I   0x0080 /* Inexact operation */

Definition at line 78 of file fpu_control.h.

#define _FPU_MASK_O   0x0200 /* Overflow */

Definition at line 76 of file fpu_control.h.

#define _FPU_MASK_U   0x0100 /* Underflow */

Definition at line 77 of file fpu_control.h.

#define _FPU_MASK_V   0x0800 /* Invalid operation */

Definition at line 74 of file fpu_control.h.

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

Definition at line 75 of file fpu_control.h.

#define _FPU_RC_DOWN   0x3

Definition at line 87 of file fpu_control.h.

#define _FPU_RC_NEAREST   0x0 /* RECOMMENDED */

Definition at line 84 of file fpu_control.h.

#define _FPU_RC_UP   0x2

Definition at line 86 of file fpu_control.h.

#define _FPU_RC_ZERO   0x1

Definition at line 85 of file fpu_control.h.

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

Definition at line 89 of file fpu_control.h.

#define _FPU_SETCW (   cw)    __asm__ volatile ("ctc1 %0,$31" : : "r" (cw))

Definition at line 105 of file fpu_control.h.


Typedef Documentation

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

Definition at line 101 of file fpu_control.h.


Variable Documentation

Definition at line 25 of file fpu_control.c.