Browse Source

Fix for test tw19368

git-svn-id: trunk@19643 -
pierre 13 years ago
parent
commit
85862e476b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/nx86add.pas

+ 1 - 1
compiler/x86/nx86add.pas

@@ -960,7 +960,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_FNSTSW,S_NO,NR_AX);
+            emit_reg(A_FSTSW,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