Searched refs:imm12 (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/arch/arm64/net/ |
D | bpf_jit.h | 97 #define A64_ADDSUB_IMM(sf, Rd, Rn, imm12, type) \ argument 98 aarch64_insn_gen_add_sub_imm(Rd, Rn, imm12, \ 101 #define A64_ADD_I(sf, Rd, Rn, imm12) A64_ADDSUB_IMM(sf, Rd, Rn, imm12, ADD) argument 102 #define A64_SUB_I(sf, Rd, Rn, imm12) A64_ADDSUB_IMM(sf, Rd, Rn, imm12, SUB) argument
|
/Linux-v5.4/arch/riscv/kernel/ |
D | module.c | 33 u32 imm12 = (offset & 0x1000) << (31 - 12); in apply_r_riscv_branch_rela() local 38 *location = (*location & 0x1fff07f) | imm12 | imm11 | imm10_5 | imm4_1; in apply_r_riscv_branch_rela()
|
/Linux-v5.4/arch/arm/net/ |
D | bpf_jit_32.c | 299 static u32 arm_bpf_ldst_imm12(u32 op, u8 rt, u8 rn, s16 imm12) in arm_bpf_ldst_imm12() argument 302 if (imm12 >= 0) in arm_bpf_ldst_imm12() 305 imm12 = -imm12; in arm_bpf_ldst_imm12() 306 return op | (imm12 & ARM_INST_LDST__IMM12); in arm_bpf_ldst_imm12() 427 int imm12 = imm8m(val); in emit_mov_i() local 429 if (imm12 >= 0) in emit_mov_i() 430 emit(ARM_MOV_I(rd, imm12), ctx); in emit_mov_i()
|
/Linux-v5.4/arch/riscv/net/ |
D | bpf_jit_comp.c | 184 u8 imm12 = ((imm12_1 & 0x800) >> 5) | ((imm12_1 & 0x3f0) >> 4); in rv_sb_insn() local 187 return (imm12 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | in rv_sb_insn()
|