mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 23:40:14 +02:00
* fix for TCpuAsmOptimizer.OptPass1SXTW
This commit is contained in:
parent
018c1e5dfd
commit
fd94b6db91
@ -733,7 +733,7 @@ Implementation
|
|||||||
(taicpu(p).ops=2) and
|
(taicpu(p).ops=2) and
|
||||||
GetNextInstructionUsingReg(p,hp1,taicpu(p).oper[0]^.reg) and
|
GetNextInstructionUsingReg(p,hp1,taicpu(p).oper[0]^.reg) and
|
||||||
MatchInstruction(hp1, A_STR, [C_None], [PF_None]) and
|
MatchInstruction(hp1, A_STR, [C_None], [PF_None]) and
|
||||||
(getsubreg(taicpu(p).oper[0]^.reg)=R_SUBD) and
|
(getsubreg(taicpu(hp1).oper[0]^.reg)=R_SUBD) and
|
||||||
RegEndofLife(taicpu(p).oper[0]^.reg,taicpu(hp1)) and
|
RegEndofLife(taicpu(p).oper[0]^.reg,taicpu(hp1)) and
|
||||||
{ the reference in strb might not use reg2 }
|
{ the reference in strb might not use reg2 }
|
||||||
not(RegInRef(taicpu(p).oper[0]^.reg,taicpu(hp1).oper[1]^.ref^)) and
|
not(RegInRef(taicpu(p).oper[0]^.reg,taicpu(hp1).oper[1]^.ref^)) and
|
||||||
|
Loading…
Reference in New Issue
Block a user