Home
last modified time | relevance | path

Searched refs:inexact (Results 1 – 25 of 33) sorted by relevance

12

/arch/parisc/math-emu/
Dfcnvfu.c67 register boolean inexact = FALSE; in sgl_to_sgl_fcnvfu() local
110 inexact = TRUE; in sgl_to_sgl_fcnvfu()
132 inexact = TRUE; in sgl_to_sgl_fcnvfu()
147 inexact = FALSE; in sgl_to_sgl_fcnvfu()
159 inexact = FALSE; in sgl_to_sgl_fcnvfu()
168 if (inexact) { in sgl_to_sgl_fcnvfu()
188 register boolean inexact = FALSE; in sgl_to_dbl_fcnvfu() local
231 inexact = TRUE; in sgl_to_dbl_fcnvfu()
253 inexact = TRUE; in sgl_to_dbl_fcnvfu()
268 inexact = FALSE; in sgl_to_dbl_fcnvfu()
[all …]
Ddenormal.c61 boolean guardbit = FALSE, stickybit, inexact; in sgl_denormalize() local
67 Sgl_denormalize(opnd,exponent,guardbit,stickybit,inexact); in sgl_denormalize()
68 if (inexact) { in sgl_denormalize()
90 *inexactflag = inexact; in sgl_denormalize()
102 boolean guardbit = FALSE, stickybit, inexact; in dbl_denormalize() local
109 Dbl_denormalize(opndp1,opndp2,exponent,guardbit,stickybit,inexact); in dbl_denormalize()
110 if (inexact) { in dbl_denormalize()
133 *inexactflag = inexact; in dbl_denormalize()
Dfcnvff.c149 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_to_sgl_fcnvff() local
197 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact,guardbit, in dbl_to_sgl_fcnvff()
207 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact, in dbl_to_sgl_fcnvff()
215 dest_mantissa,inexact,guardbit,stickybit,lsb_odd, in dbl_to_sgl_fcnvff()
222 if (inexact) { in dbl_to_sgl_fcnvff()
261 if (inexact) in dbl_to_sgl_fcnvff()
268 inexact = TRUE; in dbl_to_sgl_fcnvff()
288 if (inexact) in dbl_to_sgl_fcnvff()
297 if (inexact && is_tiny) Set_underflowflag(); in dbl_to_sgl_fcnvff()
305 if (inexact) in dbl_to_sgl_fcnvff()
Dfcnvfx.c66 register boolean inexact = FALSE; in sgl_to_sgl_fcnvfx() local
101 inexact = TRUE; in sgl_to_sgl_fcnvfx()
125 inexact = TRUE; in sgl_to_sgl_fcnvfx()
143 if (inexact) { in sgl_to_sgl_fcnvfx()
163 register boolean inexact = FALSE; in sgl_to_dbl_fcnvfx() local
207 inexact = TRUE; in sgl_to_dbl_fcnvfx()
238 inexact = TRUE; in sgl_to_dbl_fcnvfx()
264 if (inexact) { in sgl_to_dbl_fcnvfx()
284 register boolean inexact = FALSE; in dbl_to_sgl_fcnvfx() local
320 inexact = TRUE; in dbl_to_sgl_fcnvfx()
[all …]
Dsfmpy.c58 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in sgl_fmpy() local
240 inexact = guardbit | stickybit; in sgl_fmpy()
248 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in sgl_fmpy()
280 if (inexact) in sgl_fmpy()
286 inexact = TRUE; in sgl_fmpy()
302 if (inexact) in sgl_fmpy()
311 if (dest_exponent == 0 && inexact) { in sgl_fmpy()
344 stickybit = inexact; in sgl_fmpy()
345 Sgl_denormalize(opnd3,dest_exponent,guardbit,stickybit,inexact); in sgl_fmpy()
348 if (inexact) { in sgl_fmpy()
[all …]
Dsfdiv.c55 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in sgl_fdiv() local
256 inexact = guardbit | stickybit; in sgl_fdiv()
261 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in sgl_fdiv()
293 if (inexact) in sgl_fdiv()
302 inexact = TRUE; in sgl_fdiv()
315 if (inexact) in sgl_fdiv()
324 if (dest_exponent == 0 && inexact) { in sgl_fdiv()
357 stickybit = inexact; in sgl_fdiv()
358 Sgl_denormalize(opnd3,dest_exponent,guardbit,stickybit,inexact); in sgl_fdiv()
361 if (inexact) { in sgl_fdiv()
[all …]
Dfrnd.c55 register boolean inexact = FALSE; in sgl_frnd() local
94 inexact = TRUE; in sgl_frnd()
120 inexact = TRUE; in sgl_frnd()
139 if (inexact) { in sgl_frnd()
160 register boolean inexact = FALSE; in dbl_frnd() local
200 inexact = TRUE; in dbl_frnd()
228 inexact = TRUE; in dbl_frnd()
247 if (inexact) { in dbl_frnd()
Dcnv_float.h101 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument
105 inexact = guard | sticky; \
108 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
113 inexact = Dallp2(srcB) << 3; \
114 guard = inexact >> 31; \
115 sticky = inexact << 1; \
118 if (inexact) { \
148 sticky = inexact; \
149 inexact |= guard; \
156 inexact = Dallp2(srcB) << (2 + exp); \
[all …]
Ddfmpy.c59 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_fmpy() local
254 inexact = guardbit | stickybit; in dbl_fmpy()
262 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in dbl_fmpy()
294 if (inexact) in dbl_fmpy()
300 inexact = TRUE; in dbl_fmpy()
316 if (inexact) in dbl_fmpy()
325 if (dest_exponent == 0 && inexact) { in dbl_fmpy()
358 stickybit = inexact; in dbl_fmpy()
360 stickybit,inexact); in dbl_fmpy()
363 if (inexact) { in dbl_fmpy()
[all …]
Ddfdiv.c56 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_fdiv() local
262 inexact = guardbit | stickybit; in dbl_fdiv()
267 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in dbl_fdiv()
299 if (inexact) in dbl_fdiv()
308 inexact = TRUE; in dbl_fdiv()
321 if (inexact) in dbl_fdiv()
330 if (dest_exponent == 0 && inexact) { in dbl_fdiv()
363 stickybit = inexact; in dbl_fdiv()
365 stickybit,inexact); in dbl_fdiv()
368 if (inexact) { in dbl_fdiv()
[all …]
Ddecode_exc.c108 boolean inexact; in decode_fpu() local
225 if (Ibit(Fpu_register[exception_index])) inexact = TRUE; in decode_fpu()
226 else inexact = FALSE; in decode_fpu()
239 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode()); in decode_fpu()
252 &inexact,Rounding_mode()); in decode_fpu()
255 if (inexact) Set_underflowflag(); in decode_fpu()
262 if (inexact && Is_inexacttrap_enabled()) { in decode_fpu()
281 if (inexact) Set_inexactflag(); in decode_fpu()
Dfmpyfadd.c70 boolean inexact = FALSE, is_tiny = FALSE; in dbl_fmpyfadd() local
638 inexact = TRUE; in dbl_fmpyfadd()
679 if (inexact) in dbl_fmpyfadd()
686 inexact = TRUE; in dbl_fmpyfadd()
698 if (inexact) in dbl_fmpyfadd()
705 else if (inexact && is_tiny) Set_underflowflag(); in dbl_fmpyfadd()
709 if (inexact) in dbl_fmpyfadd()
729 boolean inexact = FALSE, is_tiny = FALSE; local
1298 inexact = TRUE;
1339 if (inexact)
[all …]
Dsfsub.c60 register boolean inexact = FALSE, underflowtrap; in sgl_fsub() local
459 inexact = TRUE; in sgl_fsub()
502 if (inexact) in sgl_fsub()
511 inexact = TRUE; in sgl_fsub()
517 if(inexact) in sgl_fsub()
Dsfadd.c61 register boolean inexact = FALSE; in sgl_fadd() local
456 inexact = TRUE; in sgl_fadd()
499 if (inexact) in sgl_fadd()
508 inexact = TRUE; in sgl_fadd()
514 if(inexact) in sgl_fadd()
Ddfadd.c60 register boolean inexact = FALSE; in dbl_fadd() local
461 inexact = TRUE; in dbl_fadd()
504 if (inexact) in dbl_fadd()
512 inexact = TRUE; in dbl_fadd()
519 if(inexact) in dbl_fadd()
Ddfsub.c61 register boolean inexact = FALSE, underflowtrap; in dbl_fsub() local
464 inexact = TRUE; in dbl_fsub()
507 if (inexact) in dbl_fsub()
515 inexact = TRUE; in dbl_fsub()
522 if(inexact) in dbl_fsub()
Dsgl_float.h302 #define Sgl_denormalize(opnd,exponent,guard,sticky,inexact) \ argument
307 inexact = guard | sticky; \
313 inexact = sticky; \
Ddbl_float.h502 #define Dbl_denormalize(opndp1,opndp2,exponent,guard,sticky,inexact) \ argument
524 inexact = guard | sticky; \
530 inexact = sticky; \
/arch/m68k/fpsp040/
Dfpsp.h235 .set inex2_bit,1 | inexact result 2
236 .set inex1_bit,0 | inexact result 1
242 .set ainex_bit,3 | accrued inexact
264 .set ainex_mask,0x00000008 | accrued inexact
Dx_unfl.S55 | If underflow exceptions are not enabled, check for inexact
92 | Inexact enabled and reported, and we must take an inexact exception
Dsetox.S53 | Notes: This will always generate one exception -- inexact.
167 | The inexact exception is not generated in 6.4. Although
168 | one can argue that the inexact flag should always be
176 | Notes: For non-zero X, the inexact exception will always be
Dsint.S226 | ;inexact flag set in USER_FPSR
Dround.S41 | inexact (i.e. if any of the g-r-s bits were set).
494 | d1.b inexact flag: all ones means inexact result
Dx_operr.S332 | Inexact enabled and reported, and we must take an inexact exception.
/arch/m68k/ifpsp060/
Dfskeleton.S164 | This is the exit point for the 060FPSP when an enabled inexact exception
166 | for enabled inexact exceptions. The exception stack frame is an inexact

12