Browse Source

* start with a qword aligned frame pointer to enable more ldrd/strd optimizations

git-svn-id: trunk@22061 -
florian 13 years ago
parent
commit
19debd87cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/arm/cpupi.pas

+ 1 - 1
compiler/arm/cpupi.pas

@@ -69,7 +69,7 @@ unit cpupi;
               { Non-Darwin, worst case: r4-r10,r11,r13,r14,r15 is saved -> -28-16, but we
               { Non-Darwin, worst case: r4-r10,r11,r13,r14,r15 is saved -> -28-16, but we
                 always adjust the frame pointer to point to the first stored
                 always adjust the frame pointer to point to the first stored
                 register (= last register in list above) -> + 4 }
                 register (= last register in list above) -> + 4 }
-              tg.setfirsttemp(-28-16+4)
+              tg.setfirsttemp(-28-16)
             else
             else
               { on Darwin first r4-r7,r14 are saved, then r7 is adjusted to
               { on Darwin first r4-r7,r14 are saved, then r7 is adjusted to
                 point to the saved r7, and next r8,r10,r11 gets saved -> -24
                 point to the saved r7, and next r8,r10,r11 gets saved -> -24