Pārlūkot izejas kodu

* don't replace cmplwi's with flag-setting variants of integer operations,
as the latter perform a signed comparison with 0

git-svn-id: trunk@1365 -

Jonas Maebe 20 gadi atpakaļ
vecāks
revīzija
e14d8e6611
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      compiler/powerpc/aoptcpu.pas

+ 1 - 2
compiler/powerpc/aoptcpu.pas

@@ -260,8 +260,7 @@ Implementation
                (taicpu(p).oper[1]^.typ = top_reg) and
                getnextinstruction(p,next1) and
                (next1.typ = ait_instruction) and
-               ((taicpu(next1).opcode = A_CMPWI) or
-                (taicpu(next1).opcode = A_CMPLWI)) and
+               (taicpu(next1).opcode = A_CMPWI) and
                // make sure it the result goes to cr0
                (((taicpu(next1).ops = 2) and
                  (taicpu(next1).oper[1]^.val = 0) and