summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-07 18:05:50 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-07 18:05:50 -0400
commit0e195dfaa4902a73179f7ab296d47f01d3518ad3 (patch)
tree6e77a9f445b663b5e946039ce34140aae63c5dc9 /src/math
parent952700e8c32f7e81045cd01e1ecb3f7ca3f4c762 (diff)
downloadmusl-0e195dfaa4902a73179f7ab296d47f01d3518ad3.tar.gz
musl-0e195dfaa4902a73179f7ab296d47f01d3518ad3.tar.bz2
musl-0e195dfaa4902a73179f7ab296d47f01d3518ad3.tar.xz
musl-0e195dfaa4902a73179f7ab296d47f01d3518ad3.zip
some assemblers don't like fistpq; use the alt. mnemonic fistpll
Diffstat (limited to 'src/math')
-rw-r--r--src/math/i386/llrint.s2
-rw-r--r--src/math/i386/llrintf.s2
-rw-r--r--src/math/i386/llrintl.s2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/math/i386/llrint.s b/src/math/i386/llrint.s
index eaa7f1fb..8e89cd91 100644
--- a/src/math/i386/llrint.s
+++ b/src/math/i386/llrint.s
@@ -2,7 +2,7 @@
.type llrint,@function
llrint:
fldl 4(%esp)
- fistpq 4(%esp)
+ fistpll 4(%esp)
mov 4(%esp),%eax
mov 8(%esp),%edx
ret
diff --git a/src/math/i386/llrintf.s b/src/math/i386/llrintf.s
index 1905cdcd..aa850c6c 100644
--- a/src/math/i386/llrintf.s
+++ b/src/math/i386/llrintf.s
@@ -3,7 +3,7 @@
llrintf:
sub $8,%esp
flds 12(%esp)
- fistpq (%esp)
+ fistpll (%esp)
pop %eax
pop %edx
ret
diff --git a/src/math/i386/llrintl.s b/src/math/i386/llrintl.s
index fd9a1cbd..1cfb56f1 100644
--- a/src/math/i386/llrintl.s
+++ b/src/math/i386/llrintl.s
@@ -2,7 +2,7 @@
.type llrintl,@function
llrintl:
fldt 4(%esp)
- fistpq 4(%esp)
+ fistpll 4(%esp)
mov 4(%esp),%eax
mov 8(%esp),%edx
ret