* fix SltiuAndi2Sltiu optimization

This commit is contained in:
florian 2025-03-07 22:20:37 +01:00
parent 6215d7e8d2
commit d91be468da

View File

@ -749,7 +749,7 @@ implementation
end
else if MatchInstruction(hp1,A_ANDI) 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[0]^,taicpu(hp1).oper[1]^) then
begin