Home
last modified time | relevance | path

Searched refs:imm_lo (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/riscv/net/
Dbpf_jit.h307 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() argument
311 (imm_lo << 5) | ((rd & 0x7) << 2) | op; in rv_cl_insn()
314 static inline u16 rv_cs_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rs2, in rv_cs_insn() argument
318 (imm_lo << 5) | ((rs2 & 0x7) << 2) | op; in rv_cs_insn()
617 u32 imm_hi, imm_lo; in rvc_lw() local
620 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_lw()
621 return rv_cl_insn(0x2, imm_hi, rs1, imm_lo, rd, 0x0); in rvc_lw()
626 u32 imm_hi, imm_lo; in rvc_sw() local
629 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_sw()
630 return rv_cs_insn(0x6, imm_hi, rs1, imm_lo, rs2, 0x0); in rvc_sw()
[all …]
Dbpf_jit_comp32.c136 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument
139 emit_imm(lo(rd), imm_lo, ctx); in emit_imm64()
1235 s32 imm_lo = imm; in bpf_jit_emit_insn() local
1239 emit_imm64(rd, imm_hi, imm_lo, ctx); in bpf_jit_emit_insn()
/linux-6.6.21/arch/parisc/net/
Dbpf_jit_comp32.c170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument
174 emit_imm(lo(rd), imm_lo, ctx); in emit_imm64()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c2582 u32 imm_lo, imm_hi; in imm_ld8_part2() local
2586 imm_lo = prev->insn.imm; in imm_ld8_part2()
2589 wrp_immed(nfp_prog, reg_both(dst), imm_lo); in imm_ld8_part2()
2592 if (imm_hi == imm_lo) in imm_ld8_part2()