Home
last modified time | relevance | path

Searched refs:SP_FBITS (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/arch/mips/math-emu/
Dieee754sp.c43 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()
Dsp_tlong.c65 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()
Dsp_fint.c48 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()
Dsp_flong.c48 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()
Dieee754sp.h32 #define SP_FBITS 23 macro
36 #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()
Dsp_mul.c125 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()
Dsp_tint.c65 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()
Ddp_fsp.c28 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()
Dsp_rint.c48 if (xe >= SP_FBITS) in ieee754sp_rint()
58 residue <<= 31 - SP_FBITS; in ieee754sp_rint()
61 xm >>= SP_FBITS - xe; in ieee754sp_rint()
Dsp_fdp.c28 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()
Dieee754d.c85 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()
Dsp_div.c131 for (bm = SP_MBIT(SP_FBITS + 2); bm; bm >>= 1) { in ieee754sp_div()
149 while ((rm >> (SP_FBITS + 3)) == 0) { in ieee754sp_div()
Dsp_sub.c156 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_sub()
174 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_sub()
Dsp_add.c154 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */ in ieee754sp_add()
170 while ((xm >> (SP_FBITS + 3)) == 0) { in ieee754sp_add()
Dieee754int.h73 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \