Lines Matching refs:tmp_reg
651 static swreg ur_load_imm_any(struct nfp_prog *nfp_prog, u32 imm, swreg tmp_reg) in ur_load_imm_any() argument
656 wrp_immed(nfp_prog, tmp_reg, imm); in ur_load_imm_any()
657 return tmp_reg; in ur_load_imm_any()
664 static swreg re_load_imm_any(struct nfp_prog *nfp_prog, u32 imm, swreg tmp_reg) in re_load_imm_any() argument
669 wrp_immed(nfp_prog, tmp_reg, imm); in re_load_imm_any()
670 return tmp_reg; in re_load_imm_any()
952 swreg tmp_reg; in construct_data_ind_ld() local
955 tmp_reg = ur_load_imm_any(nfp_prog, offset, imm_b(nfp_prog)); in construct_data_ind_ld()
956 emit_alu(nfp_prog, imm_both(nfp_prog), reg_a(src), ALU_OP_ADD, tmp_reg); in construct_data_ind_ld()
973 swreg tmp_reg; in construct_data_ld() local
976 tmp_reg = ur_load_imm_any(nfp_prog, offset + size, imm_a(nfp_prog)); in construct_data_ld()
977 emit_alu(nfp_prog, reg_none(), plen_reg(nfp_prog), ALU_OP_SUB, tmp_reg); in construct_data_ld()
981 tmp_reg = re_load_imm_any(nfp_prog, offset, imm_b(nfp_prog)); in construct_data_ld()
982 return data_ld(nfp_prog, meta, tmp_reg, 0, size); in construct_data_ld()
1267 swreg tmp_reg; in wrp_alu_imm() local
1289 tmp_reg = ur_load_imm_any(nfp_prog, imm, imm_b(nfp_prog)); in wrp_alu_imm()
1290 emit_alu(nfp_prog, reg_both(dst), reg_a(dst), alu_op, tmp_reg); in wrp_alu_imm()
1407 swreg tmp_reg; in cmp_imm() local
1416 tmp_reg = ur_load_imm_any(nfp_prog, imm & ~0U, imm_b(nfp_prog)); in cmp_imm()
1418 emit_alu(nfp_prog, reg_none(), reg_a(reg), alu_op, tmp_reg); in cmp_imm()
1420 emit_alu(nfp_prog, reg_none(), tmp_reg, alu_op, reg_a(reg)); in cmp_imm()
1423 tmp_reg = ur_load_imm_any(nfp_prog, imm >> 32, imm_b(nfp_prog)); in cmp_imm()
1426 reg_a(reg + 1), carry_op, tmp_reg); in cmp_imm()
1429 tmp_reg, carry_op, reg_a(reg + 1)); in cmp_imm()
2709 swreg tmp_reg; in mem_ldx_data() local
2711 tmp_reg = re_load_imm_any(nfp_prog, meta->insn.off, imm_b(nfp_prog)); in mem_ldx_data()
2714 tmp_reg, meta->insn.dst_reg * 2, size); in mem_ldx_data()
2721 swreg tmp_reg; in mem_ldx_emem() local
2723 tmp_reg = re_load_imm_any(nfp_prog, meta->insn.off, imm_b(nfp_prog)); in mem_ldx_emem()
2726 tmp_reg, meta->insn.dst_reg * 2, size); in mem_ldx_emem()
3139 swreg or1, or2, tmp_reg; in jeq_imm() local
3145 tmp_reg = ur_load_imm_any(nfp_prog, imm & ~0U, imm_b(nfp_prog)); in jeq_imm()
3147 reg_a(insn->dst_reg * 2), ALU_OP_XOR, tmp_reg); in jeq_imm()
3152 tmp_reg = ur_load_imm_any(nfp_prog, imm >> 32, imm_b(nfp_prog)); in jeq_imm()
3154 reg_a(insn->dst_reg * 2 + 1), ALU_OP_XOR, tmp_reg); in jeq_imm()
3167 swreg tmp_reg; in jeq32_imm() local
3169 tmp_reg = ur_load_imm_any(nfp_prog, insn->imm, imm_b(nfp_prog)); in jeq32_imm()
3171 reg_a(insn->dst_reg * 2), ALU_OP_XOR, tmp_reg); in jeq32_imm()
3182 swreg tmp_reg; in jset_imm() local
3184 tmp_reg = ur_load_imm_any(nfp_prog, imm & ~0U, imm_b(nfp_prog)); in jset_imm()
3186 reg_a(dst_gpr), ALU_OP_AND, tmp_reg); in jset_imm()
3204 swreg tmp_reg; in jne_imm() local
3217 tmp_reg = ur_load_imm_any(nfp_prog, imm & ~0U, imm_b(nfp_prog)); in jne_imm()
3219 reg_a(insn->dst_reg * 2), ALU_OP_XOR, tmp_reg); in jne_imm()
3225 tmp_reg = ur_load_imm_any(nfp_prog, imm >> 32, imm_b(nfp_prog)); in jne_imm()
3227 reg_a(insn->dst_reg * 2 + 1), ALU_OP_XOR, tmp_reg); in jne_imm()
3265 swreg tmp_reg; in bpf_to_bpf_call() local
3272 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, in bpf_to_bpf_call()
3275 stack_reg(nfp_prog), ALU_OP_ADD, tmp_reg); in bpf_to_bpf_call()
3332 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, in bpf_to_bpf_call()
3335 stack_reg(nfp_prog), ALU_OP_SUB, tmp_reg); in bpf_to_bpf_call()