Linux Kernel
3.7.1
|
#include "ieee754.h"
Go to the source code of this file.
Macros | |
#define | DP_EBIAS 1023 |
#define | DP_EMIN (-1022) |
#define | DP_EMAX 1023 |
#define | DP_MBITS 52 |
#define | SP_EBIAS 127 |
#define | SP_EMIN (-126) |
#define | SP_EMAX 127 |
#define | SP_MBITS 23 |
#define | DP_MBIT(x) ((u64)1 << (x)) |
#define | DP_HIDDEN_BIT DP_MBIT(DP_MBITS) |
#define | DP_SIGN_BIT DP_MBIT(63) |
#define | SP_MBIT(x) ((u32)1 << (x)) |
#define | SP_HIDDEN_BIT SP_MBIT(SP_MBITS) |
#define | SP_SIGN_BIT SP_MBIT(31) |
#define | SPSIGN(sp) (sp.parts.sign) |
#define | SPBEXP(sp) (sp.parts.bexp) |
#define | SPMANT(sp) (sp.parts.mant) |
#define | DPSIGN(dp) (dp.parts.sign) |
#define | DPBEXP(dp) (dp.parts.bexp) |
#define | DPMANT(dp) (dp.parts.mant) |
#define | CLPAIR(x, y) ((x)*6+(y)) |
#define | CLEARCX (ieee754_csr.cx = 0) |
#define | SETCX(x) (ieee754_csr.cx |= (x), ieee754_csr.sx |= (x)) |
#define | SETANDTESTCX(x) (SETCX(x), ieee754_csr.mx & (x)) |
#define | TSTX() (ieee754_csr.cx & ieee754_csr.mx) |
#define | COMPXSP unsigned xm; int xe; int xs __maybe_unused; int xc |
#define | COMPYSP unsigned ym; int ye; int ys; int yc |
#define | EXPLODESP(v, vc, vs, ve, vm) |
#define | EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm) |
#define | EXPLODEYSP EXPLODESP(y, yc, ys, ye, ym) |
#define | COMPXDP u64 xm; int xe; int xs __maybe_unused; int xc |
#define | COMPYDP u64 ym; int ye; int ys; int yc |
#define | EXPLODEDP(v, vc, vs, ve, vm) |
#define | EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm) |
#define | EXPLODEYDP EXPLODEDP(y, yc, ys, ye, ym) |
#define | FLUSHDP(v, vc, vs, ve, vm) |
#define | FLUSHSP(v, vc, vs, ve, vm) |
#define | FLUSHXDP FLUSHDP(x, xc, xs, xe, xm) |
#define | FLUSHYDP FLUSHDP(y, yc, ys, ye, ym) |
#define | FLUSHXSP FLUSHSP(x, xc, xs, xe, xm) |
#define | FLUSHYSP FLUSHSP(y, yc, ys, ye, ym) |
#define CLEARCX (ieee754_csr.cx = 0) |
Definition at line 59 of file ieee754int.h.
Definition at line 106 of file ieee754int.h.
Definition at line 72 of file ieee754int.h.
#define DP_EBIAS 1023 |
Definition at line 30 of file ieee754int.h.
#define DP_EMAX 1023 |
Definition at line 32 of file ieee754int.h.
#define DP_EMIN (-1022) |
Definition at line 31 of file ieee754int.h.
Definition at line 41 of file ieee754int.h.
Definition at line 40 of file ieee754int.h.
#define DP_MBITS 52 |
Definition at line 33 of file ieee754int.h.
#define DP_SIGN_BIT DP_MBIT(63) |
Definition at line 42 of file ieee754int.h.
#define DPBEXP | ( | dp | ) | (dp.parts.bexp) |
Definition at line 54 of file ieee754int.h.
#define DPMANT | ( | dp | ) | (dp.parts.mant) |
Definition at line 55 of file ieee754int.h.
#define DPSIGN | ( | dp | ) | (dp.parts.sign) |
Definition at line 53 of file ieee754int.h.
Definition at line 112 of file ieee754int.h.
Definition at line 78 of file ieee754int.h.
Definition at line 139 of file ieee754int.h.
Definition at line 150 of file ieee754int.h.
#define SETANDTESTCX | ( | x | ) | (SETCX(x), ieee754_csr.mx & (x)) |
Definition at line 65 of file ieee754int.h.
#define SETCX | ( | x | ) | (ieee754_csr.cx |= (x), ieee754_csr.sx |= (x)) |
Definition at line 62 of file ieee754int.h.
#define SP_EBIAS 127 |
Definition at line 35 of file ieee754int.h.
#define SP_EMAX 127 |
Definition at line 37 of file ieee754int.h.
#define SP_EMIN (-126) |
Definition at line 36 of file ieee754int.h.
Definition at line 45 of file ieee754int.h.
Definition at line 44 of file ieee754int.h.
#define SP_MBITS 23 |
Definition at line 38 of file ieee754int.h.
#define SP_SIGN_BIT SP_MBIT(31) |
Definition at line 46 of file ieee754int.h.
#define SPBEXP | ( | sp | ) | (sp.parts.bexp) |
Definition at line 50 of file ieee754int.h.
#define SPMANT | ( | sp | ) | (sp.parts.mant) |
Definition at line 51 of file ieee754int.h.
#define SPSIGN | ( | sp | ) | (sp.parts.sign) |
Definition at line 49 of file ieee754int.h.
#define TSTX | ( | ) | (ieee754_csr.cx & ieee754_csr.mx) |
Definition at line 68 of file ieee754int.h.