H A D | bpf_jit_comp.c | 222 /* Encode 'dst_reg' register into x86-64 opcode 'byte' */ 223 static u8 add_1reg(u8 byte, u32 dst_reg) argument 225 return byte + reg2hex[dst_reg]; 228 /* Encode 'dst_reg' and 'src_reg' registers into x86-64 opcode 'byte' */ 229 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) argument 231 return byte + reg2hex[dst_reg] + (reg2hex[src_reg] << 3); 777 u32 dst_reg, const u32 imm32) 788 b1 = add_1mod(0x48, dst_reg); 791 EMIT3_off32(b1, b2, add_1reg(b3, dst_reg), imm32); 800 if (is_ereg(dst_reg)) 776 emit_mov_imm32(u8 **pprog, bool sign_propagate, u32 dst_reg, const u32 imm32) argument 816 emit_mov_imm64(u8 **pprog, u32 dst_reg, const u32 imm32_hi, const u32 imm32_lo) argument 839 emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) argument 856 emit_movsx_reg(u8 **pprog, int num_bits, bool is64, u32 dst_reg, u32 src_reg) argument 923 maybe_emit_mod(u8 **pprog, u32 dst_reg, u32 src_reg, bool is64) argument 949 emit_ldx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument 979 emit_ldsx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument 1001 emit_ldx_index(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, u32 index_reg, int off) argument 1027 emit_ldx_r12(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument 1033 emit_stx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument 1067 emit_stx_index(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, u32 index_reg, int off) argument 1093 emit_stx_r12(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) argument 1099 emit_st_index(u8 **pprog, u32 size, u32 dst_reg, u32 index_reg, int off, int imm) argument 1126 emit_st_r12(u8 **pprog, u32 size, u32 dst_reg, int off, int imm) argument 1131 emit_atomic(u8 **pprog, u8 atomic_op, u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) argument 1252 emit_shiftx(u8 **pprog, u32 dst_reg, u8 src_reg, bool is64, u8 op) argument 1325 u32 dst_reg = insn->dst_reg; local [all...] |