* don't destroy r13 when copying data

git-svn-id: trunk@5470 -
This commit is contained in:
florian 2006-11-24 21:55:23 +00:00
parent f69f8041fe
commit b77a5016ca

View File

@ -162,6 +162,15 @@ unit rgcpu;
add_edge(getsupreg(taicpu(p).oper[1]^.reg),getsupreg(taicpu(p).oper[2]^.reg));
add_edge(getsupreg(taicpu(p).oper[0]^.reg),getsupreg(taicpu(p).oper[2]^.reg));
end;
A_LDRB,
A_STRB,
A_STR,
A_LDR,
A_LDRH,
A_STRH:
{ don't mix up the framepointer with pre/post indexed operations }
if (taicpu(p).oper[1]^.ref^.addressmode in [AM_PREINDEXED,AM_POSTINDEXED]) then
add_edge(getsupreg(taicpu(p).oper[1]^.ref^.base),getsupreg(current_procinfo.framepointer));
end;
end;
end;