Home
last modified time | relevance | path

Searched refs:emit_branch (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/net/
Dbpf_jit_comp_32.c247 #define emit_branch(BR_OPC, DEST) \ macro
256 #define emit_jump(DEST) emit_branch(BA, DEST)
465 emit_branch(BE, t_offset + 20); in bpf_jit_compile()
534 emit_branch(BE_PTR, cleanup_addr + 4); in bpf_jit_compile()
547 emit_branch(BE_PTR, cleanup_addr + 4); in bpf_jit_compile()
695 emit_branch(t_op, t_offset); in bpf_jit_compile()
703 emit_branch(f_op, f_offset); in bpf_jit_compile()
Dbpf_jit_comp_64.c616 static void emit_branch(unsigned int br_opc, unsigned int from_idx, unsigned int to_idx, in emit_branch() function
740 emit_branch(br_opcode, ctx->idx, branch_dst, ctx); in emit_compare_and_branch()
863 emit_branch(BGEU, ctx->idx, ctx->idx + OFFSET1, ctx); in emit_tail_call()
870 emit_branch(BGU, ctx->idx, ctx->idx + OFFSET2, ctx); in emit_tail_call()
884 emit_branch(BE, ctx->idx, ctx->idx + OFFSET3, ctx); in emit_tail_call()
1171 emit_branch(BA, ctx->idx, ctx->offset[i + off], ctx); in build_insn()
1238 emit_branch(BA, ctx->idx, ctx->epilogue_offset, ctx); in build_insn()
1397 emit_branch(BNE, 4, 0, ctx); in build_insn()
1425 emit_branch(BNE, 4, 0, ctx); in build_insn()
/arch/riscv/net/
Dbpf_jit_comp64.c265 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, in emit_branch() function
331 emit_branch(BPF_JGE, RV_REG_A2, RV_REG_T1, off, ctx); in emit_bpf_tail_call()
338 emit_branch(BPF_JSLT, tcc, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call()
351 emit_branch(BPF_JEQ, RV_REG_T2, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call()
791 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, in bpf_jit_emit_insn()
794 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); in bpf_jit_emit_insn()
838 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); in bpf_jit_emit_insn()
859 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, ctx); in bpf_jit_emit_insn()