|
@@ -1788,7 +1788,7 @@ unit cgcpu;
|
|
|
|
|
|
if regs=[] then
|
|
|
begin
|
|
|
- if (current_settings.cputype<cpu_armv6) then
|
|
|
+ if (current_settings.cputype<cpu_armv5) then
|
|
|
list.concat(taicpu.op_reg_reg(A_MOV,NR_PC,NR_R14))
|
|
|
else
|
|
|
list.concat(taicpu.op_reg(A_BX,NR_R14))
|
|
@@ -1809,7 +1809,7 @@ unit cgcpu;
|
|
|
list.concat(setoppostfix(taicpu.op_ref_regset(A_LDM,ref,R_INTREGISTER,R_SUBWHOLE,regs),PF_EA));
|
|
|
end;
|
|
|
end
|
|
|
- else if (current_settings.cputype<cpu_armv6) then
|
|
|
+ else if (current_settings.cputype<cpu_armv5) then
|
|
|
list.concat(taicpu.op_reg_reg(A_MOV,NR_PC,NR_R14))
|
|
|
else
|
|
|
list.concat(taicpu.op_reg(A_BX,NR_R14))
|