Home
last modified time | relevance | path

Searched refs:denorm (Results 1 – 25 of 56) sorted by relevance

123

/netbsd/src/external/lgpl3/mpfr/dist/src/
Dget_ld.c68 mpfr_exp_t e, denorm; in mpfr_get_ld() local
76 denorm = MPFR_UNLIKELY (e <= -16382) ? - e - 16382 + 1 : 0; in mpfr_get_ld()
77 MPFR_ASSERTD (0 <= denorm && denorm < 64); in mpfr_get_ld()
79 ld.s.manl = (tmpmant[0] >> denorm); in mpfr_get_ld()
80 ld.s.manh = (tmpmant[0] >> denorm) >> 32; in mpfr_get_ld()
82 if (MPFR_LIKELY (denorm == 0)) in mpfr_get_ld()
87 else if (denorm < 32) in mpfr_get_ld()
89 ld.s.manl = (tmpmant[0] >> denorm) | (tmpmant[1] << (32 - denorm)); in mpfr_get_ld()
90 ld.s.manh = tmpmant[1] >> denorm; in mpfr_get_ld()
94 ld.s.manl = tmpmant[1] >> (denorm - 32); in mpfr_get_ld()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/mips/
Dcp1.c522 sim_fpu_denorm denorm; in denorm_mode() local
526 denorm = sim_fpu_denorm_zero; in denorm_mode()
528 denorm = 0; in denorm_mode()
529 return denorm; in denorm_mode()
832 sim_fpu_denorm denorm = denorm_mode (cpu); in fp_unary() local
844 status |= sim_fpu_round_32 (&ans, round, denorm); in fp_unary()
854 status |= sim_fpu_round_64 (&ans, round, denorm); in fp_unary()
893 sim_fpu_denorm denorm = denorm_mode (cpu); in fp_binary() local
906 status |= sim_fpu_round_32 (&ans, round, denorm); in fp_binary()
917 status |= sim_fpu_round_64 (&ans, round, denorm); in fp_binary()
[all …]
/netbsd/src/sys/arch/m68k/fpsp/
Dtbldo.sa88 dc.l sintd ;$01-4 fint denorm inx
97 dc.l ssinhd ;$02-4 fsinh denorm
106 dc.l snzrinx ;$03-4 fintrz denorm inx
133 dc.l slognp1d ;$06-4 flognp1 denorm
151 dc.l setoxm1d ;$08-4 fetoxm1 denorm
160 dc.l stanhd ;$09-4 ftanh denorm
169 dc.l satand ;$0a-4 fatan denorm
187 dc.l sasind ;$0c-4 fasin denorm
196 dc.l satanhd ;$0d-4 fatanh denorm
205 dc.l ssind ;$0e-4 fsin denorm
[all …]
Dget_op.sa80 * detects this and tags the number as a denorm. The routine
81 * res_func sees the denorm tag and converts the denorm to a
249 * At this point, destination has an extended denorm or unnorm.
254 beq.b src_op_ck ;if denorm then check source op.
261 * ; (000 = norm, 100 = denorm)
284 beq.w end_getop ;if denorm then exit, denorms are
289 * ; (000 = norm, 100 = denorm)
305 btst.b #4,CMDREG1B(a6) ;differentiate between sgl/dbl denorm
308 move.w #$3f81,d1 ;write bias for sgl denorm
311 move.w #$3c01,d1 ;write the bias for a dbl denorm
[all …]
Dscale.sa125 tst.w d1 ;check for denorm
128 beq.b denorm ;if zero, result is denorm
149 denorm:
155 blt.b nden_exit ;if set, not denorm
175 beq.b denorm ;if zero, result is denorm
189 * The result exponent is below denorm value. Test for catastrophic
233 * mode is rp, and the zero is positive, return smallest denorm.
235 * negative denorm.
258 * The rounding mode changed the zero to a smallest denorm. Call
296 bra.b sm_dnrm ;return smallest denorm
[all …]
Dres_func.sa63 xref denorm
88 * ;else denorm
115 bne.w mon_dnrm ;else denorm
117 bne.w normal ;require normalization of denorm
232 move.l #2,d0 ;set up the size for denorm
283 * The operand is below precision boundaries. Use denorm to
289 bsr denorm
326 * The mantissa is zero from the denorm loop. Check sign and rmode
383 * ;clear denorm stag to norm
388 * denorm produces incorrect results.
[all …]
Dx_unfl.sa59 xref denorm
186 * force the precision to extended for the denorm routine. Use
206 bsr.l denorm ;returns denorm, a0 points to it
222 * WARNING: a0 and d0 are assumed to be intact between the denorm and
235 bsr.l round ;returns rounded denorm at (a0)
254 subq.w #1,LOCAL_EX(a0) ;account for denorm bias vs.
Dround.sa305 * would go less than 0. In that case the number becomes a denorm - the
354 sub.l d0,d5 ;make op a denorm by shifting bits
408 * set (otherwise this would have been tagged a zero not a denorm).
423 * denorm --- denormalize an intermediate result
443 xdef denorm
444 denorm:
470 * ; shifted off in denorm routine)
483 * ; shifted off in denorm routine)
539 move.l d1,d0 ;copy the denorm threshold
559 move.w d0,LOCAL_EX(a0) ;exponent = denorm threshold
[all …]
Dkernel_ex.sa394 * Entry point for scale with extended denorm. The function does
421 tst.w LOCAL_EX(a0) ;check if input is denorm
462 * denorm within the kernel. The approach used is to capture the frame,
475 btst.b #7,DTAG(a2) ;check for denorm destination
476 beq.b src_den ;else, must be a source denorm
478 * handle destination denorm
488 beq.b ck_src_den ;check if source is also denorm
DMONADIC.GCC90 bsr _OPm_ ; assuming a denorm...
140 bsr _OPm_ ; assuming a denorm...
190 bsr _OPm_ ; assuming a denorm...
DMONADIC.GEN112 bsr _OPm_ ; assuming a denorm...
164 bsr _OPm_ ; assuming a denorm...
216 bsr _OPm_ ; assuming a denorm...
Dutil.sa502 * ;smallest +ext denorm
504 * ;smallest +sgl denorm
506 * ;smallest +dbl denorm
560 lea.l EXT_PSML,a1 ;answer is negative smallest denorm
575 lea.l EXT_PSML,a1 ;answer is positive smallest denorm
Dslog2.sa148 bsr slognd ...log(X), X denorm.
175 bsr slognd ...log(X), X denorm.
Ddo_func.sa314 * ;00 = norm or denorm
394 * ;00 = norm or denorm
463 bclr.l #2,d0 ;alias denorm into norm
464 bclr.l #2,d1 ;alias denorm into norm
DMONADIC.CI582 bsr _OPm_ ; assuming a denorm...
DMONADIC.R3V684 bsr _OPm_ ; assuming a denorm...
Dbindec.sa199 * to signal denorm. If the input is unnormalized, normalize
205 clr.b BINDEC_FLG(a6) ;clr norm/denorm flag
210 * Normalize the denorm
228 st BINDEC_FLG(a6) ;set flag for denorm
269 tst.b BINDEC_FLG(a6) ;check for denorm
519 tst.b BINDEC_FLG(a6) ;check for denorm
848 tst.b BINDEC_FLG(a6) ;check for denorm
Dl_support.sa65 * $80 denorm
259 * t_extdnrm, t_resdnrm --- generate results for denorm inputs
/netbsd/src/lib/libc/gdtoa/
Dstrtodg.c332 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, denorm; local
350 denorm = sign = nz0 = nz = 0;
681 denorm = 1;
835 if (dsign || bbbits > 1 || denorm || rve1 == emin)
849 if (denorm && all_on(rvb, rvbits)) {
855 denorm = 0;
878 if ((bbbits < nbits && !denorm) || !(rvb->x[0] & 1))
904 else if (denorm && bbbits <= 1) {
946 if (!denorm && rvbits < nbits) {
971 if (denorm)
[all …]
Ddtoa.c126 int denorm; local
248 denorm = 0;
259 denorm = 1;
508 denorm ? be + (Bias + (P-1) - 1 + 1) :
/netbsd/src/external/gpl3/gdb/dist/sim/common/
Dsim-fpu.h228 sim_fpu_denorm denorm);
231 sim_fpu_denorm denorm);
Dsim-fpu.c891 sim_fpu_denorm denorm) in do_round() argument
920 && !(denorm & sim_fpu_denorm_zero)) in do_round()
938 else if ((denorm & sim_fpu_denorm_underflow_inexact)) in do_round()
976 sim_fpu_denorm denorm) in sim_fpu_round_32() argument
978 return do_round (f, 0, round, denorm); in sim_fpu_round_32()
984 sim_fpu_denorm denorm) in sim_fpu_round_64() argument
986 return do_round (f, 1, round, denorm); in sim_fpu_round_64()
/netbsd/src/sys/arch/m68k/060sp/dist/
Dfpsp.s1436 # or double precision denorm, inf, or nan, the operand needs to be
1489 bne.b fso_dbl_dnrm # it's a skewed denorm
3142 # denorm operand in the sgl or dbl format. NANs also become skewed, but can't
4490 short tbl_trans - tbl_trans # $01-5 fint denorm
4499 short ssinhd - tbl_trans # $02-5 fsinh denorm
4508 short tbl_trans - tbl_trans # $03-5 fintrz denorm
4517 short tbl_trans - tbl_trans # $04-5 fsqrt denorm
4535 short slognp1d - tbl_trans # $06-5 flognp1 denorm
4553 short setoxm1d - tbl_trans # $08-5 fetoxm1 denorm
4562 short stanhd - tbl_trans # $09-5 ftanh denorm
[all …]
Dpfpsp.s1436 # or double precision denorm, inf, or nan, the operand needs to be
1489 bne.b fso_dbl_dnrm # it's a skewed denorm
3142 # denorm operand in the sgl or dbl format. NANs also become skewed, but can't
5867 # all bit would have been shifted off during the denorm so simply
5907 mov.l %d1, %d0 # copy the denorm threshold
5926 # %d0 = denorm threshold
5949 mov.w %d0, FTEMP_EX(%a0) # exponent = denorm threshold
5978 # %d0 = denorm threshold
6001 mov.w %d0, FTEMP_EX(%a0) # exponent = denorm threshold
6038 # %d0 = denorm threshold
[all …]
/netbsd/src/external/gpl3/binutils/dist/ld/emultempl/
Darmelf.em608 { "vfp11-denorm-fix", required_argument, NULL, OPTION_VFP11_DENORM_FIX},
633 fprintf (file, _(" --vfp11-denorm-fix Specify how to fix VFP11 denorm erratum\n"));

123