Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/include/asm/
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
400 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() argument
424 *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()