5 #define RETURN_REG %rax
8 #define STACK_PADDING 56
10 #define NV_TEMP_REG %rbp
12 #define ARITH_TEMP_1 %r8
13 #define ARITH_TEMP_2 %r9
14 #define DIV_RESULT %rax
23 #define PUSH_NONVOLATILE \
32 #define POP_NONVOLATILE \
48 #define PUSH_NONVOLATILE \
55 #define POP_NONVOLATILE \
64 #define QUOT_XT_OFFSET 21
66 /* We pass a function pointer to memcpy to work around a Mac OS X
67 ABI limitation which would otherwise require us to do a bizzaro PC-relative
68 trampoline to retrieve the function address */
69 DEF(void,set_callstack,(F_STACK_FRAME *to, F_STACK_FRAME *from, CELL length, void *memcpy)):
70 sub ARG2,ARG0 /* compute new stack pointer */
72 call *ARG3 /* call memcpy */
73 ret /* return _with new stack_ */