Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/math-emu/
Dsp_modf.c57 if (xe >= SP_MBITS) { in ieee754sp_modf()
64 ((xm >> (SP_MBITS - xe)) << (SP_MBITS - xe)) & in ieee754sp_modf()
70 xm = (xm << (32 - (SP_MBITS - xe))) >> (32 - (SP_MBITS - xe)); in ieee754sp_modf()
74 while ((xm >> SP_MBITS) == 0) { in ieee754sp_modf()
Dsp_tlong.c60 if (xe > SP_MBITS) { in ieee754sp_tlong()
61 xm <<= xe - SP_MBITS; in ieee754sp_tlong()
62 } else if (xe < SP_MBITS) { in ieee754sp_tlong()
74 residue = xm << (32 - SP_MBITS + xe); in ieee754sp_tlong()
77 xm >>= SP_MBITS - xe; in ieee754sp_tlong()
Dsp_fint.c53 xe = SP_MBITS + 3; in ieee754sp_fint()
55 if (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_fint()
58 while (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_fint()
64 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_fint()
Dsp_flong.c53 xe = SP_MBITS + 3; in ieee754sp_flong()
55 if (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_flong()
58 while (xm >> (SP_MBITS + 1 + 3)) { in ieee754sp_flong()
63 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_flong()
Dieee754sp.c44 return (SPMANT(x) & SP_MBIT(SP_MBITS-1)); in ieee754sp_issnan()
75 SPMANT(r) &= (~SP_MBIT(SP_MBITS-1)); in ieee754sp_nanxcpt()
138 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_mul.c117 xm <<= 32 - (SP_MBITS + 1); in ieee754sp_mul()
118 ym <<= 32 - (SP_MBITS + 1); in ieee754sp_mul()
159 rm = (rm >> (32 - (SP_MBITS + 1 + 3))) | in ieee754sp_mul()
160 ((rm << (SP_MBITS + 1 + 3)) != 0); in ieee754sp_mul()
163 rm = (rm >> (32 - (SP_MBITS + 1 + 3 + 1))) | in ieee754sp_mul()
164 ((rm << (SP_MBITS + 1 + 3 + 1)) != 0); in ieee754sp_mul()
Dsp_tint.c61 if (xe > SP_MBITS) { in ieee754sp_tint()
62 xm <<= xe - SP_MBITS; in ieee754sp_tint()
79 residue <<= 31 - SP_MBITS; in ieee754sp_tint()
82 xm >>= SP_MBITS - xe; in ieee754sp_tint()
Ddp_fsp.c48 SP_MBITS))), "fsp", in ieee754dp_fsp()
56 while ((xm >> SP_MBITS) == 0) { in ieee754dp_fsp()
72 (u64) xm << (DP_MBITS - SP_MBITS)); in ieee754dp_fsp()
Dieee754sp.h35 xm = (rs > (SP_MBITS+3))?1:((xm) >> (rs)) | ((xm) << (32-(rs)) != 0))
42 ym = (rs > (SP_MBITS+3))?1:((ym) >> (rs)) | ((ym) << (32-(rs)) != 0))
49 while( (m >> SP_MBITS) == 0) { m <<= 1; e--; }
60 assert(((m) >> SP_MBITS) == 0); in buildsp()
Dsp_fdp.c46 (xm >> (DP_MBITS - SP_MBITS))); in ieee754sp_fdp()
71 rm = (xm >> (DP_MBITS - (SP_MBITS + 3))) | in ieee754sp_fdp()
72 ((xm << (64 - (DP_MBITS - (SP_MBITS + 3)))) != 0); in ieee754sp_fdp()
Dieee754int.h38 #define SP_MBITS 23 macro
45 #define SP_HIDDEN_BIT SP_MBIT(SP_MBITS)
86 else if(vm & SP_MBIT(SP_MBITS-1)) \
Dsp_div.c132 for (bm = SP_MBIT(SP_MBITS + 2); bm; bm >>= 1) { in ieee754sp_div()
149 while ((rm >> (SP_MBITS + 3)) == 0) { in ieee754sp_div()
Dsp_add.c151 if (xm >> (SP_MBITS + 1 + 3)) { /* carry out */ in ieee754sp_add()
169 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_add()
Dsp_sub.c156 if (xm >> (SP_MBITS + 1 + 3)) { /* carry out */ in ieee754sp_sub()
177 while ((xm >> (SP_MBITS + 3)) == 0) { in ieee754sp_sub()