REG_LO
len = arc_sexb_r(buf, REG_LO(rd), REG_LO(rs));
len = arc_sexh_r(buf, REG_LO(rd), REG_LO(rs));
len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs));
len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs));
return arc_mov_i(buf, REG_LO(reg), imm);
REG_HI(rd), REG_LO(rd), 31);
len = arc_mov_r(buf, REG_LO(rd), REG_LO(rs));
len = arc_mov_i(buf, REG_LO(reg), imm);
len = arc_mov_i_fixed(buf, REG_LO(reg), lo);
*arc_reg_mem = REG_LO(rm);
REG_LO(JIT_REG_TMP), REG_LO(rm), (u32)(*off));
*arc_reg_mem = REG_LO(JIT_REG_TMP);
len += arc_st_r(BUF(buf, len), REG_LO(rs), arc_reg_mem,
len += arc_st_r(BUF(buf, len), REG_LO(rs), arc_reg_mem,
len += arc_push_r(BUF(buf, len), REG_LO(reg));
len += arc_push_r(BUF(buf, len), REG_LO(reg));
len += arc_ldx_r(BUF(buf, len), REG_LO(rd),
len += arc_ld_r(BUF(buf, len), REG_LO(rd),
REG_HI(rd), REG_LO(rd), 31);
if (REG_LO(rd) != arc_reg_mem) {
len += arc_ld_r(BUF(buf, len), REG_LO(rd), arc_reg_mem,
len += arc_ld_r(BUF(buf, len), REG_LO(rd), arc_reg_mem,
return arc_add_r(buf, REG_LO(rd), REG_LO(rs));
return arc_addi_r(buf, REG_LO(rd), imm);
return arc_add_i(buf, REG_LO(rd), REG_LO(rd), imm);
len = arc_addf_r(buf, REG_LO(rd), REG_LO(rs));
len = arc_addif_r(buf, REG_LO(rd), imm);
return arc_sub_r(buf, REG_LO(rd), REG_LO(rs));
return arc_subi_r(buf, REG_LO(rd), imm);
return arc_sub_i(buf, REG_LO(rd), imm);
len = arc_subf_r(buf, REG_LO(rd), REG_LO(rs));
return arc_cmp_r(buf, REG_LO(rd), REG_LO(rs));
return arc_neg_r(buf, REG_LO(r), REG_LO(r));
len = arc_not_r(buf, REG_LO(r), REG_LO(r));
return arc_mpy_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_mpy_i(buf, REG_LO(rd), REG_LO(rd), imm);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 C_lo = REG_LO(rs);
const u8 B_lo = REG_LO(rd);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 B_lo = REG_LO(rd);
return arc_divs_r(buf, REG_LO(rd), REG_LO(rs));
return arc_divu_r(buf, REG_LO(rd), REG_LO(rs));
return arc_divs_i(buf, REG_LO(rd), imm);
return arc_divu_i(buf, REG_LO(rd), imm);
return arc_rems_r(buf, REG_LO(rd), REG_LO(rs));
return arc_remu_r(buf, REG_LO(rd), REG_LO(rs));
return arc_rems_i(buf, REG_LO(rd), imm);
return arc_remu_i(buf, REG_LO(rd), imm);
return arc_and_r(buf, REG_LO(rd), REG_LO(rs));
return arc_and_i(buf, REG_LO(rd), imm);
len = arc_and_r(buf, REG_LO(rd), REG_LO(rs));
return arc_tst_r(buf, REG_LO(rd), REG_LO(rs));
return arc_or_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_or_i(buf, REG_LO(rd), imm);
len = arc_or_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_xor_r(buf, REG_LO(rd), REG_LO(rs));
return arc_xor_i(buf, REG_LO(rd), imm);
len = arc_xor_r(buf, REG_LO(rd), REG_LO(rs));
return arc_asl_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_asli_r(buf, REG_LO(rd), REG_LO(rd), imm);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 C_lo = REG_LO(rs);
const u8 B_lo = REG_LO(rd);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 B_lo = REG_LO(rd);
return arc_lsr_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_lsri_r(buf, REG_LO(rd), REG_LO(rd), imm);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 C_lo = REG_LO(rs);
const u8 B_lo = REG_LO(rd);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 B_lo = REG_LO(rd);
return arc_asr_r(buf, REG_LO(rd), REG_LO(rd), REG_LO(rs));
return arc_asri_r(buf, REG_LO(rd), REG_LO(rd), imm);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 C_lo = REG_LO(rs);
const u8 B_lo = REG_LO(rd);
const u8 t0 = REG_LO(JIT_REG_TMP);
const u8 B_lo = REG_LO(rd);
len = arc_asli_r(buf, REG_LO(rd), REG_LO(rd), 16);
len += arc_swape_r(BUF(buf, len), REG_LO(rd));
len = arc_xor_r(buf, REG_HI(rd), REG_LO(rd));
len += arc_xor_r(BUF(buf, len), REG_LO(rd), REG_HI(rd));
len += arc_xor_r(BUF(buf, len), REG_HI(rd), REG_LO(rd));
len += arc_swape_r(BUF(buf, len), REG_LO(rd));
len = arc_and_i(buf, REG_LO(rd), 0xffff);
len = arc_mov_r(buf, ARC_R_0, REG_LO(BPF_REG_0));
len = arc_mov_r(buf, REG_LO(BPF_REG_0), ARC_R_0);
len = arc_mov_i_fixed(buf, REG_LO(JIT_REG_TMP), addr);
len += arc_jl(BUF(buf, len), REG_LO(JIT_REG_TMP));
usage |= BIT(REG_LO(bpf_reg));
usage |= BIT(REG_LO(BPF_REG_FP));
if (REG_LO(bpf_reg) >= ARC_CALLEE_SAVED_REG_FIRST &&
REG_LO(bpf_reg) <= ARC_CALLEE_SAVED_REG_LAST)
usage |= BIT(REG_LO(bpf_reg));
len += arc_cmpz_r(BUF(buf, len), REG_LO(rd), REG_LO(rs));
len += arc_tstz_r(BUF(buf, len), REG_LO(rd), REG_LO(rs));
len += arc_cmp_r(BUF(buf, len), REG_LO(rd), REG_LO(rs));