Searched refs:itype_insn (Results 1 – 1 of 1) sorted by relevance
396 static inline s32 riscv_insn_extract_utype_itype_imm(u32 utype_insn, u32 itype_insn) in riscv_insn_extract_utype_itype_imm() argument401 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() argument425 *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()