some assemblers don't like fistpq; use the alt. mnemonic fistpll
This commit is contained in:
parent
952700e8c3
commit
0e195dfaa4
3 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
.type llrint,@function
|
.type llrint,@function
|
||||||
llrint:
|
llrint:
|
||||||
fldl 4(%esp)
|
fldl 4(%esp)
|
||||||
fistpq 4(%esp)
|
fistpll 4(%esp)
|
||||||
mov 4(%esp),%eax
|
mov 4(%esp),%eax
|
||||||
mov 8(%esp),%edx
|
mov 8(%esp),%edx
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
llrintf:
|
llrintf:
|
||||||
sub $8,%esp
|
sub $8,%esp
|
||||||
flds 12(%esp)
|
flds 12(%esp)
|
||||||
fistpq (%esp)
|
fistpll (%esp)
|
||||||
pop %eax
|
pop %eax
|
||||||
pop %edx
|
pop %edx
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.type llrintl,@function
|
.type llrintl,@function
|
||||||
llrintl:
|
llrintl:
|
||||||
fldt 4(%esp)
|
fldt 4(%esp)
|
||||||
fistpq 4(%esp)
|
fistpll 4(%esp)
|
||||||
mov 4(%esp),%eax
|
mov 4(%esp),%eax
|
||||||
mov 8(%esp),%edx
|
mov 8(%esp),%edx
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue