4 #define reg_ZERO REG(0) /* Should always contain 0 in lisp */
5 #define reg_NSP REG(1) /* The number/C stack pointer */
6 #define reg_POLL REG(2) /* Lisp preemption/Mystery SVR4 ABI reg */
7 #define reg_NL0 REG(3) /* FF param/result 1 */
8 #define reg_NL1 REG(4) /* FF param/result 2 */
9 #define reg_NL2 REG(5) /* FF param 3 */
10 #define reg_NL3 REG(6)
11 #define reg_NL4 REG(7)
12 #define reg_NL5 REG(8)
13 #define reg_NL6 REG(9) /* Last (7th) FF param */
14 #define reg_FDEFN REG(10) /* was NL7 until recently -dan */
15 #define reg_NARGS REG(11)
16 #define reg_NFP REG(12) /* Lisp may save around FF-call */
17 #define reg_CFUNC REG(13) /* Silly to blow a reg on FF-name */
18 #define reg_BSP REG(14) /* Binding stack pointer */
19 #define reg_CFP REG(15) /* Control/value stack frame pointer */
20 #define reg_CSP REG(16) /* Control/value stack top */
21 #define reg_ALLOC REG(17) /* (Global) dynamic free pointer */
22 #define reg_NULL REG(18) /* NIL and globals nearby */
23 #define reg_CODE REG(19) /* Current function object */
24 #define reg_CNAME REG(20) /* Current function name */
25 #define reg_LEXENV REG(21) /* And why burn a register for this ? */
26 #define reg_OCFP REG(22) /* The caller's reg_CFP */
27 #define reg_LRA REG(23) /* Tagged lisp return address */
28 #define reg_A0 REG(24) /* First function arg/return value */
29 #define reg_A1 REG(25) /* Second. */
30 #define reg_A2 REG(26) /* */
31 #define reg_A3 REG(27) /* Last of (only) 4 arg regs */
32 #define reg_L0 REG(28) /* Tagged temp regs */
33 #define reg_L1 REG(29)
34 #define reg_L2 REG(30) /* Last lisp temp reg */
35 #define reg_LIP REG(31) /* Lisp Interior Pointer, e.g., locative */
38 "ZERO", "NSP", "???", "NL0", \
39 "NL1", "NL2", "NL3P", "NL4", \
40 "NL5", "NL6", "FDEFN", "NARGS", \
41 "NFP", "CFUNC" "BSP", "CFP", \
42 "CSP", "ALLOC", "NULL", "CODE", \
43 "CNAME", "LEXENV", "OCFP", "LRA", \
44 "A0", "A1", "A2", "A3", \
45 "L0", "L1", "L2", "LIP"
47 #define BOXED_REGISTERS { \
48 reg_FDEFN, reg_CODE, reg_CNAME, reg_LEXENV, reg_OCFP, reg_LRA, \
49 reg_A0, reg_A1, reg_A2, reg_A3, \
50 reg_L0, reg_L1, reg_L2 \