If VecElem is a basic type, which is a reasonable assumption, it can be contained in a RegVal. We still need to use the TheISA::VecElem type to extract it from an actual vector, but then it can be passed around as a RegVal. Change-Id: I4dc470e7cc369499ce3686dd291eb3d93ca0819a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49124 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>