mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:49:12 +02:00
* don't destroy r13 when copying data
git-svn-id: trunk@5470 -
This commit is contained in:
parent
f69f8041fe
commit
b77a5016ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user