mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-19 20:59:30 +01:00
m68k: more FMOVEM.X store/load size fixes
git-svn-id: trunk@30062 -
This commit is contained in:
parent
acaf382ea0
commit
106056f462
@ -1840,7 +1840,7 @@ unit cgcpu;
|
||||
if saved_fpu_registers[r] in rg[R_FPUREGISTER].used_in_proc then
|
||||
begin
|
||||
hfreg:=newreg(R_FPUREGISTER,saved_fpu_registers[r],R_SUBWHOLE);
|
||||
inc(fsize,10{sizeof(extended)});
|
||||
inc(fsize,12{sizeof(extended)});
|
||||
fpuregs:=fpuregs + [saved_fpu_registers[r]];
|
||||
end;
|
||||
|
||||
@ -1961,7 +1961,7 @@ unit cgcpu;
|
||||
begin
|
||||
{ size is always longword aligned, while fsize is not }
|
||||
inc(href.offset,size);
|
||||
if fsize = 10{sizeof(extended)} then
|
||||
if fsize = 12{sizeof(extended)} then
|
||||
list.concat(taicpu.op_ref_reg(A_FMOVE,S_FX,href,hfreg))
|
||||
else
|
||||
list.concat(taicpu.op_ref_regset(A_FMOVEM,S_FX,href,[],[],fpuregs));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user