summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math/i386/acos.s4
-rw-r--r--src/math/x86_64/acosl.s4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/math/i386/acos.s b/src/math/i386/acos.s
index 4f0168f6..bfff0c5c 100644
--- a/src/math/i386/acos.s
+++ b/src/math/i386/acos.s
@@ -18,12 +18,10 @@ acos:
fld %st(1)
fld1
fsubp
+ fsqrt
fxch %st(2)
faddp
- fdivp
fsqrt
- fld1
- fxch %st(1)
fpatan
fld1
fld1
diff --git a/src/math/x86_64/acosl.s b/src/math/x86_64/acosl.s
index 92c29870..db68d2de 100644
--- a/src/math/x86_64/acosl.s
+++ b/src/math/x86_64/acosl.s
@@ -6,12 +6,10 @@ acosl:
fld %st(1)
fld1
fsubp
+ fsqrt
fxch %st(2)
faddp
- fdivp
fsqrt
- fld1
- fxch %st(1)
fpatan
fld1
fld1