Lines Matching refs:reg_imm
220 err = swreg_to_restricted(reg_none(), src, reg_imm(bit), ®, false); in emit_br_bit_relo()
261 err = swreg_to_unrestricted(reg_none(), base, reg_imm(0), ®); in emit_rtn()
305 err = swreg_to_unrestricted(dst, dst, reg_imm(imm & 0xff), ®); in emit_immed()
567 err = swreg_to_unrestricted(reg_none(), src, reg_imm(0), ®); in emit_csr_wr()
654 return reg_imm(imm); in ur_load_imm_any()
667 return reg_imm(imm); in re_load_imm_any()
719 if (offset == reg_imm(0)) { in addr40_offset()
727 reg_imm(0)); in addr40_offset()
960 imm_a(nfp_prog), ALU_OP_ADD, reg_imm(size)); in construct_data_ind_ld()
1561 reg_imm(0)); in wrp_div_imm()
1639 tmp, ALU_OP_SUB, reg_imm(adjust_head->off_min)); in adjust_head()
1642 reg_imm(adjust_head->off_max), ALU_OP_SUB, tmp); in adjust_head()
1649 tmp_len, ALU_OP_SUB, reg_imm(ETH_HLEN)); in adjust_head()
1701 emit_alu(nfp_prog, reg_none(), plen, ALU_OP_SUB, reg_imm(ETH_HLEN)); in adjust_tail()
1812 ALU_OP_AND_NOT_B, reg_imm(0xff)); in nfp_queue_select()
1817 pv_qsel_set(nfp_prog), SHF_OP_OR, reg_imm(1), in nfp_queue_select()
1826 pv_qsel_val(nfp_prog), 0x1, reg_imm(NFP_NET_RXR_MAX), in nfp_queue_select()
1978 emit_alu(nfp_prog, reg_both(insn->dst_reg * 2), reg_imm(0), in neg_reg64()
1980 emit_alu(nfp_prog, reg_both(insn->dst_reg * 2 + 1), reg_imm(0), in neg_reg64()
2029 emit_alu(nfp_prog, imm_both(nfp_prog), reg_imm(32), ALU_OP_SUB, in shl_reg64_lt32_high()
2031 emit_alu(nfp_prog, reg_none(), imm_a(nfp_prog), ALU_OP_OR, reg_imm(0)); in shl_reg64_lt32_high()
2039 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shl_reg64_lt32_low()
2052 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shl_reg64_ge32()
2144 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shr_reg64_lt32_high()
2151 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shr_reg64_lt32_low()
2164 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shr_reg64_ge32()
2225 reg_imm(0)); in __ashr_imm64()
2235 reg_imm(0)); in __ashr_imm64()
2420 emit_alu(nfp_prog, reg_both(dst), reg_imm(0), ALU_OP_SUB, reg_b(dst)); in neg_reg()
2433 reg_imm(0)); in __ashr_imm()
2506 emit_alu(nfp_prog, reg_none(), reg_a(src), ALU_OP_OR, reg_imm(0)); in shr_reg()
3058 reg_imm(0), ALU_OP_SUB_C, reg_b(src_gpr + 1)); in mem_xadd()
3071 reg_a(dst_gpr + 1), ALU_OP_ADD_C, reg_imm(0)); in mem_xadd()
3680 emit_ld_field(nfp_prog, reg_a(0), 0xc, reg_imm(0x11), SHF_SC_L_SHF, 16); in nfp_outro_tc_da()
3686 emit_alu(nfp_prog, reg_none(), reg_imm(7), ALU_OP_SUB, reg_b(0)); in nfp_outro_tc_da()
3696 emit_alu(nfp_prog, reg_none(), reg_a(1), ALU_OP_OR, reg_imm(0)); in nfp_outro_tc_da()
3698 reg_imm(0xf), SHF_OP_AND, reg_b(2), SHF_SC_R_SHF, 0); in nfp_outro_tc_da()
3700 emit_alu(nfp_prog, reg_none(), reg_a(1), ALU_OP_OR, reg_imm(0)); in nfp_outro_tc_da()
3702 reg_imm(0xf), SHF_OP_AND, reg_b(3), SHF_SC_R_SHF, 0); in nfp_outro_tc_da()
3726 emit_ld_field(nfp_prog, reg_a(0), 0xc, reg_imm(0x82), SHF_SC_L_SHF, 16); in nfp_outro_xdp()
3732 emit_alu(nfp_prog, reg_none(), reg_imm(3), ALU_OP_SUB, reg_b(0)); in nfp_outro_xdp()
3740 emit_alu(nfp_prog, reg_none(), reg_a(1), ALU_OP_OR, reg_imm(0)); in nfp_outro_xdp()
3742 reg_imm(0xff), SHF_OP_AND, reg_b(2), SHF_SC_R_SHF, 0); in nfp_outro_xdp()