/arch/powerpc/net/ |
D | bpf_jit_asm.S | 92 lbzx r_X, r_D, r_addr 93 rlwinm r_X, r_X, 2, 32-4-2, 31-2 108 PPC_STL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \ 120 PPC_LL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \ 145 lbz r_X, BPF_PPC_STACK_BASIC+(2*8)(r1) 146 rlwinm r_X, r_X, 2, 32-4-2, 31-2 161 PPC_STL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \ 172 PPC_LL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \ 217 lbz r_X, 0(r_addr) 218 rlwinm r_X, r_X, 2, 32-4-2, 31-2
|
D | bpf_jit_comp.c | 78 PPC_LI(r_X, 0); in bpf_jit_build_prologue() 142 PPC_ADD(r_A, r_A, r_X); in bpf_jit_build_body() 153 PPC_SUB(r_A, r_A, r_X); in bpf_jit_build_body() 164 PPC_MUL(r_A, r_A, r_X); in bpf_jit_build_body() 177 PPC_CMPWI(r_X, 0); in bpf_jit_build_body() 186 PPC_DIVWU(r_scratch1, r_A, r_X); in bpf_jit_build_body() 187 PPC_MUL(r_scratch1, r_X, r_scratch1); in bpf_jit_build_body() 190 PPC_DIVWU(r_A, r_A, r_X); in bpf_jit_build_body() 207 PPC_AND(r_A, r_A, r_X); in bpf_jit_build_body() 219 PPC_OR(r_A, r_A, r_X); in bpf_jit_build_body() [all …]
|
D | bpf_jit.h | 52 #define r_X 5 macro
|
/arch/mips/net/ |
D | bpf_jit.c | 629 emit_jit_reg_move(r_X, r_zero, ctx); in build_prologue() 742 emit_addiu(r_off, r_X, k, ctx); in build_body() 747 emit_load_imm(r_X, k, ctx); in build_body() 752 emit_load(r_X, r_M, SCRATCH_OFF(k), ctx); in build_body() 758 emit_load(r_X, r_skb, off, ctx); in build_body() 778 emit_andi(r_X, r_A, 0xf, ctx); in build_body() 781 emit_sll(r_X, r_X, 2, ctx); /* delay slot */ in build_body() 791 emit_store(r_X, r_M, SCRATCH_OFF(k), ctx); in build_body() 801 emit_addu(r_A, r_A, r_X, ctx); in build_body() 811 emit_subu(r_A, r_A, r_X, ctx); in build_body() [all …]
|
D | bpf_jit.h | 57 #define r_X MIPS_R_S4 macro
|
/arch/arm/net/ |
D | bpf_jit_32.c | 41 #define r_X ARM_R5 macro 179 ret |= 1 << r_X; in saved_regs() 227 emit(ARM_MOV_I(r_X, 0), ctx); in build_prologue() 616 OP_IMM3(ARM_ADD, r_off, r_X, k, ctx); in build_body() 620 emit_mov_i(r_X, k, ctx); in build_body() 624 emit(ARM_LDR_I(r_X, r_skb, in build_body() 629 emit(ARM_LDR_I(r_X, ARM_SP, SCRATCH_OFF(k)), ctx); in build_body() 658 emit(ARM_AND_I(r_X, ARM_R0, 0x00f), ctx); in build_body() 659 emit(ARM_LSL_I(r_X, r_X, 2), ctx); in build_body() 668 emit(ARM_STR_I(r_X, ARM_SP, SCRATCH_OFF(k)), ctx); in build_body() [all …]
|
/arch/sparc/net/ |
D | bpf_jit.h | 34 #define r_X O2 macro 59 #define r_X %o2 macro
|
D | bpf_jit_comp.c | 168 *prog++ = OPCODE | RS1(r_A) | RS2(r_X) | RD(r_A); \ 405 emit_clear(r_X); in bpf_jit_compile() 501 emit_cmpi(r_X, 0); in bpf_jit_compile() 563 emit_reg_move(r_A, r_X); in bpf_jit_compile() 567 emit_reg_move(r_X, r_A); in bpf_jit_compile() 618 emit_skb_load32(len, r_X); in bpf_jit_compile() 624 emit_loadimm(K, r_X); in bpf_jit_compile() 632 emit_ldmem(K * 4, r_X); in bpf_jit_compile() 640 emit_stmem(K * 4, r_X); in bpf_jit_compile() 666 emit_addi(r_X, K, r_OFF); in bpf_jit_compile() [all …]
|
D | bpf_jit_asm.S | 98 sll r_OFF, 2, r_X 134 sll r_OFF, 2, r_X 198 sll r_OFF, 2, r_X
|