arch: Fix the code that computes MaxMiscDestReg.
authorGabe Black <gabe.black@gmail.com>
Mon, 7 Dec 2020 12:23:39 +0000 (04:23 -0800)
committerGabe Black <gabe.black@gmail.com>
Tue, 19 Jan 2021 00:12:52 +0000 (00:12 +0000)
commitd7083448e79e446b52b42b9dbf31d49e3ac506ff
tree09bca7679895248398907d6662580e3f61e2e120
parent5e836993db91231fa22f94fa1dec3ac392464edb
arch: Fix the code that computes MaxMiscDestReg.

This code was simplified a little while ago, and the wrong variable name
was used in that computation accidentally. Fortunately the "wrong" value
would be too large, and so nothing bad would happen except a pair of
arrays would be overly large in the O3 instruction class.

Change-Id: I9694f1a8c79a62a172ef63bdd2f98fa0ace06acd
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38383
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/isa_parser/operand_list.py