Browse Source

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

Szabolcs Nagy 11 năm trước cách đây
mục cha
commit
e5937885de
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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