@@ -25,36 +25,36 @@ def uimm11 : RISCVUImmLeafOp<11>;
2525//===----------------------------------------------------------------------===//
2626
2727let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in {
28- class QCILoad_ScaleIdx<bits<4> func4 , string opcodestr>
28+ class QCILoad_ScaleIdx<bits<4> funct4 , string opcodestr>
2929 : RVInstRBase<0b111, OPC_CUSTOM_0,
3030 (outs GPR:$rd), (ins GPRMem:$rs1, GPRNoX0:$rs2, uimm3:$shamt),
3131 opcodestr, "$rd, $rs1, $rs2, $shamt"> {
3232 bits<3> shamt;
33- let Inst{31-28} = func4 ;
33+ let Inst{31-28} = funct4 ;
3434 let Inst{27-25} = shamt;
3535}
3636}
3737
3838let hasSideEffects = 0, mayLoad = 0, mayStore = 1 in {
3939// rd corresponds to the source for the store 'rs3' described in the spec.
40- class QCIStore_ScaleIdx<bits<4> func4 , string opcodestr>
40+ class QCIStore_ScaleIdx<bits<4> funct4 , string opcodestr>
4141 : RVInstRBase<0b110, OPC_CUSTOM_1, (outs),
4242 (ins GPR:$rd, GPRMem:$rs1, GPRNoX0:$rs2, uimm3:$shamt),
4343 opcodestr, "$rd, $rs1, $rs2, $shamt"> {
4444 bits<3> shamt;
45- let Inst{31-28} = func4 ;
45+ let Inst{31-28} = funct4 ;
4646 let Inst{27-25} = shamt;
4747}
4848}
4949
50- class QCIRVInstR<bits<4> func4 , string opcodestr>
51- : RVInstR<{0b000, func4 }, 0b011, OPC_CUSTOM_0, (outs GPRNoX0:$rd),
50+ class QCIRVInstR<bits<4> funct4 , string opcodestr>
51+ : RVInstR<{0b000, funct4 }, 0b011, OPC_CUSTOM_0, (outs GPRNoX0:$rd),
5252 (ins GPRNoX0:$rs1), opcodestr, "$rd, $rs1"> {
5353 let rs2 = 0;
5454}
5555
56- class QCIRVInstRR<bits<5> func5 , DAGOperand InTyRs1, string opcodestr>
57- : RVInstR<{0b00, func5 }, 0b011, OPC_CUSTOM_0, (outs GPRNoX0:$rd),
56+ class QCIRVInstRR<bits<5> funct5 , DAGOperand InTyRs1, string opcodestr>
57+ : RVInstR<{0b00, funct5 }, 0b011, OPC_CUSTOM_0, (outs GPRNoX0:$rd),
5858 (ins InTyRs1:$rs1, GPRNoX0:$rs2), opcodestr, "$rd, $rs1, $rs2">;
5959
6060let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
0 commit comments