math: fix lrintl.s on x86_64 (use movslq to signextend the result)
authorSzabolcs Nagy <nsz@port70.net>
Thu, 5 Sep 2013 12:04:58 +0000 (12:04 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 5 Sep 2013 12:04:58 +0000 (12:04 +0000)
src/math/x86_64/lrintl.s

index 5d6a15af71c5113b883df4b70392f26f7b022b40..0e2c771240f83bc4082a664843d4b5fe707ee685 100644 (file)
@@ -3,5 +3,5 @@
 lrintl:
        fldt 8(%rsp)
        fistpl 8(%rsp)
-       mov 8(%rsp),%eax
+       movslq 8(%rsp),%rax
        ret