提交 0e195dfa 编写于 作者: R Rich Felker

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

上级 952700e8
...@@ -2,7 +2,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册