[commit: ghc] wip/aarch64-regd: rts/StgCRun.c: Add d15 to clobbered regs (0c2157b)
git at git.haskell.org
git at git.haskell.org
Thu Oct 15 02:11:33 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/aarch64-regd
Link : http://ghc.haskell.org/trac/ghc/changeset/0c2157ba3e6222dd9c2a0d44ee4aa4fc4e4d2d38/ghc
>---------------------------------------------------------------
commit 0c2157ba3e6222dd9c2a0d44ee4aa4fc4e4d2d38
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
>---------------------------------------------------------------
0c2157ba3e6222dd9c2a0d44ee4aa4fc4e4d2d38
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