def InstFormatCA : InstFormat<14>;
def InstFormatCB : InstFormat<15>;
def InstFormatCJ : InstFormat<16>;
-def InstFormatCSZN : InstFormat<17>;
+def InstFormatCU : InstFormat<17>;
def InstFormatOther : InstFormat<18>;
class RISCVVConstraint<bits<3> val> {
let Inst{1-0} = opcode;
}
-class RVInst16CSZN<bits<6> funct6, bits<5> funct5, bits<2> opcode, dag outs,
- dag ins, string opcodestr, string argstr>
- : RVInst16<outs, ins, opcodestr, argstr, [], InstFormatCSZN>{
+class RVInst16CU<bits<6> funct6, bits<5> funct5, bits<2> opcode, dag outs,
+ dag ins, string opcodestr, string argstr>
+ : RVInst16<outs, ins, opcodestr, argstr, [], InstFormatCU>{
bits<3> rd;
let Inst{15-10} = funct6;
let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
class RVZcArith_r<bits<5> funct5, string OpcodeStr> :
- RVInst16CSZN<0b100111, funct5, 0b01, (outs GPRC:$rd_wb), (ins GPRC:$rd),
- OpcodeStr, "$rd"> {
+ RVInst16CU<0b100111, funct5, 0b01, (outs GPRC:$rd_wb), (ins GPRC:$rd),
+ OpcodeStr, "$rd"> {
let Constraints = "$rd = $rd_wb";
}