mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-15 23:30:40 +01:00
* ie on powerpc fixed: synching of fpu register variables wasn't implemented, maybe subject to be merged back to 2.0.x
git-svn-id: trunk@1078 -
This commit is contained in:
parent
32fac59ac5
commit
5c35fd818d
@ -486,6 +486,15 @@ interface
|
||||
if release_to_normal then
|
||||
tempinfo^.location.loc := LOC_REGISTER;
|
||||
end;
|
||||
LOC_CFPUREGISTER,
|
||||
LOC_FPUREGISTER:
|
||||
begin
|
||||
{ make sure the register allocator doesn't reuse the }
|
||||
{ register e.g. in the middle of a loop }
|
||||
cg.a_reg_sync(exprasmlist,tempinfo^.location.register);
|
||||
if release_to_normal then
|
||||
tempinfo^.location.loc := LOC_FPUREGISTER;
|
||||
end;
|
||||
else
|
||||
internalerror(200507161);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user