cpu: Add missing rename of vector registers in the O3 CPU
authorRekai Gonzalez-Alberquilla <rekai.gonzalezalberquilla@arm.com>
Tue, 18 Jul 2017 15:31:38 +0000 (16:31 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 19 Jul 2017 10:01:15 +0000 (10:01 +0000)
commitc0875dfc398780a05dec68bbe36a17f73a98e030
tree55af0f398cbd2dcd08d6cd3b5c3dd8ff65a85fb6
parentdb522eb930020a7a9caf1ea6e289fc81a0bcc842
cpu: Add missing rename of vector registers in the O3 CPU

The introduction of a new vector register class broke rename in the O3
CPU due to an unhandled register class in
DefaultRename<Impl>::renameSrcRegs(). This patch fixes adds the
necessary handling to avoid a panic when the vector register file is
used.

Change-Id: Ie380ab35ec4a151db15402f25b25b58931ee0581
Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4140
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/o3/rename_impl.hh