target/arm: Add _aa64_ and _any_ versions of pmu_8_1 isar checks
commit2a609df87d9b886fd38a190a754dbc241ff707e8
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:51:04 +0000 (14 17:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:01 +0000 (21 16:07 +0000)
treeb421a2b7dd32bdb0cbd0cdce9bfe62fc8edc76c4
parenta617953855b65a602d36364b9643f7e5bc31288e
target/arm: Add _aa64_ and _any_ versions of pmu_8_1 isar checks

Add the 64-bit version of the "is this a v8.1 PMUv3?"
ID register check function, and the _any_ version that
checks for either AArch32 or AArch64 support. We'll use
this in a later commit.

We don't (yet) do any isar_feature checks on ID_AA64DFR1_EL1,
but we move id_aa64dfr1 into the ARMISARegisters struct with
id_aa64dfr0, for consistency.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200214175116.9164-10-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/cpu.h
target/arm/cpu64.c
target/arm/helper.c