target/arm: Use isar_feature function for testing AA32HPD feature
commit4036b7d1cd9fb1097a5f4bc24d7d31744256260f
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:51:14 +0000 (14 17:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:02 +0000 (21 16:07 +0000)
tree05b452b3b5b20bbb4e9f9768b1e871913d20fab2
parent10054016eda1b13bdd8340d100fd029cc8b58f36
target/arm: Use isar_feature function for testing AA32HPD feature

Now we have moved ID_MMFR4 into the ARMISARegisters struct, we
can define and use an isar_feature for the presence of the
ARMv8.2-AA32HPD feature, rather than open-coding the test.

While we're here, correct a comment typo which missed an 'A'
from the feature name.

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