[commit: ghc] wip/aarch64-regd: rts/StgCRun.c: Add d15 to clobbered regs (5bb0707)
git at git.haskell.org
git at git.haskell.org
Mon Nov 16 00:48:25 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/aarch64-regd
Link : http://ghc.haskell.org/trac/ghc/changeset/5bb07075668ac542396ef99ee897a03720b4ad66/ghc
>---------------------------------------------------------------
commit 5bb07075668ac542396ef99ee897a03720b4ad66
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
>---------------------------------------------------------------
5bb07075668ac542396ef99ee897a03720b4ad66
rts/StgCRun.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index c9bbef0..9e80d02 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -834,7 +834,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