Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit.h617 u32 imm_hi, imm_lo; in rvc_lw() local
619 imm_hi = (imm7 & 0x38) >> 3; 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
628 imm_hi = (imm7 & 0x38) >> 3; in rvc_sw()
630 return rv_cs_insn(0x6, imm_hi, rs1, imm_lo, rs2, 0x0); in rvc_sw()
866 u32 imm_hi, imm_lo; in rvc_ld() local
868 imm_hi = (imm8 & 0x38) >> 3; in rvc_ld()
870 return rv_cl_insn(0x3, imm_hi, rs1, imm_lo, rd, 0x0); in rvc_ld()
875 u32 imm_hi, imm_lo; in rvc_sd() local
[all …]
H A Dbpf_jit_comp32.c136 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()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c240 __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()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument
173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()