Преглед на файлове

m68k/cgcpu.pas, tcg68k.a_op_const_reg:
leave "and" and "or" as "and" and "or" as according to the assembly language reference the
assembler should automatically choose the correct instruction (though Coldfire still should
be tested for ORI/ANDI to CCR

git-svn-id: trunk@22733 -

svenbarth преди 13 години
родител
ревизия
cfadcf3769
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      compiler/m68k/cgcpu.pas

+ 0 - 5
compiler/m68k/cgcpu.pas

@@ -697,11 +697,6 @@ unit cgcpu;
           OP_AND,
           OP_OR:
               begin
-                { TODO: on Coldfire ORI/ANDI to CCR is not supported }
-                if op=OP_AND then
-                  opcode:=A_ANDI
-                else
-                  opcode:=A_ORI;
                 if isaddressregister(reg) then
                   begin
                     { use scratch register (there is a anda/ora though...) }