mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:09:20 +02:00
* fix SltiuAndi2Sltiu optimization
This commit is contained in:
parent
6215d7e8d2
commit
d91be468da
@ -749,7 +749,7 @@ implementation
|
|||||||
end
|
end
|
||||||
else if MatchInstruction(hp1,A_ANDI) and
|
else if MatchInstruction(hp1,A_ANDI) and
|
||||||
(taicpu(hp1).ops=3) and
|
(taicpu(hp1).ops=3) and
|
||||||
(taicpu(p).oper[2]^.val>0) and
|
(taicpu(hp1).oper[2]^.val>0) and
|
||||||
MatchOperand(taicpu(hp1).oper[1]^,taicpu(p).oper[0]^) and
|
MatchOperand(taicpu(hp1).oper[1]^,taicpu(p).oper[0]^) and
|
||||||
MatchOperand(taicpu(hp1).oper[0]^,taicpu(hp1).oper[1]^) then
|
MatchOperand(taicpu(hp1).oper[0]^,taicpu(hp1).oper[1]^) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user