Searched refs:imm_lo (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit.h | 310 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() argument 314 (imm_lo << 5) | ((rd & 0x7) << 2) | op; in rv_cl_insn() 317 static inline u16 rv_cs_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rs2, in rv_cs_insn() argument 321 (imm_lo << 5) | ((rs2 & 0x7) << 2) | op; in rv_cs_insn() 635 u32 imm_hi, imm_lo; in rvc_lw() local 638 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_lw() 639 return rv_cl_insn(0x2, imm_hi, rs1, imm_lo, rd, 0x0); in rvc_lw() 644 u32 imm_hi, imm_lo; in rvc_sw() local 647 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_sw() 648 return rv_cs_insn(0x6, imm_hi, rs1, imm_lo, rs2, 0x0); in rvc_sw() [all …]
|
| H A D | bpf_jit_comp32.c | 136 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() 1315 s32 imm_lo = imm; in bpf_jit_emit_insn() local 1319 emit_imm64(rd, imm_hi, imm_lo, ctx); in bpf_jit_emit_insn()
|
| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp32.c | 170 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()
|