/linux-master/arch/m68k/fpsp040/ |
H A D | bindec.S | 101 | As in A14 above, the exp is converted to bcd and the 187 andiw #0x7fff,%d0 |strip sign of normalized exp 203 andiw #0x7fff,%d0 |strip sign of normalized exp 247 movew FP_SCR2(%a6),%d0 |move exp to d0 251 faddw %d0,%fp0 |add in exp 511 tstw %d2 |test for small exp case 762 negl %d0 |make exp positive 784 | As in A14 above, the exp is converted to bcd and the 802 | d2: x/ms 32-bits of exp fraction/scratch 803 | d3: x/ls 32-bits of exp fractio [all...] |
H A D | decbin.S | 50 | A4. Calculate the factor 10^exp in FP1 using a table of 168 movel %d1,L_SCR1(%a6) |save exp in memory 240 | for the adjusted exponent. That number is subtracted from the exp 241 | if the exp was positive, and added if it was negative. The purpose 246 | 2p.(positive exp) 249 | 4. Subtract the count from the exp. 250 | 5. Check if the exp has crossed zero in #3 above; make the exp abs 253 | 2n.(negative exp) 256 | 4. Add the count to the exp [all...] |
H A D | get_op.S | 226 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 236 | ; 0 = exp > $3fff 237 | ; 1 = exp <= $3fff 256 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 264 | ; 0 = exp > $3fff 265 | ; 1 = exp <= $3fff 384 | mk_norm till msb set or exp = 0 391 | mk_norm till msb set or exp = 0 398 | if exp <= $3fff 406 | L_SCR1{4} = fpte15 or ete15 (0 = exp > [all...] |
H A D | res_func.S | 71 bsr nrm_set |normalize number (exp will go negative) 705 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (always pos) 706 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg) 744 bfextu FPTEMP_EX(%a6){#1:#15},%d0 |get dest exp (always pos) 745 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg) 809 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (always pos) 810 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg) 818 bfextu FPTEMP_EX(%a6){#1:#15},%d0 |get dest exp (always pos) 819 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg) 984 bfextu ETEMP_EX(%a6){#1:#15},%d0 |get src exp (alway [all...] |
H A D | round.S | 220 addw #0x1,LOCAL_EX(%a0) |and inc exp 306 cmpw #64,%d0 |see if exp > 64 308 bsr nrm_set |exp > 64 so exp won't exceed 0 319 bmis greater |then exp will go past 0 (neg) if 321 bsr nrm_set |else exp won't go past 0 330 lsrl %d5,%d6 |by the number in the exp, then 331 | ;set exp = 0. 333 movel #0,%d0 |same as if decremented exp to 0 346 bsr nrm_set |else exp wo [all...] |
H A D | scale.S | 100 addl %d0,%d1 |add src to dest exp 169 movew %d1,%d0 |use d0 for exp
|
H A D | scosh.S | 26 | y = |X|, z = exp(Y), and 33 | cosh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow. 39 | cosh(X) := Fact * exp(Y').
|
H A D | setox.S | 6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes 7 | exp(X)-1 for denormalized X. 16 | exp(X) or exp(X)-1 returned in floating-point register fp0. 127 | Step 4. Approximate exp(R)-1 by a polynomial 133 | |p - (exp(R)-1)| < 2^(-68.8) for all |R| <= 0.0062. 141 | Step 5. Compute 2^(J/64)*exp(R) = 2^(J/64)*(1+p) by 152 | Step 6. Reconstruction of exp(X) 153 | exp(X) = 2^M * 2^(J/64) * exp( [all...] |
H A D | sgetem.S | 19 | Output: The functions return exp(X) or man(X) in fp0. 52 fmovew %d0,%fp0 |move the exp to fp0 58 bsr nrm_set |normalize (exp will go negative) 61 fmovew %d0,%fp0 |move the exp to fp0 81 movew LOCAL_EX(%a0),%d0 |get the exp (really just want sign bit) 82 orw #0x7fff,%d0 |clear old exp 83 bclrl #14,%d0 |make it the new exp +-3fff 84 movew %d0,LOCAL_EX(%a0) |move the sign & exp back to fsave stack
|
H A D | sint.S | 27 | 1. If exp(X) >= 63, return X. 28 | If exp(X) < 0, return +/- 0 or +/- 1, according to 31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the 144 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63 145 bgts out_rnge |branch if exp < 63 146 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0 147 bgt in_rnge |if 63 >= exp > 0, do calc 201 fmovex LOCAL_EX(%a0),%fp0 |if exp > 63
|
H A D | ssinh.S | 33 | sinh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow. 40 | sinh(X) := sgnFact * exp(Y').
|
H A D | stanh.S | 36 | sgn := sign(X), y := 2|X|, z := exp(Y),
|
H A D | stwotox.S | 34 | 2**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r). 50 | 10**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r). 61 | 3. Calculate P where 1 + P approximates exp(r):
|
H A D | x_operr.S | 22 | byte 56 - (62 - exp) 23 | word 48 - (62 - exp) 24 | long 32 - (62 - exp) 26 | where exp = (true exp) - 1 116 bsr check_upper |check if exp and ms mant are special 163 bsr check_upper |check if exp and ms mant are special 190 bsr check_upper |check if exp and ms mant are special
|
H A D | x_store.S | 118 | extended -> |s| exp | |1| ms mant | | ls mant | 126 | double -> |s|exp| mant | | mant | 138 lsll #4,%d0 |d0 now in proper place for dbl prec exp 151 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack 157 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack 189 | extended -> |s| exp | |1| ms mant | | ls mant | 197 | single -> |s|exp| mant | 208 swap %d0 |put exp in upper word of d0 209 lsll #7,%d0 |shift it into single exp bits 215 movel #0x7f800000,%d0 |load single inf exp t [all...] |
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 5032 mov.l (%a0),%d1 # put exp in hi word 6627 mov.l (%a0),%d1 # pack exp w/ upper 16 fraction 6692 # fp0 = exp(X) or exp(X)-1 # 6784 # Step 4. Approximate exp(R)-1 by a polynomial # 6791 # |p - (exp(R)-1)| < 2^(-68.8) for all |R| <= 0.0062. # 6799 # Step 5. Compute 2^(J/64)*exp(R) = 2^(J/64)*(1+p) by # 6811 # Step 6. Reconstruction of exp(X) # 6812 # exp(X) = 2^M * 2^(J/64) * exp( [all...] |
H A D | fpsp.S | 1442 cmpi.w %d0,&0x3f80 # is |exp| == $3f80? 1444 cmpi.w %d0,&0x407f # no; is |exp| == $407f? 1472 cmpi.w %d0,&0x3c00 # is |exp| == $3c00? 1474 cmpi.w %d0,&0x43ff # no; is |exp| == $43ff? 2099 # OPERR : if ((k_factor > +17) || (dec. exp exceeds 3 digits)) 2530 bfextu FP_SRC(%a6){&1:&15},%d0 # get exp 5138 mov.l (%a0),%d1 # put exp in hi word 6733 mov.l (%a0),%d1 # pack exp w/ upper 16 fraction 6798 # fp0 = exp(X) or exp( [all...] |
H A D | pfpsp.S | 1441 cmpi.w %d0,&0x3f80 # is |exp| == $3f80? 1443 cmpi.w %d0,&0x407f # no; is |exp| == $407f? 1471 cmpi.w %d0,&0x3c00 # is |exp| == $3c00? 1473 cmpi.w %d0,&0x43ff # no; is |exp| == $43ff? 2098 # OPERR : if ((k_factor > +17) || (dec. exp exceeds 3 digits)) 2529 bfextu FP_SRC(%a6){&1:&15},%d0 # get exp 5428 cmp.w %d0, %d1 # is src exp >= dst exp? 5431 # dst exp is > src exp; scal [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | math-emu.h | 89 unsigned short exp; member in struct:fp_ext
|
/linux-master/arch/m68k/math-emu/ |
H A D | fp_emu.h | 48 #define IS_INF(a) ((a)->exp == 0x7fff) 104 dest->exp = 0x7fff; \
|
H A D | fp_util.S | 107 move.l %d1,(%a0)+ | set sign / exp 140 9: move.l %d1,(%a0)+ | fp_ext.sign, fp_ext.exp 178 9: move.l %d1,(%a0)+ | fp_ext.sign, fp_ext.exp
|
/linux-master/arch/parisc/math-emu/ |
H A D | cnv_float.h | 95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ 98 if (exp >= -2) { \ 99 if (exp == 0) { \ 143 inexact = Dallp2(srcB) << (2 + exp); \ 147 if (exp == -2) dest = Dallp1(srcA); \ 148 else Variable_shift_double(Dallp1(srcA),Dallp2(srcB),30-exp,dest); \ 154 if (exp > (1 - SGL_P)) { \ 155 dest = Dallp1(srcA) >> (- 2 - exp); \ 156 inexact = Dallp1(srcA) << (34 + exp); \ 165 if (exp [all...] |
H A D | dbl_float.h | 233 #define Dbl_set_exponent(dbl_value, exp) Deposit_dexponent(dbl_value,exp)
|
H A D | sgl_float.h | 145 #define Sgl_set_exponent(sgl_value,exp) Deposit_sexponent(sgl_value,exp)
|
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | e500mc_power_isa.dtsi | 50 power-isa-exp; // External Proxy
|