[commit: ghc] wip/aarch64-regd: rts/StgCRun.c: Add d15 to clobbered regs (5e218e8)

git at git.haskell.org git at git.haskell.org
Fri Oct 23 02:54:30 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/aarch64-regd
Link       : http://ghc.haskell.org/trac/ghc/changeset/5e218e881b2457bf291de1498914fe70a9b50c90/ghc

>---------------------------------------------------------------

commit 5e218e881b2457bf291de1498914fe70a9b50c90
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Tue Oct 13 09:45:39 2015 +1100

    rts/StgCRun.c: Add d15 to clobbered regs


>---------------------------------------------------------------

5e218e881b2457bf291de1498914fe70a9b50c90
 rts/StgCRun.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index b9a9496..7039537 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -832,7 +832,12 @@ StgRun(StgFunPtr f, StgRegTable *basereg) {
         "%x19", "%x20", "%x21", "%x22", "%x23", "%x24", "%x25",
         "%x26", "%x27", "%x28", /* Exclude %x29 (frame pointer) */
         "%x30",
-        "%d8", "%d9", "%d10", "%d11", "%d12", "%d13", "%d14"
+        "%d8", "%d9", "%d10", "%d11", "%d12", "%d13", "%d14", "%d15"
+        /* Since all these registers listed as clobbered are being explicitly
+         * saved and restored, they should probably not be listed as
+         * clobbered. Leaving them as is for now while I debug other
+         * issues.
+         */
     );
     return r;
 }



More information about the ghc-commits mailing list