mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* Xtensa: unified DataMov2Data optimization
git-svn-id: trunk@49616 -
This commit is contained in:
parent
84507b49c2
commit
db8c723b9d
@ -273,10 +273,14 @@ Implementation
|
||||
ait_instruction:
|
||||
begin
|
||||
case taicpu(p).opcode of
|
||||
A_L32I:
|
||||
A_ADD,
|
||||
A_ADDI,
|
||||
A_L32I,
|
||||
A_SRLI,
|
||||
A_SUB:
|
||||
begin
|
||||
if GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) and
|
||||
RemoveSuperfluousMove(p, hp1, 'L32IMov2L32I') then
|
||||
RemoveSuperfluousMove(p, hp1, 'DataMov2Data') then
|
||||
Result:=true;
|
||||
end;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user