Home
last modified time | relevance | path

Searched refs:SP_MBITS (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/arch/mips/math-emu/
Dsp_modf.c58 if (xe >= SP_MBITS) { in ieee754sp_modf()
65 ((xm >> (SP_MBITS - xe)) << (SP_MBITS - xe)) & in ieee754sp_modf()
71 xm = (xm << (32 - (SP_MBITS - xe))) >> (32 - (SP_MBITS - xe)); in ieee754sp_modf()
75 while ((xm >> SP_MBITS) == 0) { in ieee754sp_modf()
Dsp_tlong.c61 if (xe > SP_MBITS) { in ieee754sp_tlong()
62 xm <<= xe - SP_MBITS; in ieee754sp_tlong()
63 } else if (xe < SP_MBITS) { in ieee754sp_tlong()
76 residue = xm << (32 - SP_MBITS + xe); in ieee754sp_tlong()
79 xm >>= SP_MBITS - xe; in ieee754sp_tlong()
Dieee754sp.c45 return (SPMANT(x) & SP_MBIT(SP_MBITS-1)); in ieee754sp_issnan()
75 SPMANT(r) &= (~SP_MBIT(SP_MBITS-1)); in ieee754sp_nanxcpt()
137 assert((xm >> (SP_MBITS + 1 + 3)) == 0); /* no execess */ in ieee754sp_format()
167 && get_rounding(sn, xm) >> (SP_MBITS + 1 + 3)) in ieee754sp_format()
196 if (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_format()
205 assert((xm >> (SP_MBITS + 1)) == 0); /* no execess */ in ieee754sp_format()
238 assert((xm >> (SP_MBITS + 1)) == 0); /* no execess */ in ieee754sp_format()
Dsp_fint.c54 xe = SP_MBITS + 3; in ieee754sp_fint()
56 if (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_fint()
59 while (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_fint()
65 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_fint()
Dsp_flong.c54 xe = SP_MBITS + 3; in ieee754sp_flong()
56 if (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_flong()
59 while (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_flong()
64 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_flong()
Dsp_mul.c118 xm <<= 32 - (SP_MBITS + 1); in ieee754sp_mul()
119 ym <<= 32 - (SP_MBITS + 1); in ieee754sp_mul()
160 rm = (rm >> (32 - (SP_MBITS + 1 + 3))) | in ieee754sp_mul()
161 ((rm << (SP_MBITS + 1 + 3)) != 0); in ieee754sp_mul()
164 rm = (rm >> (32 - (SP_MBITS + 1 + 3 + 1))) | in ieee754sp_mul()
165 ((rm << (SP_MBITS + 1 + 3 + 1)) != 0); in ieee754sp_mul()
Dsp_tint.c62 if (xe > SP_MBITS) { in ieee754sp_tint()
63 xm <<= xe - SP_MBITS; in ieee754sp_tint()
81 residue <<= 31 - SP_MBITS; in ieee754sp_tint()
84 xm >>= SP_MBITS - xe; in ieee754sp_tint()
Ddp_fsp.c49 SP_MBITS))), "fsp", in ieee754dp_fsp()
57 while ((xm >> SP_MBITS) == 0) { in ieee754dp_fsp()
73 (u64) xm << (DP_MBITS - SP_MBITS)); in ieee754dp_fsp()
Dieee754sp.h36 xm = (rs > (SP_MBITS+3))?1:((xm) >> (rs)) | ((xm) << (32-(rs)) != 0))
43 ym = (rs > (SP_MBITS+3))?1:((ym) >> (rs)) | ((ym) << (32-(rs)) != 0))
50 while( (m >> SP_MBITS) == 0) { m <<= 1; e--; }
61 assert(((m) >> SP_MBITS) == 0); in buildsp()
Dsp_fdp.c47 (xm >> (DP_MBITS - SP_MBITS))); in ieee754sp_fdp()
72 rm = (xm >> (DP_MBITS - (SP_MBITS + 3))) | in ieee754sp_fdp()
73 ((xm << (64 - (DP_MBITS - (SP_MBITS + 3)))) != 0); in ieee754sp_fdp()
Dieee754int.h39 #define SP_MBITS 23 macro
46 #define SP_HIDDEN_BIT SP_MBIT(SP_MBITS)
87 else if(vm & SP_MBIT(SP_MBITS-1)) \
Dsp_div.c133 for (bm = SP_MBIT(SP_MBITS + 2); bm; bm >>= 1) { in ieee754sp_div()
150 while ((rm >> (SP_MBITS + 3)) == 0) { in ieee754sp_div()
Dsp_add.c152 if (xm >> (SP_MBITS + 1 + 3)) { /* carry out */ in ieee754sp_add()
170 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_add()
Dsp_sub.c157 if (xm >> (SP_MBITS + 1 + 3)) { /* carry out */ in ieee754sp_sub()
178 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_sub()