Searched refs:SP_FBITS (Results 1 – 15 of 15) sorted by relevance
31 qbit = (SPMANT(x) & SP_MBIT(SP_FBITS - 1)) == SP_MBIT(SP_FBITS - 1); in ieee754sp_issnan()46 SPMANT(r) |= SP_MBIT(SP_FBITS - 1); in ieee754sp_nanxcpt()48 SPMANT(r) &= ~SP_MBIT(SP_FBITS - 1); in ieee754sp_nanxcpt()50 SPMANT(r) |= SP_MBIT(SP_FBITS - 2); in ieee754sp_nanxcpt()91 assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no excess */ in ieee754sp_format()120 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) in ieee754sp_format()149 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_format()158 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()191 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()
53 if (xe > SP_FBITS) { in ieee754sp_tlong()54 xm <<= xe - SP_FBITS; in ieee754sp_tlong()55 } else if (xe < SP_FBITS) { in ieee754sp_tlong()62 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong()65 xm >>= SP_FBITS - xe; in ieee754sp_tlong()
36 xe = SP_FBITS + 3; in ieee754sp_fint()38 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_fint()41 while (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_fint()47 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_fint()
36 xe = SP_FBITS + 3; in ieee754sp_flong()38 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_flong()41 while (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_flong()46 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_flong()
20 #define SP_FBITS 23 macro24 #define SP_HIDDEN_BIT SP_MBIT(SP_FBITS)42 ((rs > (SP_FBITS+3))?1:((v) >> (rs)) | ((v) << (32-(rs)) != 0))55 while ((m >> SP_FBITS) == 0) { m <<= 1; e--; }67 assert(((m) >> SP_FBITS) == 0); in buildsp()
53 if (xe > SP_FBITS) { in ieee754sp_tint()54 xm <<= xe - SP_FBITS; in ieee754sp_tint()66 residue <<= 31 - SP_FBITS; in ieee754sp_tint()69 xm >>= SP_FBITS - xe; in ieee754sp_tint()
112 xm <<= 32 - (SP_FBITS + 1); in ieee754sp_mul()113 ym <<= 32 - (SP_FBITS + 1); in ieee754sp_mul()144 rm = (rm >> (32 - (SP_FBITS + 1 + 3))) | in ieee754sp_mul()145 ((rm << (SP_FBITS + 1 + 3)) != 0); in ieee754sp_mul()148 rm = (rm >> (32 - (SP_FBITS + 1 + 3 + 1))) | in ieee754sp_mul()149 ((rm << (SP_FBITS + 1 + 3 + 1)) != 0); in ieee754sp_mul()
16 xm << (DP_FBITS - SP_FBITS)); in ieee754dp_nan_fsp()44 while ((xm >> SP_FBITS) == 0) { in ieee754dp_fsp()62 (u64) xm << (DP_FBITS - SP_FBITS)); in ieee754dp_fsp()
37 if (xe >= SP_FBITS) in ieee754sp_rint()47 residue <<= 31 - SP_FBITS; in ieee754sp_rint()50 xm >>= SP_FBITS - xe; in ieee754sp_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()
73 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()84 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()90 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()
118 for (bm = SP_MBIT(SP_FBITS + 2); bm; bm >>= 1) { in ieee754sp_div()136 while ((rm >> (SP_FBITS + 3)) == 0) { in ieee754sp_div()
141 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_add()157 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_add()
143 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_sub()161 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_sub()
62 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \