Closed martinmcclure closed 11 years ago
Using rsp-relative temp locations is working. Freeing rbp to be used as a general-purpose register is currently waiting on AsmJit issue 10 -- AsmJit has no idea what the register bpl is as an operand.
Now working with RBP as an assignable register, with the latest committed AsmJit.
The x86_64 ABI lists rbp as " callee-saved register; optionally used as frame pointer. Currently, Fog uses rbp as a frame pointer, accessing temporary variables relative to rbp.
However, this is optional, and I've since learned that C does not use rbp this way. C essentially uses rsp as a frame pointer, leaving rbp free for other uses. We should do the same.