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 3f3b7eea7930f94e6cdaec8861466dc0c05daa85..1ec0817d3fd7dfa891347dad4e76ea780e5dda2a 100644 (file)
@@ -2,6 +2,6 @@
 .type llrintl,@function
 llrintl:
        fldt 8(%rsp)
-       fistpq 8(%rsp)
+       fistpll 8(%rsp)
        mov 8(%rsp),%rax
        ret