mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 07:28:26 +02:00
- disable Slti0B2B as well
This commit is contained in:
parent
ad50adf5f3
commit
860a2d0145
@ -627,6 +627,9 @@ implementation
|
||||
(taicpu(p).oper[2]^.val=0) and
|
||||
GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) then
|
||||
begin
|
||||
{
|
||||
we cannot do this optimization yet as we don't know if taicpu(p).oper[0]^.reg isn't used after taking the branch
|
||||
|
||||
if MatchInstruction(hp1,A_Bxx) and
|
||||
(taicpu(hp1).ops=3) and
|
||||
(taicpu(hp1).oper[0]^.typ=top_reg) and
|
||||
@ -652,7 +655,7 @@ implementation
|
||||
result:=true;
|
||||
exit;
|
||||
end
|
||||
else if MatchInstruction(hp1,A_ANDI) and
|
||||
else } if MatchInstruction(hp1,A_ANDI) and
|
||||
(taicpu(hp1).ops=3) and
|
||||
(taicpu(hp1).oper[2]^.val>0) and
|
||||
MatchOperand(taicpu(hp1).oper[1]^,taicpu(p).oper[0]^) and
|
||||
|
Loading…
Reference in New Issue
Block a user