arch-arm: Fix usage of RegId constructor for VecElem
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)
commitf3ab99ef3ac16bd82b5eec4880e852fbbd31561f
tree44881571a47be7a7a1a32c55b67b03d189887df6
parentd4116b03ade72c8f0e73098d8a3f8563188717ac
arch-arm: Fix usage of RegId constructor for VecElem

RegId() constructor requires three arguments in case of a VecElem
register: the class, the vector index and the element index inside the
vector, otherwise it panics.

Change-Id: Ic842df4dcddaffa83b211aa6e1dd1953cafa4951
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/15615
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/isa.hh