Searched refs:exponent (Results 1 - 25 of 88) sorted by path

1234

/linux-master/arch/arm/vfp/
H A Dvfpdouble.c43 .exponent = 2047,
50 pr_debug("VFP: %s: sign=%d exponent=%d significand=%016llx\n",
51 str, d->sign != 0, d->exponent, d->significand);
63 vd->exponent -= bits - 1;
73 int exponent, shift, underflow; local
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions))
88 vd->exponent = 0;
92 exponent = vd->exponent;
99 exponent
[all...]
H A Dvfpsingle.c43 .exponent = 255,
50 pr_debug("VFP: %s: sign=%d exponent=%d significand=%08x\n",
51 str, s->sign != 0, s->exponent, s->significand);
61 vs->exponent -= bits - 1;
76 int exponent, shift, underflow; local
83 if (vs->exponent == 255 && (vs->significand == 0 || exceptions))
90 vs->exponent = 0;
94 exponent = vs->exponent;
104 exponent
287 vfp_estimate_sqrt_significand(u32 exponent, u32 significand) argument
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dbindec.S100 | A15. Convert the exponent to bcd.
103 | Test the length of the final exponent string. If the
176 movel (%a0),L_SCR2(%a6) |save exponent for sign check
224 | d0: k-factor/exponent
238 | F_SCR2:Abs(X)/Abs(X) with $3fff exponent
248 movew #0x3fff,FP_SCR2(%a6) |replace exponent with 0x3fff
287 | d0: exponent/Unchanged
301 | F_SCR2:Abs(X) with $3fff exponent/Unchanged
359 | d0: exponent/scratch - final is 0
373 | F_SCR2:Abs(X) with $3fff exponent/Unchange
[all...]
H A Dbugfix.S235 | Set ETEMP exponent bit 15 as the opposite of ete14
237 btst #6,ETEMP_EX(%a6) |check etemp exponent bit 14
329 | Set ETEMP exponent bit 15 as the opposite of ete14
331 btst #6,ETEMP_EX(%a6) |check etemp exponent bit 14
H A Ddecbin.S24 | A1. Convert the bcd exponent to binary by successive adds and muls.
39 | exponent equal to the exponent from A1 and the zero count
57 | the exponent factor. This is done by multiplying the
59 | exponent sign is positive, and dividing FP0 by FP1 if
123 | Calculate exponent:
125 | 2. Calculate absolute value of exponent in d1 by mul and add.
126 | 3. Correct for exponent sign.
134 | (*) d1: accumulator for binary exponent
141 | (*) L_SCR1: copy of original exponent wor
[all...]
H A Dfpsp.h131 .set WBTEMP_EX,WBTEMP | wbtemp sign and exponent (2 bytes)
164 .set etemp15_bit,4 | etemp exponent bit #15
184 .set fptemp15_bit,4 | fptemp exponent bit #15
187 .set wbtemp15_bit,4 | wbtemp exponent bit #15
200 .set FPTEMP_EX,FPTEMP | fptemp sign and exponent (2 bytes)
207 .set ETEMP_EX,ETEMP | etemp sign and exponent (2 bytes)
H A Dget_op.S225 movew FPTEMP_EX(%a6),%d0 |get destination exponent
255 movew ETEMP_EX(%a6),%d0 |get source exponent
291 | ;put exponent on stack
496 bfextu %d0{#20:#12},%d1 |get exponent into d1
548 bfextu %d0{#20:#12},%d1 |get exponent into d1
H A Dres_func.S207 movew LOCAL_EX(%a0),%d1 |compare exponent to double threshold
389 bsr nrm_set |normalize number (exponent will go
631 | replace exponent of src with $3fff (keep sign)
641 | replace exponent of src with $3fff (keep sign)
846 orw #0x3fff,%d0 |force the exponent to +/- 1
874 orw #0x3fff,%d0 |force the exponent to +/- 1
962 | The result has overflowed to $7fff exponent. Set I, ovfl,
1021 orw #0x3fff,%d0 |force the exponent to +/- 1
1049 orw #0x3fff,%d0 |force the exponent to +/- 1
1143 | The result has overflowed to $7fff exponent
[all...]
H A Dround.S198 addw #0x1,LOCAL_EX(%a0) |and incr exponent
239 addw #0x1,LOCAL_EX(%a0) |incr exponent
273 | exponent.
279 | bit of the mantissa (msb in d1) unless this would mean the exponent
281 | exponent (d0) is set to 0 and the mantissa (d1 & d2) is not
290 | Distance to 0 from exponent = Y
296 | set exponent = 0
299 | FP_SCR1 = exponent, ms mantissa part, ls mantissa part
364 subw %d7,LOCAL_EX(%a0) |sub exponent by count
386 movew LOCAL_EX(%a0),%d0 |d0 has exponent
[all...]
H A Dscale.S52 movew FPTEMP(%a6),%d1 |get dest exponent
93 | Source is positive. Add the src to the dest exponent.
142 | Source is negative. Add the src to the dest exponent.
143 | (The result exponent will be reduced). The result can be
162 | The result exponent is below denorm value. Test for catastrophic
164 | mantissa right until a zero exponent exists.
298 | then adding the remainder of the source to the exponent.
316 | portion of the src to the exponent.
H A Dsetox.S68 | the sign and biased exponent field of |X|; the lower 16
H A Dsgetem.S4 | The entry point sGETEXP returns the exponent portion
5 | of the input argument. The exponent bias is removed
6 | and the exponent value is returned as an extended
49 movew LOCAL_EX(%a0),%d0 |get the exponent
59 movew LOCAL_EX(%a0),%d0 |load resulting exponent into d0
74 | with an exponent of +/- $3fff.
90 | then load the exponent with +/1 $3fff.
H A Dsint.S32 | result to the exponent $403e.
H A Dutil.S39 | the exponent.
468 | the exponent.
H A Dx_operr.S21 | overflow -> OPERR, the exponent in wbte (and fpte) is:
128 cmpw #0x3FFE,%d0 |this is the only possible exponent value
138 bcc store_max |exponent out of range
175 cmpw #0x3FFE,%d0 |this is the only possible exponent value
202 cmpw #0x3FFE,%d0 |this is the only possible exponent value
282 | Check the exponent for $c000 and the upper 32 bits of the
H A Dx_ovfl.S31 | with a bias of $6000 subtracted from the exponent.
H A Dx_store.S132 movew LOCAL_EX(%a1),%d0 |get exponent
145 movel #0x7ff00000,%d0 |load dbl inf exponent
203 movew LOCAL_EX(%a1),%d0 |get exponent
244 tstb LOCAL_SGN(%a1) |put back sign into exponent word
H A Dx_unfl.S10 | shifting the mantissa right while incrementing the exponent until
11 | it is equal to the denormalized exponent for the destination
18 | added to the exponent.
/linux-master/arch/m68k/ifpsp060/src/
H A Dfplsp.S395 set SGL_LO, 0x3f81 # min sgl prec exponent
396 set SGL_HI, 0x407e # max sgl prec exponent
397 set DBL_LO, 0x3c01 # min dbl prec exponent
398 set DBL_HI, 0x43fe # max dbl prec exponent
399 set EXT_LO, 0x0 # min ext prec exponent
400 set EXT_HI, 0x7ffe # max ext prec exponent
496 set sgl_thresh, 0x3f81 # minimum sgl exponent
497 set dbl_thresh, 0x3c01 # minimum dbl exponent
6722 # are the sign and biased exponent field of |X|; the #
7496 # sgetexp(): returns the exponent portio
[all...]
H A Dfpsp.S415 set SGL_LO, 0x3f81 # min sgl prec exponent
416 set SGL_HI, 0x407e # max sgl prec exponent
417 set DBL_LO, 0x3c01 # min dbl prec exponent
418 set DBL_HI, 0x43fe # max dbl prec exponent
419 set EXT_LO, 0x0 # min ext prec exponent
420 set EXT_HI, 0x7ffe # max ext prec exponent
516 set sgl_thresh, 0x3f81 # minimum sgl exponent
517 set dbl_thresh, 0x3c01 # minimum dbl exponent
1440 mov.w LOCAL_EX(%a0),%d0 # fetch src exponent
1455 addi.w &0x3f81,%d0 # adjust new exponent
[all...]
H A Dpfpsp.S414 set SGL_LO, 0x3f81 # min sgl prec exponent
415 set SGL_HI, 0x407e # max sgl prec exponent
416 set DBL_LO, 0x3c01 # min dbl prec exponent
417 set DBL_HI, 0x43fe # max dbl prec exponent
418 set EXT_LO, 0x0 # min ext prec exponent
419 set EXT_HI, 0x7ffe # max ext prec exponent
515 set sgl_thresh, 0x3f81 # minimum sgl exponent
516 set dbl_thresh, 0x3c01 # minimum dbl exponent
1439 mov.w LOCAL_EX(%a0),%d0 # fetch src exponent
1454 addi.w &0x3f81,%d0 # adjust new exponent
[all...]
/linux-master/arch/m68k/math-emu/
H A Dfp_util.S132 lsr.l #8,%d1 | exponent / sign
139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent.
149 | exponent is zero, so explizit bit is already zero too
170 lsr.l #8,%d1 | exponent / sign
177 add.w #0x3fff-0x3ff,%d1 | re-bias the exponent.
194 | exponent is zero, so explizit bit is already zero too
668 sub.w #0x4000-0x3ff,%d2 | will the exponent fit?
714 | reset the high bit, and increment the exponent.
717 cmp.w #0x43ff,(%a0)+ | exponent now overflown?
799 | i.e. pathologically small (exponent i
[all...]
/linux-master/arch/parisc/math-emu/
H A Dcnv_float.h46 #define Sgl_isinexact_to_fix(sgl_value,exponent) \
47 ((exponent < (SGL_P - 1)) ? \
48 (Sall(sgl_value) << (SGL_EXP_LENGTH + 1 + exponent)) : FALSE)
73 #define Sgl_isone_roundbit(sgl_value,exponent) \
74 ((Sall(sgl_value) << (SGL_EXP_LENGTH + 1 + exponent)) >> 31)
76 #define Sgl_isone_stickybit(sgl_value,exponent) \
77 (exponent < (SGL_P - 2) ? \
78 Sall(sgl_value) << (SGL_EXP_LENGTH + 2 + exponent) : FALSE)
178 #define Dbl_isinexact_to_fix(dbl_valueA,dbl_valueB,exponent) \
179 (exponent < (DBL_
[all...]
H A Ddbl_float.h34 /* The hidden bit is always the low bit of the exponent */
102 /* Singles and doubles may include the sign and exponent fields. The
256 /* An infinity is represented with the max exponent and a zero mantissa */
305 #define Dbl_setwrapped_exponent(dbl_value,exponent,op) \
306 Deposit_dexponent(dbl_value,(exponent op DBL_WRAP))
374 * (due to the exponent becoming negative) during normalization.
429 #define Dbl_normalize(dbl_opndA,dbl_opndB,exponent) \
432 exponent -= 8; \
436 exponent -= 4; \
440 exponent
[all...]
H A Ddenormal.c47 int sign, exponent; local
52 exponent = Sgl_exponent(opnd) - SGL_WRAP;
54 Sgl_denormalize(opnd,exponent,guardbit,stickybit,inexact);
88 int sign, exponent; local
94 exponent = Dbl_exponent(opndp1) - DBL_WRAP;
96 Dbl_denormalize(opndp1,opndp2,exponent,guardbit,stickybit,inexact);

Completed in 311 milliseconds

1234