Home
last modified time | relevance | path

Searched refs:emit_alu (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c415 emit_alu(struct nfp_prog *nfp_prog, swreg dst, in emit_alu() function
681 emit_alu(nfp_prog, dst, reg_none(), ALU_OP_NONE, src); in wrp_mov()
725 emit_alu(nfp_prog, imm_a(nfp_prog), reg_a(src_gpr), ALU_OP_ADD, offset); in addr40_offset()
726 emit_alu(nfp_prog, imm_b(nfp_prog), reg_b(src_gpr + 1), ALU_OP_ADD_C, in addr40_offset()
956 emit_alu(nfp_prog, imm_both(nfp_prog), reg_a(src), ALU_OP_ADD, tmp_reg); in construct_data_ind_ld()
959 emit_alu(nfp_prog, imm_a(nfp_prog), in construct_data_ind_ld()
961 emit_alu(nfp_prog, reg_none(), in construct_data_ind_ld()
977 emit_alu(nfp_prog, reg_none(), plen_reg(nfp_prog), ALU_OP_SUB, tmp_reg); in construct_data_ld()
1183 emit_alu(nfp_prog, imm_b(nfp_prog), in mem_op_stack()
1199 emit_alu(nfp_prog, imm_b(nfp_prog), in mem_op_stack()
[all …]
/linux-5.19.10/arch/sparc/net/
Dbpf_jit_comp_64.c288 static void emit_alu(u32 opcode, u32 src, u32 dst, struct jit_ctx *ctx) in emit_alu() function
878 emit_alu(ADD, bpf_array, tmp, ctx); in emit_tail_call()
920 emit_alu(ADD, src, dst, ctx); in build_insn()
924 emit_alu(SUB, src, dst, ctx); in build_insn()
928 emit_alu(AND, src, dst, ctx); in build_insn()
932 emit_alu(OR, src, dst, ctx); in build_insn()
936 emit_alu(XOR, src, dst, ctx); in build_insn()
939 emit_alu(MUL, src, dst, ctx); in build_insn()
942 emit_alu(MULX, src, dst, ctx); in build_insn()
946 emit_alu(DIV, src, dst, ctx); in build_insn()
[all …]