mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-23 10:49:17 +02:00
Try to split constant XORs into two shiftimms on ARM.
git-svn-id: trunk@26448 -
This commit is contained in:
parent
aec73bce68
commit
3ab665e554
@ -1020,7 +1020,7 @@ unit cgcpu;
|
|||||||
list.concat(taicpu.op_reg_reg_const(A_BIC,dst,src,imm1));
|
list.concat(taicpu.op_reg_reg_const(A_BIC,dst,src,imm1));
|
||||||
list.concat(taicpu.op_reg_reg_const(A_BIC,dst,dst,imm2));
|
list.concat(taicpu.op_reg_reg_const(A_BIC,dst,dst,imm2));
|
||||||
end
|
end
|
||||||
else if (op in [OP_ADD, OP_SUB, OP_OR]) and
|
else if (op in [OP_ADD, OP_SUB, OP_OR, OP_XOR]) and
|
||||||
not(cgsetflags or setflags) and
|
not(cgsetflags or setflags) and
|
||||||
split_into_shifter_const(a, imm1, imm2) then
|
split_into_shifter_const(a, imm1, imm2) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user