From e5937885de3c8d493a9d2978aa46a771740c7458 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 5 Sep 2013 12:04:58 +0000 Subject: [PATCH] math: fix lrintl.s on x86_64 (use movslq to signextend the result) --- src/math/x86_64/lrintl.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1