arch-arm: Disambuiguate NumFloatV7ArchRegs usage
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 19 Nov 2019 11:45:03 +0000 (11:45 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 10 Dec 2019 10:15:05 +0000 (10:15 +0000)
commit90e524ba193ab5e867a8098a814f8dbb31aeee26
tree56bce33f2d49c01b1f879638202a067e5d65e718
parentf191901bd8def842b4f8c9d06f4adc0f47ae4918
arch-arm: Disambuiguate NumFloatV7ArchRegs usage

Sometimes NumFloatV7ArchRegs is used to specify the maximum number of
AArch32 floating point registers. Sometimes it is just used for indexing
a free register storage to be used by microcode.  In that scenario,
VecSpecialElem should be used, which is a index to the first available
non architectural register for floating point.

Change-Id: I4e84740701f0e7041cf1acad2afed471361c423a
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23107
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/macromem.cc
src/arch/arm/registers.hh