use fistpll mnemonic instead of fistpq (more widely supported) on x86_64 too
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Jun 2012 20:48:22 +0000 (16:48 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Jun 2012 20:48:22 +0000 (16:48 -0400)
this was fixed previously on i386 but the corresponding code on x86_64
was missed.

src/math/x86_64/llrintl.s

index 3f3b7ee..1ec0817 100644 (file)
@@ -2,6 +2,6 @@
 .type llrintl,@function
 llrintl:
        fldt 8(%rsp)
-       fistpq 8(%rsp)
+       fistpll 8(%rsp)
        mov 8(%rsp),%rax
        ret