提交 2f1de805 编写于 作者: R Rich Felker

fix x86_64 lrintl asm, again

the underlying problem was not incorrect sign extension (fixed in the
previous commit to this file by nsz) but that code that treats "long"
as 32-bit was copied blindly from i386 to x86_64.

now lrintl is identical to llrintl on x86_64, as it should be.
上级 ff4be700
......@@ -2,6 +2,6 @@
.type lrintl,@function
lrintl:
fldt 8(%rsp)
fistpl 8(%rsp)
movslq 8(%rsp),%rax
fistpll 8(%rsp)
mov 8(%rsp),%rax
ret
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册