Browse Source

m68k: actually,overwrite the resflags with F_E, because only that would be valid after the FSxx/TST combination

git-svn-id: trunk@29705 -
Károly Balogh 10 years ago
parent
commit
9693b37c1a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/m68k/n68kadd.pas

+ 2 - 0
compiler/m68k/n68kadd.pas

@@ -192,6 +192,8 @@ implementation
               ai.SetCondition(flags_to_cond(location.resflags));
               current_asmdata.CurrAsmList.concat(ai);
               current_asmdata.CurrAsmList.concat(taicpu.op_reg(A_TST,S_B,tmpreg));
+              location.resflags:=F_E;
+
             end;
           else
             // softfpu should be handled in pass1, others are not yet supported...