Explorar el Código

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 hace 10 años
padre
commit
9693b37c1a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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...