arch-arm: CPTR.FPEN controlling SVE enablement
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 1 May 2020 13:33:25 +0000 (14:33 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Sat, 9 May 2020 21:35:44 +0000 (21:35 +0000)
commit0b7e0199fb38f46f86b28e7d654b4939d99b7cc3
tree69e0518aa6af5454d16c0cd89180bedc2180554d
parent5aff442c76e538c85981d12d31a963780f9e4092
arch-arm: CPTR.FPEN controlling SVE enablement

CheckSveEnabled shouldn't check for .ZEN only.
SVE instructions require Advanced SIMD to be supported as
well (CPTR.FPEN) with the caveat of ZEN check having priority
over the FPEN.

Change-Id: Ia1b5f7df3e25e7ffcad472542cb973635f62637b
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28768
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/static_inst.cc