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

/linux-master/arch/mips/math-emu/
H A Dsp_fint.c36 xe = SP_FBITS + 3;
38 if (xm >> (SP_FBITS + 1 + 3)) {
41 while (xm >> (SP_FBITS + 1 + 3)) {
47 while ((xm >> (SP_FBITS + 3)) == 0) {
H A Dsp_flong.c36 xe = SP_FBITS + 3;
38 if (xm >> (SP_FBITS + 1 + 3)) {
41 while (xm >> (SP_FBITS + 1 + 3)) {
46 while ((xm >> (SP_FBITS + 3)) == 0) {
H A Ddp_fsp.c16 xm << (DP_FBITS - SP_FBITS));
44 while ((xm >> SP_FBITS) == 0) {
62 (u64) xm << (DP_FBITS - SP_FBITS));
H A Dieee754sp.c31 qbit = (SPMANT(x) & SP_MBIT(SP_FBITS - 1)) == SP_MBIT(SP_FBITS - 1);
46 SPMANT(r) |= SP_MBIT(SP_FBITS - 1);
48 SPMANT(r) &= ~SP_MBIT(SP_FBITS - 1);
50 SPMANT(r) |= SP_MBIT(SP_FBITS - 2);
91 assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no excess */
120 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3))
149 if (xm >> (SP_FBITS + 1 + 3)) {
158 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */
191 assert((xm >> (SP_FBITS
[all...]
H A Dieee754sp.h20 #define SP_FBITS 23 macro
24 #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);
H A Dsp_tlong.c53 if (xe > SP_FBITS) {
54 xm <<= xe - SP_FBITS;
55 } else if (xe < SP_FBITS) {
62 residue = xm << (32 - SP_FBITS + xe);
65 xm >>= SP_FBITS - xe;
H A Dsp_rint.c37 if (xe >= SP_FBITS)
47 residue <<= 31 - SP_FBITS;
50 xm >>= SP_FBITS - xe;
H A Dsp_fdp.c16 xm >> (DP_FBITS - SP_FBITS));
67 * Convert from DP_FBITS to SP_FBITS+3 with sticky right shift.
69 rm = (xm >> (DP_FBITS - (SP_FBITS + 3))) |
70 ((xm << (64 - (DP_FBITS - (SP_FBITS + 3)))) != 0);
H A Dsp_tint.c53 if (xe > SP_FBITS) {
54 xm <<= xe - SP_FBITS;
66 residue <<= 31 - SP_FBITS;
69 xm >>= SP_FBITS - xe;
H A Dsp_mul.c112 xm <<= 32 - (SP_FBITS + 1);
113 ym <<= 32 - (SP_FBITS + 1);
144 rm = (rm >> (32 - (SP_FBITS + 1 + 3))) |
145 ((rm << (SP_FBITS + 1 + 3)) != 0);
148 rm = (rm >> (32 - (SP_FBITS + 1 + 3 + 1))) |
149 ((rm << (SP_FBITS + 1 + 3 + 1)) != 0);
H A Dieee754d.c73 for (i = SP_FBITS - 1; i >= 0; i--)
84 for (i = SP_FBITS - 1; i >= 0; i--)
90 for (i = SP_FBITS - 1; i >= 0; i--)
H A Dsp_sub.c143 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */
161 while ((xm >> (SP_FBITS + 3)) == 0) {
H A Dsp_add.c141 if (xm >> (SP_FBITS + 1 + 3)) { /* carry out */
157 while ((xm >> (SP_FBITS + 3)) == 0) {
H A Dsp_div.c118 for (bm = SP_MBIT(SP_FBITS + 2); bm; bm >>= 1) {
136 while ((rm >> (SP_FBITS + 3)) == 0) {
H A Dieee754int.h62 else if (ieee754_csr.nan2008 ^ !(vm & SP_MBIT(SP_FBITS - 1))) \

Completed in 126 milliseconds