Lines Matching refs:REG_HI
92 #define REG_HI(r) (bpf2arc[(r)][1]) macro
1308 return arc_movi_r(buf, REG_HI(rd), 0); in zext()
1352 REG_HI(rd), REG_LO(rd), 31); in mov_r64()
1366 len += arc_mov_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in mov_r64()
1369 len += arc_movi_r(BUF(buf, len), REG_HI(rd), 0); in mov_r64()
1384 len += arc_movi_r(BUF(buf, len), REG_HI(reg), 0); in mov_r64_i32()
1386 len += arc_movi_r(BUF(buf, len), REG_HI(reg), -1); in mov_r64_i32()
1424 len += arc_mov_i_fixed(BUF(buf, len), REG_HI(reg), hi); in mov_r64_i64()
1469 len += arc_st_r(BUF(buf, len), REG_HI(rs), arc_reg_mem, in store_r()
1495 const u8 arc_rs = REG_HI(JIT_REG_TMP); in store_i()
1528 len += arc_push_r(BUF(buf, len), REG_HI(reg)); in push_r64()
1533 len += arc_push_r(BUF(buf, len), REG_HI(reg)); in push_r64()
1561 REG_HI(rd), REG_LO(rd), 31); in load_r()
1563 len += arc_movi_r(BUF(buf, len), REG_HI(rd), 0); in load_r()
1582 len += arc_ld_r(BUF(buf, len), REG_HI(rd), arc_reg_mem, in load_r()
1585 len += arc_ld_r(BUF(buf, len), REG_HI(rd), arc_reg_mem, in load_r()
1613 len += arc_adc_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in add_r64()
1623 len += arc_adci_r(BUF(buf, len), REG_HI(rd), 0); in add_r64_i32()
1649 len += arc_sbc_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in sub_r64()
1678 len += arc_not_r(BUF(buf, len), REG_HI(r), REG_HI(r)); in neg_r64()
1705 const u8 t1 = REG_HI(JIT_REG_TMP); in mul_r64()
1707 const u8 C_hi = REG_HI(rs); in mul_r64()
1709 const u8 B_hi = REG_HI(rd); in mul_r64()
1751 const u8 t1 = REG_HI(JIT_REG_TMP); in mul_r64_i32()
1753 const u8 B_hi = REG_HI(rd); in mul_r64_i32()
1827 len += arc_and_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in and_r64()
1860 len += arc_or_r(BUF(buf, len), REG_HI(rd), REG_HI(rd), REG_HI(rs)); in or_r64()
1888 len += arc_xor_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in xor_r64()
1951 const u8 t1 = REG_HI(JIT_REG_TMP); in lsh_r64()
1954 const u8 B_hi = REG_HI(rd); in lsh_r64()
1985 const u8 B_hi = REG_HI(rd); in lsh_r64_i32()
2046 const u8 t1 = REG_HI(JIT_REG_TMP); in rsh_r64()
2049 const u8 B_hi = REG_HI(rd); in rsh_r64()
2080 const u8 B_hi = REG_HI(rd); in rsh_r64_i32()
2143 const u8 t1 = REG_HI(JIT_REG_TMP); in arsh_r64()
2146 const u8 B_hi = REG_HI(rd); in arsh_r64()
2178 const u8 B_hi = REG_HI(rd); in arsh_r64_i32()
2230 len = arc_xor_r(buf, REG_HI(rd), REG_LO(rd)); in gen_swap()
2231 len += arc_xor_r(BUF(buf, len), REG_LO(rd), REG_HI(rd)); in gen_swap()
2232 len += arc_xor_r(BUF(buf, len), REG_HI(rd), REG_LO(rd)); in gen_swap()
2234 len += arc_swape_r(BUF(buf, len), REG_HI(rd)); in gen_swap()
2308 len += arc_mov_r(BUF(buf, len), ARC_R_1, REG_HI(BPF_REG_0)); in bpf_to_arc_return()
2323 len += arc_mov_r(BUF(buf, len), REG_HI(BPF_REG_0), ARC_R_1); in arc_to_bpf_return()
2373 usage |= BIT(REG_HI(bpf_reg)); in mask_for_used_regs()
2386 if (REG_HI(bpf_reg) >= ARC_CALLEE_SAVED_REG_FIRST && in mask_for_used_regs()
2387 REG_HI(bpf_reg) <= ARC_CALLEE_SAVED_REG_LAST) in mask_for_used_regs()
2388 usage |= BIT(REG_HI(bpf_reg)); in mask_for_used_regs()
2682 len += arc_cmp_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in gen_j_eq_64()
2700 len += arc_tst_r(BUF(buf, len), REG_HI(rd), REG_HI(rs)); in gen_jset_64()
2813 len += arc_cmp_r(buf, REG_HI(rd), REG_HI(rs)); in gen_jcc_64()