mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 08:10:24 +01:00
* release temp when downgrading fpuregister value
git-svn-id: trunk@8530 -
This commit is contained in:
parent
07275c3dbe
commit
2f044481ae
@ -873,9 +873,10 @@ unit cgx86;
|
|||||||
(tosize<fromsize) then
|
(tosize<fromsize) then
|
||||||
begin
|
begin
|
||||||
{ can't round down to lower precision in x87 :/ }
|
{ can't round down to lower precision in x87 :/ }
|
||||||
tg.gettemp(list,tcgsize2size[tosize],tt_persistent,href);
|
tg.gettemp(list,tcgsize2size[tosize],tt_normal,href);
|
||||||
a_loadfpu_reg_ref(list,fromsize,tosize,NR_ST,href);
|
a_loadfpu_reg_ref(list,fromsize,tosize,NR_ST,href);
|
||||||
a_loadfpu_ref_reg(list,tosize,tosize,href,NR_ST);
|
a_loadfpu_ref_reg(list,tosize,tosize,href,NR_ST);
|
||||||
|
tg.ungettemp(list,href);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user