Searched refs:imm_hi (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/riscv/net/ |
D | bpf_jit.h | 304 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() argument 307 return (funct3 << 13) | (imm_hi << 10) | ((rs1 & 0x7) << 7) | in rv_cl_insn() 311 static inline u16 rv_cs_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rs2, in rv_cs_insn() argument 314 return (funct3 << 13) | (imm_hi << 10) | ((rs1 & 0x7) << 7) | in rv_cs_insn() 589 u32 imm_hi, imm_lo; in rvc_lw() local 591 imm_hi = (imm7 & 0x38) >> 3; in rvc_lw() 593 return rv_cl_insn(0x2, imm_hi, rs1, imm_lo, rd, 0x0); in rvc_lw() 598 u32 imm_hi, imm_lo; in rvc_sw() local 600 imm_hi = (imm7 & 0x38) >> 3; in rvc_sw() 602 return rv_cs_insn(0x6, imm_hi, rs1, imm_lo, rs2, 0x0); in rvc_sw() [all …]
|
D | bpf_jit_comp32.c | 136 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument 140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 1236 s32 imm_hi = insn1.imm; in bpf_jit_emit_insn() local 1239 emit_imm64(rd, imm_hi, imm_lo, ctx); in bpf_jit_emit_insn()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/ |
D | jit.c | 240 __emit_br_alu(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_br_alu() argument 249 FIELD_PREP(OP_BR_ALU_IMM_HI, imm_hi) | in __emit_br_alu() 272 __emit_immed(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_immed() argument 282 FIELD_PREP(OP_IMMED_IMM, imm_hi) | in __emit_immed() 2582 u32 imm_lo, imm_hi; in imm_ld8_part2() local 2587 imm_hi = meta->insn.imm; in imm_ld8_part2() 2592 if (imm_hi == imm_lo) in imm_ld8_part2() 2595 wrp_immed(nfp_prog, reg_both(dst + 1), imm_hi); in imm_ld8_part2()
|