* 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:
tom_at_work 2007-03-31 14:50:02 +00:00
parent 3473faab07
commit 9c1604ea44

View File

@ -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;