bug fix: wrong opcode for writing long long
authorRich Felker <dalias@aerifal.cx>
Mon, 19 Mar 2012 17:58:47 +0000 (13:58 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 19 Mar 2012 17:58:47 +0000 (13:58 -0400)
src/math/i386/llrint.s
src/math/i386/llrintl.s

index e961b35..eaa7f1f 100644 (file)
@@ -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
index 84e6386..fd9a1cb 100644 (file)
@@ -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