rd = arg
#define emith_pass_arg_r(arg, reg) \
- emith_move_r_r(arg, reg)
+ emith_move_r_r_ptr(arg, reg)
#define emith_pass_arg_imm(arg, imm) \
- emith_move_r_imm(arg, imm)
+ emith_move_r_ptr_imm(arg, imm)
// branching; NB: A64 B.cond has only +/- 1MB range
rd = (arg+4)
#define emith_pass_arg_r(arg, reg) \
- emith_move_r_r(arg, reg)
+ emith_move_r_r_ptr(arg, reg)
#define emith_pass_arg_imm(arg, imm) \
- emith_move_r_imm(arg, imm)
+ emith_move_r_ptr_imm(arg, imm)
// branching
#define emith_invert_branch(cond) /* inverted conditional branch */ \
rt = (arg+3)
#define emith_pass_arg_r(arg, reg) \
- emith_move_r_r(arg, reg)
+ emith_move_r_r_ptr(arg, reg)
#define emith_pass_arg_imm(arg, imm) \
- emith_move_r_imm(arg, imm)
+ emith_move_r_ptr_imm(arg, imm)
// branching
#define emith_invert_branch(cond) /* inverted conditional branch */ \
rd = (arg+10)
#define emith_pass_arg_r(arg, reg) \
- emith_move_r_r(arg, reg)
+ emith_move_r_r_ptr(arg, reg)
#define emith_pass_arg_imm(arg, imm) \
- emith_move_r_imm(arg, imm)
+ emith_move_r_ptr_imm(arg, imm)
// branching
#define emith_invert_branch(cond) /* inverted conditional branch */ \
#define emith_pass_arg_imm(arg, imm) do { \
int rd = 7; \
host_arg2reg(rd, arg); \
- emith_move_r_imm(rd, imm); \
+ emith_move_r_ptr_imm(rd, imm); \
} while (0)
#define host_instructions_updated(base, end, force) (void)(base),(void)(end)