Searched refs:DP_FBITS (Results 1 – 16 of 16) sorted by relevance
31 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()
50 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()
53 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()
20 #define DP_FBITS 52 macro24 #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()
38 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()
112 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()
37 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()
16 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()
34 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()
38 xe = DP_FBITS; in ieee754dp_fint()39 while ((xm >> DP_FBITS) == 0) { in ieee754dp_fint()
16 xm << (DP_FBITS - SP_FBITS)); in ieee754dp_nan_fsp()62 (u64) xm << (DP_FBITS - SP_FBITS)); in ieee754dp_fsp()
118 for (bm = DP_MBIT(DP_FBITS + 2); bm; bm >>= 1) { in ieee754dp_div()137 while ((rm >> (DP_FBITS + 3)) == 0) { in ieee754dp_div()
145 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ in ieee754dp_sub()165 while ((xm >> (DP_FBITS + 3)) == 0) { in ieee754dp_sub()
141 if (xm >> (DP_FBITS + 1 + 3)) { /* carry out */ in ieee754dp_add()158 while ((xm >> (DP_FBITS + 3)) == 0) { in ieee754dp_add()
187 xm <<= 64 - (DP_FBITS + 1); in _dp_maddf()188 ym <<= 64 - (DP_FBITS + 1); in _dp_maddf()
100 else if (ieee754_csr.nan2008 ^ !(vm & DP_MBIT(DP_FBITS - 1))) \