emit_hppa_copy
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(hi(rd), HPPA_REG_T0, ctx);
emit_hppa_copy(HPPA_REG_SP, HPPA_REG_R1, ctx); // copy sp,r1 (=prev_sp)
emit_hppa_copy(HPPA_REG_ARG3, hi(reg), ctx);
emit_hppa_copy(HPPA_REG_ARG2, lo(reg), ctx);
emit_hppa_copy(HPPA_REG_ARG1, hi(reg), ctx);
emit_hppa_copy(HPPA_REG_ARG0, lo(reg), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(reg), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(lo(r0), HPPA_REG_RET0, ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(reg), ctx);
emit_hppa_copy(arg0, HPPA_REG_ARG0, ctx);
emit_hppa_copy(arg1, HPPA_REG_ARG1, ctx);
emit_hppa_copy(HPPA_REG_ZERO, HPPA_REG_RET1, ctx);
emit_hppa_copy(HPPA_REG_ARG0, HPPA_REG_RET1, ctx);
emit_hppa_copy(HPPA_REG_RET1, arg0, ctx);
emit_hppa_copy(lo(arg0), HPPA_REG_ARG0, ctx);
emit_hppa_copy(hi(arg0), HPPA_REG_ARG1, ctx);
emit_hppa_copy(lo(arg1), HPPA_REG_ARG2, ctx);
emit_hppa_copy(hi(arg1), HPPA_REG_ARG3, ctx);
emit_hppa_copy(HPPA_REG_ZERO, HPPA_REG_RET0, ctx);
emit_hppa_copy(HPPA_REG_ZERO, HPPA_REG_RET1, ctx);
emit_hppa_copy(HPPA_REG_ARG0, HPPA_REG_RET1, ctx);
emit_hppa_copy(HPPA_REG_R31, HPPA_REG_RP, ctx);
emit_hppa_copy(HPPA_REG_RET0, hi(arg0), ctx);
emit_hppa_copy(HPPA_REG_RET1, lo(arg0), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, lo(rd), ctx);
emit_hppa_copy(lo(rd), hi(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, lo(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(hi(rd), lo(rd), ctx);
emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx);
emit_hppa_copy(hi(rd), lo(rd), ctx);
emit_hppa_copy(lo(rs), lo(rd), ctx);
emit_hppa_copy(hi(rs), hi(rd), ctx);
emit_hppa_copy(lo(rs), lo(rd), ctx);
emit_hppa_copy(hi(reg), HPPA_REG_ARG3, ctx);
emit_hppa_copy(lo(reg), HPPA_REG_ARG2, ctx);
emit_hppa_copy(hi(reg), HPPA_REG_ARG1, ctx);
emit_hppa_copy(lo(reg), HPPA_REG_ARG0, ctx);
emit_hppa_copy(HPPA_REG_R31, HPPA_REG_RP, ctx);
emit_hppa_copy(HPPA_REG_RET0, hi(r0), ctx);
emit_hppa_copy(HPPA_REG_RET1, lo(r0), ctx);
emit_hppa_copy(HPPA_REG_SP, HPPA_REG_R1, ctx);
emit_hppa_copy(arg, regmap[dst], ctx)
emit_hppa_copy(regmap[BPF_REG_1], HPPA_REG_ARG0, ctx);
emit_hppa_copy(regmap[BPF_REG_2], HPPA_REG_ARG1, ctx);
emit_hppa_copy(regmap[BPF_REG_3], HPPA_REG_ARG2, ctx);
emit_hppa_copy(regmap[BPF_REG_4], HPPA_REG_ARG3, ctx);
emit_hppa_copy(regmap[BPF_REG_5], HPPA_REG_ARG4, ctx);
emit_hppa_copy(HPPA_REG_RET0, regmap[BPF_REG_0], ctx);
emit_hppa_copy(arg0, HPPA_REG_ARG0, ctx);
emit_hppa_copy(arg1, HPPA_REG_ARG1, ctx);
emit_hppa_copy(HPPA_REG_ZERO, HPPA_REG_RET0, ctx);
emit_hppa_copy(HPPA_REG_ARG0, HPPA_REG_RET0, ctx);
emit_hppa_copy(HPPA_REG_RET0, arg0, ctx);
emit_hppa_copy(rs, rd, ctx);