浏览代码

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 年之前
父节点
当前提交
9693b37c1a
共有 1 个文件被更改,包括 2 次插入0 次删除
  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));
               ai.SetCondition(flags_to_cond(location.resflags));
               current_asmdata.CurrAsmList.concat(ai);
               current_asmdata.CurrAsmList.concat(ai);
               current_asmdata.CurrAsmList.concat(taicpu.op_reg(A_TST,S_B,tmpreg));
               current_asmdata.CurrAsmList.concat(taicpu.op_reg(A_TST,S_B,tmpreg));
+              location.resflags:=F_E;
+
             end;
             end;
           else
           else
             // softfpu should be handled in pass1, others are not yet supported...
             // softfpu should be handled in pass1, others are not yet supported...