Searched refs:SP_FBITS (Results 1 – 15 of 15) sorted by relevance
43 qbit = (SPMANT(x) & SP_MBIT(SP_FBITS - 1)) == SP_MBIT(SP_FBITS - 1); in ieee754sp_issnan()58 SPMANT(r) |= SP_MBIT(SP_FBITS - 1); in ieee754sp_nanxcpt()60 SPMANT(r) &= ~SP_MBIT(SP_FBITS - 1); in ieee754sp_nanxcpt()62 SPMANT(r) |= SP_MBIT(SP_FBITS - 2); in ieee754sp_nanxcpt()103 assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no excess */ in ieee754sp_format()132 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) in ieee754sp_format()161 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_format()170 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()203 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()
65 if (xe > SP_FBITS) { in ieee754sp_tlong()66 xm <<= xe - SP_FBITS; in ieee754sp_tlong()67 } else if (xe < SP_FBITS) { in ieee754sp_tlong()74 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong()77 xm >>= SP_FBITS - xe; in ieee754sp_tlong()
48 xe = SP_FBITS + 3; in ieee754sp_fint()50 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_fint()53 while (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_fint()59 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_fint()
48 xe = SP_FBITS + 3; in ieee754sp_flong()50 if (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_flong()53 while (xm >> (SP_FBITS + 1 + 3)) { in ieee754sp_flong()58 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_flong()
32 #define SP_FBITS 23 macro36 #define SP_HIDDEN_BIT SP_MBIT(SP_FBITS)54 ((rs > (SP_FBITS+3))?1:((v) >> (rs)) | ((v) << (32-(rs)) != 0))67 while ((m >> SP_FBITS) == 0) { m <<= 1; e--; }79 assert(((m) >> SP_FBITS) == 0); in buildsp()
125 xm <<= 32 - (SP_FBITS + 1); in ieee754sp_mul()126 ym <<= 32 - (SP_FBITS + 1); in ieee754sp_mul()157 rm = (rm >> (32 - (SP_FBITS + 1 + 3))) | in ieee754sp_mul()158 ((rm << (SP_FBITS + 1 + 3)) != 0); in ieee754sp_mul()161 rm = (rm >> (32 - (SP_FBITS + 1 + 3 + 1))) | in ieee754sp_mul()162 ((rm << (SP_FBITS + 1 + 3 + 1)) != 0); in ieee754sp_mul()
65 if (xe > SP_FBITS) { in ieee754sp_tint()66 xm <<= xe - SP_FBITS; in ieee754sp_tint()78 residue <<= 31 - SP_FBITS; in ieee754sp_tint()81 xm >>= SP_FBITS - xe; in ieee754sp_tint()
28 xm << (DP_FBITS - SP_FBITS)); in ieee754dp_nan_fsp()56 while ((xm >> SP_FBITS) == 0) { in ieee754dp_fsp()74 (u64) xm << (DP_FBITS - SP_FBITS)); in ieee754dp_fsp()
48 if (xe >= SP_FBITS) in ieee754sp_rint()58 residue <<= 31 - SP_FBITS; in ieee754sp_rint()61 xm >>= SP_FBITS - xe; in ieee754sp_rint()
28 xm >> (DP_FBITS - SP_FBITS)); in ieee754sp_nan_fdp()82 rm = (xm >> (DP_FBITS - (SP_FBITS + 3))) | in ieee754sp_fdp()83 ((xm << (64 - (DP_FBITS - (SP_FBITS + 3)))) != 0); in ieee754sp_fdp()
85 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()96 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()102 for (i = SP_FBITS - 1; i >= 0; i--) in ieee754sp_dump()
131 for (bm = SP_MBIT(SP_FBITS + 2); bm; bm >>= 1) { in ieee754sp_div()149 while ((rm >> (SP_FBITS + 3)) == 0) { in ieee754sp_div()
156 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_sub()174 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_sub()
154 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_add()170 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_add()
73 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \