Skip to content
Snippets Groups Projects
Commit caf495ce authored by rtoy's avatar rtoy
Browse files

The boxed register reg_FDEFN is r10, but r10 is one of the registers

used in the C calling convention, so it's a bad idea to have reg_FDEFN
be r10.

So, make r10 be the new unboxed register reg_NL7 and replace reg_L2
with reg_FDEFN.  (I was too lazy to renumber all registers, and I
don't think it matters where reg_FDEFN is.)

A simple cross-compile is needed.  Use boot-2005-12-1-ppc.lisp for the
cross-compile script.

compiler/ppc/vm.lisp:
o Make old FDEFN be the new unboxed register NL7.
o Rename L2 to be FDEFN, removing L2 complete.

lisp/ppc-assem.S:
o reg_L2 no longer exists, so don't use it.

lisp/ppc-lispregs.h:
o Make the corresponding changes here that were made in vm.lisp.

bootfiles/19c/boot-2005-12-1-ppc.lisp:
o Simple cross-compile script for this change.
parent 483afea5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment