diff --git a/src/arch/isa_parser/operand_list.py b/src/arch/isa_parser/operand_list.py index 12a23d9066..cea3ae4056 100755 --- a/src/arch/isa_parser/operand_list.py +++ b/src/arch/isa_parser/operand_list.py @@ -135,7 +135,7 @@ class OperandList(object): parser.maxInstSrcRegs = max(parser.maxInstSrcRegs, self.numSrcRegs) parser.maxInstDestRegs = max(parser.maxInstDestRegs, self.numDestRegs) - parser.maxMiscDestRegs = max(parser.maxInstDestRegs, + parser.maxMiscDestRegs = max(parser.maxMiscDestRegs, self.numMiscDestRegs) # now make a final pass to finalize op_desc fields that may depend