Searched refs:EMIT4 (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/arch/s390/net/ |
D | bpf_jit_comp.c | 157 #define EMIT4(op, b1, b2) \ macro 329 EMIT4(0xb9160000, b1, b1); \ 592 EMIT4(0xb9040000, REG_W1, REG_15); in bpf_jit_prologue() 648 EMIT4(0xb9040000, REG_2, BPF_REG_0); in bpf_jit_epilogue() 752 EMIT4(0xb9060000, r, r); in sign_extend() 756 EMIT4(0xb9070000, r, r); in sign_extend() 760 EMIT4(0xb9140000, r, r); in sign_extend() 800 EMIT4(0xb9160000, dst_reg, src_reg); in bpf_jit_insn() 806 EMIT4(0xb9040000, dst_reg, src_reg); in bpf_jit_insn() 842 EMIT4(0xb9080000, dst_reg, src_reg); in bpf_jit_insn() [all …]
|
/Linux-v6.6/arch/x86/net/ |
D | bpf_jit_comp.c | 39 #define EMIT4(b1, b2, b3, b4) EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4) macro 48 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0) 528 EMIT4(0x48, 0x8B, 0x49, /* mov rcx, qword ptr [rcx + 32] */ in emit_bpf_tail_call_indirect() 530 EMIT4(0x48, 0x83, 0xC1, /* add rcx, X86_TAIL_CALL_OFFSET */ in emit_bpf_tail_call_indirect() 712 EMIT4(add_2mod(0x48, src_reg, dst_reg), 0x0f, 0xbe, in emit_movsx_reg() 715 EMIT4(add_2mod(0x48, src_reg, dst_reg), 0x0f, 0xbf, in emit_movsx_reg() 723 EMIT4(add_2mod(0x40, src_reg, dst_reg), 0x0f, 0xbe, in emit_movsx_reg() 2155 EMIT4(0x48, 0x8D, 0x75, -run_ctx_off); in invoke_bpf_prog() 2174 EMIT4(0x48, 0x8D, 0x7D, -stack_size); in invoke_bpf_prog() 2207 EMIT4(0x48, 0x8D, 0x55, -run_ctx_off); in invoke_bpf_prog() [all …]
|
D | bpf_jit_comp32.c | 70 #define EMIT4(b1, b2, b3, b4) \ macro 80 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0) 907 EMIT4(0x0F, 0xA4, add_2reg(0xC0, dreg_hi, dreg_lo), val); in emit_ia32_lsh_i64() 956 EMIT4(0x0F, 0xAC, add_2reg(0xC0, dreg_lo, dreg_hi), val); in emit_ia32_rsh_i64() 1004 EMIT4(0x0F, 0xAC, add_2reg(0xC0, dreg_lo, dreg_hi), val); in emit_ia32_arsh_i64()
|