mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 04:52:17 +02:00
* Xtensa: trgcpu.do_spill_op fixed
* cleanup git-svn-id: trunk@46820 -
This commit is contained in:
parent
27b4f3df60
commit
ddf26cb3d2
@ -200,7 +200,7 @@ unit cpupi;
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{ a frame pointer would be only needed if we do an " alloca" }
|
{ a frame pointer would be only needed if we do an "alloca" }
|
||||||
RS_FRAME_POINTER_REG:=RS_A15;
|
RS_FRAME_POINTER_REG:=RS_A15;
|
||||||
NR_FRAME_POINTER_REG:=NR_A15;
|
NR_FRAME_POINTER_REG:=NR_A15;
|
||||||
end;
|
end;
|
||||||
|
@ -41,7 +41,6 @@ unit rgcpu;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
trgintcpu=class(trgcpu)
|
trgintcpu=class(trgcpu)
|
||||||
procedure add_cpu_interferences(p: tai); override;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -117,9 +116,9 @@ implementation
|
|||||||
tmpref.offset:=spilltemp.offset mod 256;
|
tmpref.offset:=spilltemp.offset mod 256;
|
||||||
|
|
||||||
helpins:=taicpu.op_reg_ref(op,tempreg,tmpref);
|
helpins:=taicpu.op_reg_ref(op,tempreg,tmpref);
|
||||||
if getregtype(tempreg)=R_INTREGISTER then
|
|
||||||
ungetregisterinline(helplist,hreg);
|
|
||||||
helplist.concat(helpins);
|
helplist.concat(helpins);
|
||||||
|
if (getregtype(tempreg)=R_INTREGISTER) and not(isload) then
|
||||||
|
ungetregisterinline(helplist,hreg);
|
||||||
list.insertlistafter(pos,helplist);
|
list.insertlistafter(pos,helplist);
|
||||||
helplist.free;
|
helplist.free;
|
||||||
end
|
end
|
||||||
@ -130,13 +129,4 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
procedure trgintcpu.add_cpu_interferences(p: tai);
|
|
||||||
var
|
|
||||||
i, j: longint;
|
|
||||||
begin
|
|
||||||
if p.typ=ait_instruction then
|
|
||||||
begin
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user