mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 18:30:56 +02:00
* 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 -
This commit is contained in:
parent
3f4682400c
commit
e14d8e6611
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user