Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/parisc/math-emu/
Dfcnvfu.c54 register boolean inexact = FALSE; in sgl_to_sgl_fcnvfu() local
97 inexact = TRUE; in sgl_to_sgl_fcnvfu()
119 inexact = TRUE; in sgl_to_sgl_fcnvfu()
134 inexact = FALSE; in sgl_to_sgl_fcnvfu()
146 inexact = FALSE; in sgl_to_sgl_fcnvfu()
155 if (inexact) { in sgl_to_sgl_fcnvfu()
175 register boolean inexact = FALSE; in sgl_to_dbl_fcnvfu() local
218 inexact = TRUE; in sgl_to_dbl_fcnvfu()
240 inexact = TRUE; in sgl_to_dbl_fcnvfu()
255 inexact = FALSE; in sgl_to_dbl_fcnvfu()
[all …]
Ddenormal.c48 boolean guardbit = FALSE, stickybit, inexact; in sgl_denormalize() local
54 Sgl_denormalize(opnd,exponent,guardbit,stickybit,inexact); in sgl_denormalize()
55 if (inexact) { in sgl_denormalize()
77 *inexactflag = inexact; in sgl_denormalize()
89 boolean guardbit = FALSE, stickybit, inexact; in dbl_denormalize() local
96 Dbl_denormalize(opndp1,opndp2,exponent,guardbit,stickybit,inexact); in dbl_denormalize()
97 if (inexact) { in dbl_denormalize()
120 *inexactflag = inexact; in dbl_denormalize()
Dfcnvfx.c53 register boolean inexact = FALSE; in sgl_to_sgl_fcnvfx() local
88 inexact = TRUE; in sgl_to_sgl_fcnvfx()
112 inexact = TRUE; in sgl_to_sgl_fcnvfx()
130 if (inexact) { in sgl_to_sgl_fcnvfx()
150 register boolean inexact = FALSE; in sgl_to_dbl_fcnvfx() local
194 inexact = TRUE; in sgl_to_dbl_fcnvfx()
225 inexact = TRUE; in sgl_to_dbl_fcnvfx()
251 if (inexact) { in sgl_to_dbl_fcnvfx()
271 register boolean inexact = FALSE; in dbl_to_sgl_fcnvfx() local
307 inexact = TRUE; in dbl_to_sgl_fcnvfx()
[all …]
Dfcnvff.c136 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_to_sgl_fcnvff() local
184 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact,guardbit, in dbl_to_sgl_fcnvff()
194 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact, in dbl_to_sgl_fcnvff()
202 dest_mantissa,inexact,guardbit,stickybit,lsb_odd, in dbl_to_sgl_fcnvff()
209 if (inexact) { in dbl_to_sgl_fcnvff()
248 if (inexact) in dbl_to_sgl_fcnvff()
255 inexact = TRUE; in dbl_to_sgl_fcnvff()
275 if (inexact) in dbl_to_sgl_fcnvff()
284 if (inexact && is_tiny) Set_underflowflag(); in dbl_to_sgl_fcnvff()
292 if (inexact) in dbl_to_sgl_fcnvff()
Dsfmpy.c45 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in sgl_fmpy() local
227 inexact = guardbit | stickybit; in sgl_fmpy()
235 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in sgl_fmpy()
267 if (inexact) in sgl_fmpy()
273 inexact = TRUE; in sgl_fmpy()
289 if (inexact) in sgl_fmpy()
298 if (dest_exponent == 0 && inexact) { in sgl_fmpy()
331 stickybit = inexact; in sgl_fmpy()
332 Sgl_denormalize(opnd3,dest_exponent,guardbit,stickybit,inexact); in sgl_fmpy()
335 if (inexact) { in sgl_fmpy()
[all …]
Dcnv_float.h88 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument
92 inexact = guard | sticky; \
95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
100 inexact = Dallp2(srcB) << 3; \
101 guard = inexact >> 31; \
102 sticky = inexact << 1; \
105 if (inexact) { \
135 sticky = inexact; \
136 inexact |= guard; \
143 inexact = Dallp2(srcB) << (2 + exp); \
[all …]
Dsfdiv.c42 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in sgl_fdiv() local
243 inexact = guardbit | stickybit; in sgl_fdiv()
248 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in sgl_fdiv()
280 if (inexact) in sgl_fdiv()
289 inexact = TRUE; in sgl_fdiv()
302 if (inexact) in sgl_fdiv()
311 if (dest_exponent == 0 && inexact) { in sgl_fdiv()
344 stickybit = inexact; in sgl_fdiv()
345 Sgl_denormalize(opnd3,dest_exponent,guardbit,stickybit,inexact); in sgl_fdiv()
348 if (inexact) { in sgl_fdiv()
[all …]
Ddfmpy.c46 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_fmpy() local
241 inexact = guardbit | stickybit; in dbl_fmpy()
249 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in dbl_fmpy()
281 if (inexact) in dbl_fmpy()
287 inexact = TRUE; in dbl_fmpy()
303 if (inexact) in dbl_fmpy()
312 if (dest_exponent == 0 && inexact) { in dbl_fmpy()
345 stickybit = inexact; in dbl_fmpy()
347 stickybit,inexact); in dbl_fmpy()
350 if (inexact) { in dbl_fmpy()
[all …]
Dfrnd.c42 register boolean inexact = FALSE; in sgl_frnd() local
81 inexact = TRUE; in sgl_frnd()
107 inexact = TRUE; in sgl_frnd()
126 if (inexact) { in sgl_frnd()
147 register boolean inexact = FALSE; in dbl_frnd() local
187 inexact = TRUE; in dbl_frnd()
215 inexact = TRUE; in dbl_frnd()
234 if (inexact) { in dbl_frnd()
Ddfdiv.c43 register boolean inexact = FALSE, guardbit = FALSE, stickybit = FALSE; in dbl_fdiv() local
249 inexact = guardbit | stickybit; in dbl_fdiv()
254 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in dbl_fdiv()
286 if (inexact) in dbl_fdiv()
295 inexact = TRUE; in dbl_fdiv()
308 if (inexact) in dbl_fdiv()
317 if (dest_exponent == 0 && inexact) { in dbl_fdiv()
350 stickybit = inexact; in dbl_fdiv()
352 stickybit,inexact); in dbl_fdiv()
355 if (inexact) { in dbl_fdiv()
[all …]
Ddecode_exc.c95 boolean inexact; in decode_fpu() local
212 if (Ibit(Fpu_register[exception_index])) inexact = TRUE; in decode_fpu()
213 else inexact = FALSE; in decode_fpu()
226 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode()); in decode_fpu()
239 &inexact,Rounding_mode()); in decode_fpu()
242 if (inexact) Set_underflowflag(); in decode_fpu()
249 if (inexact && Is_inexacttrap_enabled()) { in decode_fpu()
268 if (inexact) Set_inexactflag(); in decode_fpu()
Dfmpyfadd.c57 boolean inexact = FALSE, is_tiny = FALSE; in dbl_fmpyfadd() local
625 inexact = TRUE; in dbl_fmpyfadd()
666 if (inexact) in dbl_fmpyfadd()
673 inexact = TRUE; in dbl_fmpyfadd()
685 if (inexact) in dbl_fmpyfadd()
692 else if (inexact && is_tiny) Set_underflowflag(); in dbl_fmpyfadd()
696 if (inexact) in dbl_fmpyfadd()
716 boolean inexact = FALSE, is_tiny = FALSE; local
1285 inexact = TRUE;
1326 if (inexact)
[all …]
Dsfsub.c47 register boolean inexact = FALSE, underflowtrap; in sgl_fsub() local
446 inexact = TRUE; in sgl_fsub()
489 if (inexact) in sgl_fsub()
498 inexact = TRUE; in sgl_fsub()
504 if(inexact) in sgl_fsub()
Dsfadd.c48 register boolean inexact = FALSE; in sgl_fadd() local
443 inexact = TRUE; in sgl_fadd()
486 if (inexact) in sgl_fadd()
495 inexact = TRUE; in sgl_fadd()
501 if(inexact) in sgl_fadd()
Ddfadd.c47 register boolean inexact = FALSE; in dbl_fadd() local
448 inexact = TRUE; in dbl_fadd()
491 if (inexact) in dbl_fadd()
499 inexact = TRUE; in dbl_fadd()
506 if(inexact) in dbl_fadd()
Ddfsub.c48 register boolean inexact = FALSE, underflowtrap; in dbl_fsub() local
451 inexact = TRUE; in dbl_fsub()
494 if (inexact) in dbl_fsub()
502 inexact = TRUE; in dbl_fsub()
509 if(inexact) in dbl_fsub()
Dsgl_float.h289 #define Sgl_denormalize(opnd,exponent,guard,sticky,inexact) \ argument
294 inexact = guard | sticky; \
300 inexact = sticky; \
Ddbl_float.h489 #define Dbl_denormalize(opndp1,opndp2,exponent,guard,sticky,inexact) \ argument
511 inexact = guard | sticky; \
517 inexact = sticky; \
/linux-6.1.9/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.
/linux-6.1.9/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