mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 15:47:51 +02:00
* revert r19643: FloatToStr has to handle Nan correctly and should not cause
any exceptions (silent or not), FloatToStr has been fixed in r19783 git-svn-id: trunk@22877 -
This commit is contained in:
parent
3a017f76d0
commit
6345aee80b
@ -968,7 +968,7 @@ unit nx86add;
|
|||||||
|
|
||||||
{ load fpu flags }
|
{ load fpu flags }
|
||||||
cg.getcpuregister(current_asmdata.CurrAsmList,NR_AX);
|
cg.getcpuregister(current_asmdata.CurrAsmList,NR_AX);
|
||||||
emit_reg(A_FSTSW,S_NO,NR_AX);
|
emit_reg(A_FNSTSW,S_NO,NR_AX);
|
||||||
emit_none(A_SAHF,S_NO);
|
emit_none(A_SAHF,S_NO);
|
||||||
cg.ungetcpuregister(current_asmdata.CurrAsmList,NR_AX);
|
cg.ungetcpuregister(current_asmdata.CurrAsmList,NR_AX);
|
||||||
if nf_swapped in flags then
|
if nf_swapped in flags then
|
||||||
|
Loading…
Reference in New Issue
Block a user