Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
reg_constant.c File Reference
#include "fpu_system.h"
#include "fpu_emu.h"
#include "status_w.h"
#include "reg_constant.h"
#include "control_w.h"

Go to the source code of this file.

Macros

#define MAKE_REG(s, e, l, h)
 
#define DOWN_OR_CHOP(x)   (x & RC_DOWN)
 

Typedefs

typedef void(* FUNC_RC )(int)
 

Functions

void fconst (void)
 

Variables

FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000)
 
FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2)
 
FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2)
 
FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2)
 
FPU_REG const CONST_PI2extra
 
FPU_REG const CONST_Z = MAKE_REG(POS, EXP_UNDER, 0x0, 0x0)
 
FPU_REG const CONST_QNaN = MAKE_REG(NEG, EXP_OVER, 0x00000000, 0xC0000000)
 
FPU_REG const CONST_INF = MAKE_REG(POS, EXP_OVER, 0x00000000, 0x80000000)
 

Macro Definition Documentation

#define DOWN_OR_CHOP (   x)    (x & RC_DOWN)

Definition at line 71 of file reg_constant.c.

#define MAKE_REG (   s,
  e,
  l,
  h 
)
Value:
{ l, h, \
((EXTENDED_Ebias+(e)) | ((SIGN_##s != 0)*0x8000)) }

Definition at line 19 of file reg_constant.c.

Typedef Documentation

typedef void(* FUNC_RC)(int)

Definition at line 108 of file reg_constant.c.

Function Documentation

void fconst ( void  )

Definition at line 114 of file reg_constant.c.

Variable Documentation

FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000)

Definition at line 22 of file reg_constant.c.

FPU_REG const CONST_INF = MAKE_REG(POS, EXP_OVER, 0x00000000, 0x80000000)

Definition at line 50 of file reg_constant.c.

FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2)

Definition at line 29 of file reg_constant.c.

FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2)

Definition at line 30 of file reg_constant.c.

FPU_REG const CONST_PI2extra
Initial value:
= MAKE_REG(NEG, -66,
0xfc8f8cbb, 0xece675d1)

Definition at line 36 of file reg_constant.c.

FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2)

Definition at line 31 of file reg_constant.c.

FPU_REG const CONST_QNaN = MAKE_REG(NEG, EXP_OVER, 0x00000000, 0xC0000000)

Definition at line 47 of file reg_constant.c.

FPU_REG const CONST_Z = MAKE_REG(POS, EXP_UNDER, 0x0, 0x0)

Definition at line 40 of file reg_constant.c.