1package xiangshan.backend.decode.isa 2 3import chisel3.util._ 4 5object PseudoInstructions { 6 // no write csr 7 // csr | rs1 | funct3 | rd | opcode 8 def CSRRS_RO = BitPat("b????????????_00000____?10___?????_1110011") 9 def CSRRC_RO = BitPat("b????????????_00000____?11___?????_1110011") 10 11 // no read csr 12 def CSRRW_WO = BitPat("b????????????_xxxxx____?01___?????_1110011") 13} 14