target/arm: Add _aa32_ to isar_feature functions testing 32-bit ID registers
commit873b73c0c891ec20adacc7bd1ae789294334d675
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:50:56 +0000 (14 17:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:00 +0000 (21 16:07 +0000)
treeb19b132054da9f873b9ff37e25b99f139a674e13
parentb830a5ee82e66f54697dcc6450fe9239b7412d13
target/arm: Add _aa32_ to isar_feature functions testing 32-bit ID registers

Enforce a convention that an isar_feature function that tests a
32-bit ID register always has _aa32_ in its name, and one that
tests a 64-bit ID register always has _aa64_ in its name.
We already follow this except for three cases: thumb_div,
arm_div and jazelle, which all need _aa32_ adding.

(As noted in the comment, isar_feature_aa32_fp16_arith()
is an exception in that it currently tests ID_AA64PFR0_EL1,
but will switch to MVFR1 once we've properly implemented
FP16 for AArch32.)

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