about summary refs log tree commit diff
path: root/src/math/x86_64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-09-05 12:04:58 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-09-05 12:04:58 +0000
commite5937885de3c8d493a9d2978aa46a771740c7458 (patch)
treeb9a8418ba05c5661d1256047085a94aff387008b /src/math/x86_64
parent07039ed8563b850624146c938ae201a1099d2f75 (diff)
downloadmusl-e5937885de3c8d493a9d2978aa46a771740c7458.tar.gz
musl-e5937885de3c8d493a9d2978aa46a771740c7458.tar.xz
musl-e5937885de3c8d493a9d2978aa46a771740c7458.zip
math: fix lrintl.s on x86_64 (use movslq to signextend the result)
Diffstat (limited to 'src/math/x86_64')
-rw-r--r--src/math/x86_64/lrintl.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/x86_64/lrintl.s b/src/math/x86_64/lrintl.s
index 5d6a15af..0e2c7712 100644
--- a/src/math/x86_64/lrintl.s
+++ b/src/math/x86_64/lrintl.s
@@ -3,5 +3,5 @@
 lrintl:
 	fldt 8(%rsp)
 	fistpl 8(%rsp)
-	mov 8(%rsp),%eax
+	movslq 8(%rsp),%rax
 	ret