math: fix typo in i386 remquof and remquol asm
(fldl instruction was used instead of flds and fldt)
This commit is contained in:
parent
e68a4633e0
commit
ad23771c32
1 changed files with 5 additions and 5 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
.type remquof,@function
|
.type remquof,@function
|
||||||
remquof:
|
remquof:
|
||||||
mov 12(%esp),%ecx
|
mov 12(%esp),%ecx
|
||||||
fldl 8(%esp)
|
flds 8(%esp)
|
||||||
fldl 4(%esp)
|
flds 4(%esp)
|
||||||
mov 11(%esp),%dh
|
mov 11(%esp),%dh
|
||||||
xor 7(%esp),%dh
|
xor 7(%esp),%dh
|
||||||
jmp 1f
|
jmp 1f
|
||||||
|
|
@ -12,8 +12,8 @@ remquof:
|
||||||
.type remquol,@function
|
.type remquol,@function
|
||||||
remquol:
|
remquol:
|
||||||
mov 28(%esp),%ecx
|
mov 28(%esp),%ecx
|
||||||
fldl 16(%esp)
|
fldt 16(%esp)
|
||||||
fldl 4(%esp)
|
fldt 4(%esp)
|
||||||
mov 25(%esp),%dh
|
mov 25(%esp),%dh
|
||||||
xor 13(%esp),%dh
|
xor 13(%esp),%dh
|
||||||
jmp 1f
|
jmp 1f
|
||||||
|
|
@ -26,7 +26,7 @@ remquo:
|
||||||
fldl 4(%esp)
|
fldl 4(%esp)
|
||||||
mov 19(%esp),%dh
|
mov 19(%esp),%dh
|
||||||
xor 11(%esp),%dh
|
xor 11(%esp),%dh
|
||||||
1: fprem1
|
1: fprem1
|
||||||
fnstsw %ax
|
fnstsw %ax
|
||||||
sahf
|
sahf
|
||||||
jp 1b
|
jp 1b
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue