Browse Source

bug fix: wrong opcode for writing long long

rs-1.0
Rich Felker 14 years ago
parent
commit
d9c1d72cdc
  1. 2
      src/math/i386/llrint.s
  2. 2
      src/math/i386/llrintl.s

2
src/math/i386/llrint.s

@ -2,7 +2,7 @@
.type llrint,@function .type llrint,@function
llrint: llrint:
fldl 4(%esp) fldl 4(%esp)
fistpl 4(%esp) fistpq 4(%esp)
mov 4(%esp),%eax mov 4(%esp),%eax
mov 8(%esp),%edx mov 8(%esp),%edx
ret ret

2
src/math/i386/llrintl.s

@ -2,7 +2,7 @@
.type llrintl,@function .type llrintl,@function
llrintl: llrintl:
fldt 4(%esp) fldt 4(%esp)
fistpl 4(%esp) fistpq 4(%esp)
mov 4(%esp),%eax mov 4(%esp),%eax
mov 8(%esp),%edx mov 8(%esp),%edx
ret ret

Loading…
Cancel
Save