[Git][cmucl/cmucl][sparc64-dev] Tell assembler we're using %g2 and %g3

Raymond Toy rtoy at common-lisp.net
Wed Dec 28 06:33:30 UTC 2016


Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl


Commits:
e333d847 by Raymond Toy at 2016-12-27T22:31:44-08:00
Tell assembler we're using %g2 and %g3

Assembler errors out if we don't tell it we're using %g2 and %g3 in
the code.

- - - - -


1 changed file:

- src/lisp/sparc64-assem.S


Changes:

=====================================
src/lisp/sparc64-assem.S
=====================================
--- a/src/lisp/sparc64-assem.S
+++ b/src/lisp/sparc64-assem.S
@@ -36,6 +36,14 @@
 #else	
 #define FRAMESIZE (SA(MINFRAME))
 #endif
+
+/*
+ * Tell assembler we're using %g2 and %g3 here.
+ */
+	.register	%g2, #scratch
+	.register	%g3, #scratch
+
+
         .seg    "text"
         .global call_into_lisp
 	FUNCDEF(call_into_lisp)



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/e333d8472738fed095b4f19d9fa01ba9025962ab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20161228/94962060/attachment-0001.html>


More information about the cmucl-cvs mailing list