some assemblers don't like fistpq; use the alt. mnemonic fistpll

This commit is contained in:
Rich Felker 2012-05-07 18:05:50 -04:00
parent 952700e8c3
commit 0e195dfaa4
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@
llrintf:
sub $8,%esp
flds 12(%esp)
fistpq (%esp)
fistpll (%esp)
pop %eax
pop %edx
ret

View File

@ -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