mirror of
https://github.com/cc65/cc65.git
synced 2024-11-17 09:07:32 +00:00
Added another op-code to the test pattern for a right-shift optimizer in cc65.
This commit is contained in:
parent
5e7c7d78fc
commit
bdbf75372c
@ -341,7 +341,7 @@ unsigned OptShift2 (CodeSeg* S)
|
||||
L[0] = CS_GetEntry (S, I);
|
||||
|
||||
/* Check for the sequence */
|
||||
if (L[0]->OPC == OP65_BPL &&
|
||||
if ((L[0]->OPC == OP65_BPL || L[0]->OPC == OP65_BCC) &&
|
||||
L[0]->JumpTo != 0 &&
|
||||
CS_GetEntries (S, L+1, I+1, 3) &&
|
||||
L[1]->OPC == OP65_DEX &&
|
||||
|
Loading…
Reference in New Issue
Block a user