ソースを参照

math: fix lrintl.s on x86_64 (use movslq to signextend the result)

Szabolcs Nagy 11 年 前
コミット
e5937885de
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/math/x86_64/lrintl.s

+ 1 - 1
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