cpu: Fix vector renaming bug
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 17 Feb 2020 10:45:43 +0000 (10:45 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 19 Feb 2020 14:54:24 +0000 (14:54 +0000)
commit2235168b72537535d74c645a70a85479801e0651
tree6012fcd6cb2008ee80d09297350a5d51a39b3a50
parentfb104cc926f9631c73019451df56f9f1fb40d2f9
cpu: Fix vector renaming bug

The following patch:

https://gem5-review.googlesource.com/c/public/gem5/+/25009

moved initialization of vecMode out of initializing list.
In this way regFile gets initialized with an invalid initial renaming
mode.

Change-Id: Ib7bab9eaac0f5850fd3b3151584132f809a641e1
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/+/25430
Reviewed-by: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/o3/cpu.cc