Home
last modified time | relevance | path

Searched refs:EXP (Results 1 – 14 of 14) sorted by relevance

/arch/x86/math-emu/
Dreg_norm.S44 subw $32,EXP(%ebx) /* This can cause an underflow */
53 subw %cx,EXP(%ebx) /* This can cause an underflow */
59 cmpw EXP_OVER,EXP(%ebx)
62 cmpw EXP_UNDER,EXP(%ebx)
69 addw EXTENDED_Ebias,EXP(%ebx)
70 andw $0x7fff,EXP(%ebx)
79 movw $0,EXP(%ebx)
85 addw EXTENDED_Ebias,EXP(%ebx)
93 addw EXTENDED_Ebias,EXP(%ebx)
122 subw $32,EXP(%ebx) /* This can cause an underflow */
[all …]
Dreg_round.S137 cmpw EXP_UNDER,EXP(%edi)
382 incw EXP(%edi)
413 cmpw EXP_OVER,EXP(%edi)
419 addw EXTENDED_Ebias,EXP(%edi)
420 andw $0x7fff,EXP(%edi)
427 orw $0x8000,EXP(%edi) /* Negative sign for the result. */
483 subw EXP(%edi),%cx
496 addw %cx,EXP(%edi)
509 addw %cx,EXP(%edi)
534 addw %cx,EXP(%edi)
[all …]
Dreg_u_sub.S69 movw %dx,EXP(%edi) /* Copy exponent to destination */
195 subw $64,EXP(%edi)
206 movw $0,EXP(%edi) /* exponent */
216 subw $32,EXP(%edi) /* Can get underflow here */
226 subw %cx,EXP(%edi) /* Can get underflow here */
Dreg_u_div.S93 movswl EXP(%esi),%edx
94 movswl EXP(%ebx),%eax
107 movw %dx,EXP(%edi)
150 incw EXP(%edi)
426 incw EXP(%edi)
436 decw EXP(%edi) /* binary point between 1st & 2nd bits */
Dreg_u_mul.S109 movw %ax,EXP(%edi)
120 decw EXP(%edi)
Dfpu_asm.h27 #define EXP(x) 8(x) macro
Dreg_u_add.S66 movw %dx,EXP(%edi) /* Copy exponent to destination */
146 incw EXP(%edi)
Dwm_sqrt.S96 cmpw EXP_BIAS,EXP(%esi)
351 movw EXP_BIAS,EXP(%edi) /* Result is in [1.0 .. 2.0) */
/arch/m68k/fpsp040/
Dscosh.S89 |--COSH(X) = (1/2) * ( EXP(X) + 1/EXP(X) )
96 bsr setox | ...FP0 IS EXP(|X|)
97 fmuls #0x3F000000,%fp0 | ...(1/2)EXP(|X|)
101 fdivx %fp0,%fp1 | ...1/(2 EXP(|X|))
Dstanh.S129 |--TANH(X) = 1 - (2/[EXP(2X)+1]). LET Y = 2|X|, SGN = SIGN(X),
130 |--TANH(X) = SGN - SGN*2/[EXP(Y)+1].
144 bsr setox | ...FP0 IS EXP(Y)
147 fadds #0x3F800000,%fp0 | ...EXP(Y)+1
151 fdivx %fp0,%fp1 | ...-SIGN(X)2 / [EXP(Y)+1 ]
Dsetox.S512 |--WE NOW COMPUTE EXP(R)-1 BY A POLYNOMIAL
546 faddx %fp2,%fp0 | ...fp0 is EXP(R) - 1
551 |--EXP(X) = 2^M * ( 2^(J/64) + 2^(J/64)*(EXP(R)-1) )
679 |--WE NOW COMPUTE EXP(R)-1 BY A POLYNOMIAL
722 faddx %fp2,%fp0 | ...fp0 IS EXP(R)-1
/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c21 #define EXP 753 /* exp(-1) in fixed-point */ macro
39 info->busy_spus = calc_load(info->busy_spus, EXP, busy_spus * FIXED_1); in calc_freq()
/arch/m68k/ifpsp060/src/
Dfplsp.S5552 add.l &0x00003FFF,%d2 # BIASED EXP OF 2**L * (PI/2)
5956 mov.l &0x00003FFE,%d2 # BIASED EXP OF 2/PI
5957 sub.l %d1,%d2 # BIASED EXP OF 2**(-L)*(2/PI)
7151 #--WE NOW COMPUTE EXP(R)-1 BY A POLYNOMIAL
7182 fadd.x %fp2,%fp0 # fp0 is EXP(R) - 1
7186 #--EXP(X) = 2^M * ( 2^(J/64) + 2^(J/64)*(EXP(R)-1) )
7252 #--entry point for EXP(X), X is denormalized
7314 #--WE NOW COMPUTE EXP(R)-1 BY A POLYNOMIAL
7352 fadd.x %fp2,%fp0 # fp0 IS EXP(R)-1
7624 #--COSH(X) = (1/2) * ( EXP(X) + 1/EXP(X) )
[all …]
Dfpsp.S5631 mov.l &0x00003FFE,%d2 # BIASED EXP OF 2/PI
5632 sub.l %d1,%d2 # BIASED EXP OF 2**(-L)*(2/PI)
6089 add.l &0x00003FFF,%d2 # BIASED EXP OF 2**L * (PI/2)
6402 mov.l %d1,%d2 # THE EXP AND 16 BITS OF X
7208 #--entry point for EXP(X), here X is finite, non-zero, and not NaN's