summaryrefslogtreecommitdiff
path: root/src/math/i386/atanf.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/atanf.s')
-rw-r--r--src/math/i386/atanf.s9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/math/i386/atanf.s b/src/math/i386/atanf.s
index 8caddefa..c2cbe2e0 100644
--- a/src/math/i386/atanf.s
+++ b/src/math/i386/atanf.s
@@ -8,12 +8,11 @@ atanf:
jb 1f
fld1
fpatan
+ fstps 4(%esp)
+ flds 4(%esp)
ret
# subnormal x, return x with underflow
-1: fnstsw %ax
- and $16,%ax
- jnz 2f
- fld %st(0)
+1: fld %st(0)
fmul %st(1)
fstps 4(%esp)
-2: ret
+ ret