Lines Matching refs:RV_INSN_OPCODE_MASK
13 #define RV_INSN_OPCODE_MASK GENMASK(6, 0) macro
210 #define RVG_MASK_AUIPC (RV_INSN_OPCODE_MASK)
211 #define RVG_MASK_JALR (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
212 #define RVG_MASK_JAL (RV_INSN_OPCODE_MASK)
213 #define RVG_MASK_FENCE (RV_INSN_OPCODE_MASK)
218 #define RVG_MASK_BEQ (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
219 #define RVG_MASK_BNE (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
220 #define RVG_MASK_BLT (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
221 #define RVG_MASK_BGE (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
222 #define RVG_MASK_BLTU (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
223 #define RVG_MASK_BGEU (RV_INSN_FUNCT3_MASK | RV_INSN_OPCODE_MASK)
268 return (code & RV_INSN_OPCODE_MASK) == RVG_OPCODE_SYSTEM; in riscv_insn_is_system()
274 return (code & RV_INSN_OPCODE_MASK) == RVG_OPCODE_BRANCH; in riscv_insn_is_branch()