target/arm: Add isar feature check functions for MVE
commit7df6a1ffdbdcaf98fa57747dc79216ac089e6215
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 May 2021 15:28:32 +0000 (20 16:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:24 +0000 (3 16:43 +0100)
treeecfa5dabc7c95def02fa2e2d6053cc621984f5e5
parenta97978bcc2d1f650c7d411428806e5b03082b8c7
target/arm: Add isar feature check functions for MVE

Add the isar feature check functions we will need for v8.1M MVE:
 * a check for MVE present: this corresponds to the pseudocode's
   CheckDecodeFaults(ExtType_Mve)
 * a check for the optional floating-point part of MVE: this
   corresponds to CheckDecodeFaults(ExtType_MveFp)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210520152840.24453-2-peter.maydell@linaro.org
target/arm/cpu.h