cpu: O3 rename using the flatIndex instead of index
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 10 Jan 2019 17:28:05 +0000 (17:28 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 25 Jan 2019 12:51:29 +0000 (12:51 +0000)
commit204e932607aa582cd7036b08e20521c2c6c49941
tree7f79e85a17fb19fbc7109c2e0c74e678f43d6b37
parent47fd797f1ecd303da3263b180904a7a0b0e18581
cpu: O3 rename using the flatIndex instead of index

This patch is replacing the RegId::index with RegId::flatIndex so that
it provides a valid register number when used by a VecElem register.

Change-Id: I5b000abb9457cd325c2a3021e772a75ea33d8a4c
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15600
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/o3/rename_map.cc