diff options
-rw-r--r-- | src/math/i386/acos.s | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/math/i386/acos.s b/src/math/i386/acos.s index 6f9ef7f0..4f0168f6 100644 --- a/src/math/i386/acos.s +++ b/src/math/i386/acos.s @@ -14,11 +14,19 @@ acosl: .type acos,@function acos: fldl 4(%esp) -1: fld %st(0) - fmul %st(0) +1: fld1 + fld %st(1) fld1 - fsubp %st(1) + fsubp + fxch %st(2) + faddp + fdivp fsqrt + fld1 fxch %st(1) fpatan + fld1 + fld1 + faddp + fmulp ret |