/arch/powerpc/net/ |
D | bpf_jit_comp.c | 83 PPC_LI(r_A, 0); in bpf_jit_build_prologue() 142 PPC_ADD(r_A, r_A, r_X); in bpf_jit_build_body() 147 PPC_ADDI(r_A, r_A, IMM_L(K)); in bpf_jit_build_body() 149 PPC_ADDIS(r_A, r_A, IMM_HA(K)); in bpf_jit_build_body() 153 PPC_SUB(r_A, r_A, r_X); in bpf_jit_build_body() 158 PPC_ADDI(r_A, r_A, IMM_L(-K)); in bpf_jit_build_body() 160 PPC_ADDIS(r_A, r_A, IMM_HA(-K)); in bpf_jit_build_body() 164 PPC_MULW(r_A, r_A, r_X); in bpf_jit_build_body() 168 PPC_MULI(r_A, r_A, K); in bpf_jit_build_body() 171 PPC_MULW(r_A, r_A, r_scratch1); in bpf_jit_build_body() [all …]
|
D | bpf_jit_asm.S | 47 lwbrx r_A, r_D, r_addr 49 lwzx r_A, r_D, r_addr 63 lhbrx r_A, r_D, r_addr 65 lhzx r_A, r_D, r_addr 77 lbzx r_A, r_D, r_addr 107 PPC_STL r_A, (BPF_PPC_STACK_BASIC+(0*REG_SZ))(r1); \ 119 PPC_LL r_A, (BPF_PPC_STACK_BASIC+(0*REG_SZ))(r1); \ 130 lwz r_A, BPF_PPC_STACK_BASIC+(2*REG_SZ)(r1) 135 lhz r_A, BPF_PPC_STACK_BASIC+(2*8)(r1) 140 lbz r_A, BPF_PPC_STACK_BASIC+(2*8)(r1) [all …]
|
D | bpf_jit32.h | 56 #define r_A 4 macro
|
/arch/mips/net/ |
D | bpf_jit_asm.S | 65 lw $r_A, 0(t1) 69 wsbh t0, $r_A 70 rotr $r_A, t0, 16 72 sll t0, $r_A, 24 73 srl t1, $r_A, 24 74 srl t2, $r_A, 8 77 andi t1, $r_A, 0xff00 80 or $r_A, t0, t1 93 lhu $r_A, 0(t1) 96 wsbh $r_A, $r_A [all …]
|
D | bpf_jit.c | 638 emit_jit_reg_move(r_A, r_zero, ctx); in build_prologue() 683 emit_load_imm(r_A, k, ctx); in build_body() 690 emit_load(r_A, r_skb, off, ctx); in build_body() 695 emit_load(r_A, r_M, SCRATCH_OFF(k), ctx); in build_body() 777 emit_andi(r_X, r_A, 0xf, ctx); in build_body() 785 emit_store(r_A, r_M, SCRATCH_OFF(k), ctx); in build_body() 795 emit_addiu(r_A, r_A, k, ctx); in build_body() 800 emit_addu(r_A, r_A, r_X, ctx); in build_body() 805 emit_addiu(r_A, r_A, -k, ctx); in build_body() 810 emit_subu(r_A, r_A, r_X, ctx); in build_body() [all …]
|
D | bpf_jit.h | 56 #define r_A MIPS_R_S3 macro
|
/arch/arm/net/ |
D | bpf_jit_32.c | 40 #define r_A ARM_R4 macro 166 ret |= 1 << r_A; in saved_regs() 231 emit(ARM_MOV_I(r_A, 0), ctx); in build_prologue() 535 emit_mov_i(r_A, k, ctx); in build_body() 540 emit(ARM_LDR_I(r_A, r_skb, in build_body() 546 emit(ARM_LDR_I(r_A, ARM_SP, SCRATCH_OFF(k)), ctx); in build_body() 587 _emit(condt, ARM_LDRB_I(r_A, r_scratch, 0), in build_body() 590 emit_load_be16(condt, r_A, r_scratch, ctx); in build_body() 592 emit_load_be32(condt, r_A, r_scratch, ctx); in build_body() 604 emit(ARM_MOV_R(r_A, ARM_R0), ctx); in build_body() [all …]
|
/arch/sparc/net/ |
D | bpf_jit_comp.c | 141 *prog++ = SUB | RS1(G0) | RS2(r_A) | RD(r_A); \ 168 *prog++ = OPCODE | RS1(r_A) | RS2(r_X) | RD(r_A); \ 189 _insn |= RS1(r_A) | RD(r_A); \ 425 emit_clear(r_A); /* A = 0 */ in bpf_jit_compile() 518 emit_clear(r_A); in bpf_jit_compile() 539 emit_clear(r_A); in bpf_jit_compile() 541 emit_loadimm(K, r_A); in bpf_jit_compile() 559 emit_reg_move(r_A, O0); /* delay slot */ 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() [all …]
|
D | bpf_jit_asm.S | 35 ld [r_TMP], r_A 47 or r_OFF, r_TMP2, r_A 64 lduh [r_TMP], r_A 70 or r_OFF, r_TMP2, r_A 83 ldub [r_SKB_DATA + r_OFF], r_A 113 ld [%sp + SCRATCH_OFF], r_A 119 lduh [%sp + SCRATCH_OFF], r_A 125 ldub [%sp + SCRATCH_OFF], r_A 131 ldub [%sp + SCRATCH_OFF], r_A 160 ld [r_TMP], r_A [all …]
|
D | bpf_jit.h | 33 #define r_A O1 macro 58 #define r_A %o1 macro
|