Home
last modified time | relevance | path

Searched refs:DP_FBITS (Results 1 – 16 of 16) sorted by relevance

/linux/arch/mips/math-emu/
H A Dieee754dp.c31 qbit = (DPMANT(x) & DP_MBIT(DP_FBITS - 1)) == DP_MBIT(DP_FBITS - 1); in ieee754dp_issnan()
46 DPMANT(r) |= DP_MBIT(DP_FBITS - 1); in ieee754dp_nanxcpt()
48 DPMANT(r) &= ~DP_MBIT(DP_FBITS - 1); in ieee754dp_nanxcpt()
50 DPMANT(r) |= DP_MBIT(DP_FBITS - 2); in ieee754dp_nanxcpt()
91 assert((xm >> (DP_FBITS + 1 + 3)) == 0); /* no excess */ in ieee754dp_format()
120 ieee754dp_get_rounding(sn, xm) >> (DP_FBITS + 1 + 3)) in ieee754dp_format()
150 if (xm >> (DP_FBITS + 3 + 1)) { in ieee754dp_format()
159 assert((xm >> (DP_FBITS + 1)) == 0); /* no excess */ in ieee754dp_format()
192 assert((xm >> (DP_FBITS + 1)) == 0); /* no excess */ in ieee754dp_format()
H A Ddp_tint.c50 if (xe > DP_FBITS) { in ieee754dp_tint()
51 xm <<= xe - DP_FBITS; in ieee754dp_tint()
52 } else if (xe < DP_FBITS) { in ieee754dp_tint()
59 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_tint()
62 xm >>= DP_FBITS - xe; in ieee754dp_tint()
H A Ddp_tlong.c53 if (xe > DP_FBITS) { in ieee754dp_tlong()
54 xm <<= xe - DP_FBITS; in ieee754dp_tlong()
55 } else if (xe < DP_FBITS) { in ieee754dp_tlong()
66 residue <<= 63 - DP_FBITS; in ieee754dp_tlong()
69 xm >>= DP_FBITS - xe; in ieee754dp_tlong()
H A Dieee754dp.h20 #define DP_FBITS 52 macro
24 #define DP_HIDDEN_BIT DP_MBIT(DP_FBITS)
38 ((rs > (DP_FBITS+3))?1:((v) >> (rs)) | ((v) << (64-(rs)) != 0))
51 while ((m >> DP_FBITS) == 0) { m <<= 1; e--; }
63 assert(((m) >> DP_FBITS) == 0); in builddp()
H A Ddp_flong.c38 xe = DP_FBITS + 3; in ieee754dp_flong()
39 if (xm >> (DP_FBITS + 1 + 3)) { in ieee754dp_flong()
41 while (xm >> (DP_FBITS + 1 + 3)) { in ieee754dp_flong()
46 while ((xm >> (DP_FBITS + 3)) == 0) { in ieee754dp_flong()
H A Ddp_mul.c112 xm <<= 64 - (DP_FBITS + 1); in ieee754dp_mul()
113 ym <<= 64 - (DP_FBITS + 1); in ieee754dp_mul()
149 rm = (rm >> (64 - (DP_FBITS + 1 + 3))) | in ieee754dp_mul()
150 ((rm << (DP_FBITS + 1 + 3)) != 0); in ieee754dp_mul()
153 rm = (rm >> (64 - (DP_FBITS + 1 + 3 + 1))) | in ieee754dp_mul()
154 ((rm << (DP_FBITS + 1 + 3 + 1)) != 0); in ieee754dp_mul()
H A Ddp_rint.c37 if (xe >= DP_FBITS) in ieee754dp_rint()
46 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_rint()
49 xm >>= DP_FBITS - xe; in ieee754dp_rint()
H A Dsp_fdp.c16 xm >> (DP_FBITS - SP_FBITS)); in ieee754sp_nan_fdp()
69 rm = (xm >> (DP_FBITS - (SP_FBITS + 3))) | in ieee754sp_fdp()
70 ((xm << (64 - (DP_FBITS - (SP_FBITS + 3)))) != 0); in ieee754sp_fdp()
H A Dieee754d.c34 for (i = DP_FBITS - 1; i >= 0; i--) in ieee754dp_dump()
45 for (i = DP_FBITS - 1; i >= 0; i--) in ieee754dp_dump()
51 for (i = DP_FBITS - 1; i >= 0; i--) in ieee754dp_dump()
H A Ddp_fint.c38 xe = DP_FBITS; in ieee754dp_fint()
39 while ((xm >> DP_FBITS) == 0) { in ieee754dp_fint()
H A Ddp_fsp.c16 xm << (DP_FBITS - SP_FBITS)); in ieee754dp_nan_fsp()
62 (u64) xm << (DP_FBITS - SP_FBITS)); in ieee754dp_fsp()
H A Ddp_div.c118 for (bm = DP_MBIT(DP_FBITS + 2); bm; bm >>= 1) { in ieee754dp_div()
137 while ((rm >> (DP_FBITS + 3)) == 0) { in ieee754dp_div()
H A Ddp_sub.c145 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ in ieee754dp_sub()
165 while ((xm >> (DP_FBITS + 3)) == 0) { in ieee754dp_sub()
H A Ddp_add.c141 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ in ieee754dp_add()
158 while ((xm >> (DP_FBITS + 3)) == 0) { in ieee754dp_add()
H A Ddp_maddf.c187 xm <<= 64 - (DP_FBITS + 1); in _dp_maddf()
188 ym <<= 64 - (DP_FBITS + 1); in _dp_maddf()
H A Dieee754int.h100 else if (ieee754_csr.nan2008 ^ !(vm & DP_MBIT(DP_FBITS - 1))) \