diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-11 14:59:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-11 14:59:36 -0400 |
commit | cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d (patch) | |
tree | 1b31699a4a1f58d2362bcfe99f19059ee65b7048 | |
parent | 4054da9ba062c694dc4fde5c577fcb6da7743bc9 (diff) | |
parent | 37eaec3ad396ea4502f4aea2395b3b5f5f69a1c6 (diff) | |
download | musl-cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d.tar.gz musl-cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d.tar.bz2 musl-cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d.tar.xz musl-cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d.zip |
Merge remote branch 'nsz/master'
-rw-r--r-- | src/math/i386/asin.s | 5 | ||||
-rw-r--r-- | src/math/x86_64/asinl.s | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/math/i386/asin.s b/src/math/i386/asin.s index cab7bfc8..932c7542 100644 --- a/src/math/i386/asin.s +++ b/src/math/i386/asin.s @@ -15,9 +15,10 @@ asinl: asin: fldl 4(%esp) 1: fld %st(0) - fmul %st(0) fld1 - fsubp %st(1) + fsub %st(0),%st(1) + fadd %st(2) + fmulp fsqrt fpatan ret diff --git a/src/math/x86_64/asinl.s b/src/math/x86_64/asinl.s index 83c392f7..ed212d9a 100644 --- a/src/math/x86_64/asinl.s +++ b/src/math/x86_64/asinl.s @@ -3,10 +3,10 @@ asinl: fldt 8(%rsp) 1: fld %st(0) - fmul %st(0) fld1 - fsubp %st(1) + fsub %st(0),%st(1) + fadd %st(2) + fmulp fsqrt fpatan ret - |