diff options
author | nsz <nsz@port70.net> | 2012-03-19 10:20:24 +0100 |
---|---|---|
committer | nsz <nsz@port70.net> | 2012-03-19 10:20:24 +0100 |
commit | 9322344fa4c47a64361a81eda1b1930cd4341626 (patch) | |
tree | 94a641e60aef228d799035dc7c4a889ff39e4b3a /src/math/i386/acos.s | |
parent | 0627e58af8514967372a8ff703e7a86c2571acc2 (diff) | |
parent | 58ff9e8eaf99f2294232be860daa2ca6f3674faf (diff) | |
download | musl-9322344fa4c47a64361a81eda1b1930cd4341626.tar.gz |
Merge branch 'master' of git://git.etalabs.net/musl
Diffstat (limited to 'src/math/i386/acos.s')
-rw-r--r-- | src/math/i386/acos.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/math/i386/acos.s b/src/math/i386/acos.s new file mode 100644 index 00000000..6f9ef7f0 --- /dev/null +++ b/src/math/i386/acos.s @@ -0,0 +1,24 @@ +.global acosf +.type acosf,@function +acosf: + flds 4(%esp) + jmp 1f + +.global acosl +.type acosl,@function +acosl: + fldt 4(%esp) + jmp 1f + +.global acos +.type acos,@function +acos: + fldl 4(%esp) +1: fld %st(0) + fmul %st(0) + fld1 + fsubp %st(1) + fsqrt + fxch %st(1) + fpatan + ret |