Home
last modified time | relevance | path

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

1234

/netbsd-src/external/lgpl3/mpfr/dist/src/
H A 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/sys/arch/m68k/fpsp/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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.
H A 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 …]
H A 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
H A DMONADIC.GCC90 bsr _OPm_ ; assuming a denorm...
140 bsr _OPm_ ; assuming a denorm...
190 bsr _OPm_ ; assuming a denorm...
H A DMONADIC.GEN112 bsr _OPm_ ; assuming a denorm...
164 bsr _OPm_ ; assuming a denorm...
216 bsr _OPm_ ; assuming a denorm...
H A 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
H A Dslog2.sa148 bsr slognd ...log(X), X denorm.
175 bsr slognd ...log(X), X denorm.
/netbsd-src/lib/libc/gdtoa/
H A 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 …]
H A Ddtoa.c126 int denorm; local
248 denorm = 0;
259 denorm = 1;
508 denorm ? be + (Bias + (P-1) - 1 + 1) :
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/ieee-754/arc600-mul64/
H A Ddivsf3.S203 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
253 0x60000000,r0 ; large number / denorm -> Inf
266 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arc/ieee-754/arc600-mul64/
H A Ddivsf3.S203 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
253 0x60000000,r0 ; large number / denorm -> Inf
266 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/ieee-754/arc600-dsp/
H A Ddivsf3.S209 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
253 0x60000000,r0 ; large number / denorm -> Inf
266 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arc/ieee-754/
H A Ddivsf3-stdmul.S149 0x60000000,r0 ; large number / denorm -> Inf
166 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
258 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
H A Ddivsf3.S61 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
75 bic.ne.f 0,0x60000000,r0 ; large number/denorm -> Inf
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/ieee-754/
H A Ddivsf3-stdmul.S149 0x60000000,r0 ; large number / denorm -> Inf
166 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
258 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
H A Ddivsf3.S61 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
75 bic.ne.f 0,0x60000000,r0 ; large number/denorm -> Inf
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arc/ieee-754/arc600-dsp/
H A Ddivsf3.S209 asr.f 0,r0,1 ; for round-to-even in case this is a denorm
253 0x60000000,r0 ; large number / denorm -> Inf
266 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
H A Ddivdf3.S175 0x43500000,.Linf_NaN ; large number / denorm -> Inf
252 0x43500000, .Lret0_2 ; denorm/large number -> 0
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/ieee-754/arc600/
H A Ddivsf3.S58 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
72 bic.ne.f 0,0x60000000,r0 ; large number/denorm -> Inf
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arc/ieee-754/arc600/
H A Ddivsf3.S58 bic.ne.f 0,0x60000000,r1 ; denorm/large number -> 0
72 bic.ne.f 0,0x60000000,r0 ; large number/denorm -> Inf

1234