mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 19:50: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,dst,imm2));
|
||||
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
|
||||
split_into_shifter_const(a, imm1, imm2) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user