summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-19 13:58:47 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-19 13:58:47 -0400
commitd9c1d72cdc993f3f701f0eea74f370420582e5f6 (patch)
tree0155b130c03cdf68dbc33fdd7ce402dcad4d509b /src
parentb04b588791e6afbe7e91684546b446b136fd518c (diff)
downloadmusl-d9c1d72cdc993f3f701f0eea74f370420582e5f6.tar.gz
musl-d9c1d72cdc993f3f701f0eea74f370420582e5f6.tar.bz2
musl-d9c1d72cdc993f3f701f0eea74f370420582e5f6.tar.xz
musl-d9c1d72cdc993f3f701f0eea74f370420582e5f6.zip
bug fix: wrong opcode for writing long long
Diffstat (limited to 'src')
-rw-r--r--src/math/i386/llrint.s2
-rw-r--r--src/math/i386/llrintl.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/i386/llrint.s b/src/math/i386/llrint.s
index e961b35d..eaa7f1fb 100644
--- a/src/math/i386/llrint.s
+++ b/src/math/i386/llrint.s
@@ -2,7 +2,7 @@
.type llrint,@function
llrint:
fldl 4(%esp)
- fistpl 4(%esp)
+ fistpq 4(%esp)
mov 4(%esp),%eax
mov 8(%esp),%edx
ret
diff --git a/src/math/i386/llrintl.s b/src/math/i386/llrintl.s
index 84e63867..fd9a1cbd 100644
--- a/src/math/i386/llrintl.s
+++ b/src/math/i386/llrintl.s
@@ -2,7 +2,7 @@
.type llrintl,@function
llrintl:
fldt 4(%esp)
- fistpl 4(%esp)
+ fistpq 4(%esp)
mov 4(%esp),%eax
mov 8(%esp),%edx
ret