mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 08:08:36 +02:00
* do NOT specify R0 as available volatile register. Fixes cycle on ppc64/linux. Most probably the compiler starts using it as temp register which leads to bad code since in some instructions R0 means zero, not the value of R0.
git-svn-id: trunk@7039 -
This commit is contained in:
parent
3473faab07
commit
9c1604ea44
@ -68,7 +68,7 @@ uses
|
||||
function tppcparamanager.get_volatile_registers_int(calloption:
|
||||
tproccalloption): tcpuregisterset;
|
||||
begin
|
||||
result := [RS_R0,RS_R3..RS_R12];
|
||||
result := [RS_R3..RS_R12];
|
||||
if (target_info.system = system_powerpc64_darwin) then
|
||||
include(result,RS_R2);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user