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 5d6a15a..0e2c771 100644 (file)
@@ -3,5 +3,5 @@
 lrintl:
        fldt 8(%rsp)
        fistpl 8(%rsp)
-       mov 8(%rsp),%eax
+       movslq 8(%rsp),%rax
        ret