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 e961b35dc0bf8d279ad9462c63475550df56f671..eaa7f1fbb6b2e38ebff6462397bdac8e110e0ab5 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 84e63867663da6fc290c31226e5fec4b6b873756..fd9a1cbd4ef5ebd1281867878661ef7959b10862 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