mirror of git://git.musl-libc.org/musl
some assemblers don't like fistpq; use the alt. mnemonic fistpll
This commit is contained in:
parent
952700e8c3
commit
0e195dfaa4
|
@ -2,7 +2,7 @@
|
|||
.type llrint,@function
|
||||
llrint:
|
||||
fldl 4(%esp)
|
||||
fistpq 4(%esp)
|
||||
fistpll 4(%esp)
|
||||
mov 4(%esp),%eax
|
||||
mov 8(%esp),%edx
|
||||
ret
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
llrintf:
|
||||
sub $8,%esp
|
||||
flds 12(%esp)
|
||||
fistpq (%esp)
|
||||
fistpll (%esp)
|
||||
pop %eax
|
||||
pop %edx
|
||||
ret
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
.type llrintl,@function
|
||||
llrintl:
|
||||
fldt 4(%esp)
|
||||
fistpq 4(%esp)
|
||||
fistpll 4(%esp)
|
||||
mov 4(%esp),%eax
|
||||
mov 8(%esp),%edx
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue