cpu: Fix usage of setArchVecElem
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 12 Dec 2018 16:56:28 +0000 (16:56 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 15 Jan 2019 17:09:53 +0000 (17:09 +0000)
commitc5baffb5303e9c49d9d475e38783cdcf3391a9a4
tree9deba506bf3f975f9a1f27333c0e8419b0b3d783
parentf3ab99ef3ac16bd82b5eec4880e852fbbd31561f
cpu: Fix usage of setArchVecElem

setArchVecElem should create a VecElemClass RegId, and not a VecRegClass.
Initializing a VecRegClass with three arguments makes it panic

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