Procházet zdrojové kódy

* 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 -
tom_at_work před 18 roky
rodič
revize
9c1604ea44
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/powerpc64/cpupara.pas

+ 1 - 1
compiler/powerpc64/cpupara.pas

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