|
|
@ -31,38 +31,24 @@ extern "C" { |
|
|
|
* Information about all of the registers, in allocation order. |
|
|
|
*/ |
|
|
|
#define JIT_REG_INFO \ |
|
|
|
{"r0", 0, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_START_STACK | JIT_REG_IN_STACK}, \ |
|
|
|
{"r1", 1, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r2", 2, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r3", 3, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r4", 4, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r5", 5, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r6", 6, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r7", 7, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r8", 8, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r9", 9, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r10", 10, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r11", 11, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r12", 12, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r13", 13, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r14", 14, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r15", 15, -1, JIT_REG_WORD | JIT_REG_LONG | JIT_REG_FLOAT | \ |
|
|
|
JIT_REG_CALL_USED | JIT_REG_END_STACK | JIT_REG_IN_STACK}, |
|
|
|
{"r0", 0, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ |
|
|
|
JIT_REG_START_STACK | JIT_REG_IN_STACK}, \ |
|
|
|
{"r1", 1, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r2", 2, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r3", 3, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r4", 4, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r5", 5, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r6", 6, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r7", 7, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r8", 8, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r9", 9, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r10", 10, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r11", 11, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r12", 12, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r13", 13, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r14", 14, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ |
|
|
|
{"r15", 15, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ |
|
|
|
JIT_REG_END_STACK | JIT_REG_IN_STACK}, |
|
|
|
#define JIT_NUM_REGS 16 |
|
|
|
#define JIT_NUM_GLOBAL_REGS 0 |
|
|
|
|
|
|
|