Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/include/asm/
H A Dinsn.h396 static inline s32 riscv_insn_extract_utype_itype_imm(u32 utype_insn, u32 itype_insn) in riscv_insn_extract_utype_itype_imm() argument
401 imm += RV_EXTRACT_ITYPE_IMM(itype_insn); in riscv_insn_extract_utype_itype_imm()
421 static inline void riscv_insn_insert_utype_itype_imm(u32 *utype_insn, u32 *itype_insn, s32 imm) in riscv_insn_insert_utype_itype_imm() argument
425 *itype_insn &= ~(RV_I_IMM_11_0_MASK << RV_I_IMM_11_0_OPOFF); in riscv_insn_insert_utype_itype_imm()
429 *itype_insn |= ((imm & RV_I_IMM_11_0_MASK) << RV_I_IMM_11_0_OPOFF); in riscv_insn_insert_utype_itype_imm()