Skip to content

Commit 40906aa

Browse files
authored
Update RISCVInstrInfoXqci.td
1 parent ce0bdd2 commit 40906aa

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,8 @@ let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in {
3232
(ins GPR:$rs1, GPRNoX0:$rs2), "qc.csrrwr",
3333
"$rd, $rs1, $rs2">;
3434

35-
def QC_CSRRWRI : RVInstRBase<0b000, OPC_SYSTEM, (outs GPR:$rd),
36-
(ins uimm5:$imm5, GPRNoX0:$rs2),
37-
"qc.csrrwri", "$rd, $imm5, $rs2"> {
38-
bits<5> imm5;
39-
40-
let Inst{31-25} = {0b1000111};
41-
let Inst{19-15} = imm5;
42-
}
35+
def QC_CSRRWRI : RVInstR<0b1000111, 0b000, OPC_SYSTEM, (outs GPR:$rd),
36+
(ins uimm5:$rs1, GPRNoX0:$rs2), "qc.csrrwri",
37+
"$rd, $rs1, $rs2">;
4338
} // hasSideEffects = 0, mayLoad = 0, mayStore = 0
4439
} // Predicates = [HasVendorXqcicsr, IsRV32], DecoderNamespace = "Xqcicsr"

0 commit comments

Comments
 (0)