* fixed stm/ldm for usage with large temp. areas

git-svn-id: trunk@3633 -
This commit is contained in:
florian 2006-05-22 21:00:55 +00:00
parent 3a03aee386
commit 2ddd617971

View File

@ -1187,7 +1187,7 @@ unit cgcpu;
if firstfloatreg<>RS_NO then
begin
reference_reset(ref);
if not(is_shifter_const(-tarmprocinfo(current_procinfo).floatregstart,shift)) then
if tarmprocinfo(current_procinfo).floatregstart<=-1023 then
begin
a_load_const_reg(list,OS_ADDR,-tarmprocinfo(current_procinfo).floatregstart,NR_R12);
list.concat(taicpu.op_reg_reg_reg(A_SUB,NR_R12,NR_FRAME_POINTER_REG,NR_R12));
@ -1228,7 +1228,7 @@ unit cgcpu;
if firstfloatreg<>RS_NO then
begin
reference_reset(ref);
if not(is_shifter_const(-tarmprocinfo(current_procinfo).floatregstart,shift)) then
if tarmprocinfo(current_procinfo).floatregstart<=-1023 then
begin
a_load_const_reg(list,OS_ADDR,-tarmprocinfo(current_procinfo).floatregstart,NR_R12);
list.concat(taicpu.op_reg_reg_reg(A_SUB,NR_R12,NR_FRAME_POINTER_REG,NR_R12));