Searched refs:utype_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() argument400 imm = RV_EXTRACT_UTYPE_IMM(utype_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() argument424 *utype_insn &= ~(RV_U_IMM_31_12_MASK); in riscv_insn_insert_utype_itype_imm()428 *utype_insn |= (imm & RV_U_IMM_31_12_MASK) + ((imm & BIT(11)) << 1); in riscv_insn_insert_utype_itype_imm()