Merge remote branch 'nsz/master'
This commit is contained in:
commit
0b337e04aa
1 changed files with 10 additions and 10 deletions
|
|
@ -32,22 +32,22 @@ feraiseexcept:
|
||||||
fesetround:
|
fesetround:
|
||||||
mov 4(%esp),%ecx
|
mov 4(%esp),%ecx
|
||||||
xor %eax,%eax
|
xor %eax,%eax
|
||||||
sub $32,%esp
|
sub $4,%esp
|
||||||
fnstenv (%esp)
|
fnstcw (%esp)
|
||||||
andb $0xf3,1(%esp)
|
andb $0xf3,1(%esp)
|
||||||
or %ecx,(%esp)
|
or %cx,(%esp)
|
||||||
fldenv (%esp)
|
fldcw (%esp)
|
||||||
add $32,%esp
|
add $4,%esp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.global fegetround
|
.global fegetround
|
||||||
.type fegetround,@function
|
.type fegetround,@function
|
||||||
fegetround:
|
fegetround:
|
||||||
sub $28,%esp
|
sub $4,%esp
|
||||||
fnstenv (%esp)
|
fnstcw (%esp)
|
||||||
mov 4(%esp),%eax
|
mov (%esp),%ax
|
||||||
add $28,%esp
|
add $4,%esp
|
||||||
and $0xc,%ah
|
and $0xc00,%eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.global fegetenv
|
.global fegetenv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue