mirror of git://git.musl-libc.org/musl
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.
This commit is contained in:
parent
ff4be700d0
commit
2f1de8051b
|
@ -2,6 +2,6 @@
|
||||||
.type lrintl,@function
|
.type lrintl,@function
|
||||||
lrintl:
|
lrintl:
|
||||||
fldt 8(%rsp)
|
fldt 8(%rsp)
|
||||||
fistpl 8(%rsp)
|
fistpll 8(%rsp)
|
||||||
movslq 8(%rsp),%rax
|
mov 8(%rsp),%rax
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in New Issue