target/arm: Define and use any_predinv isar_feature test
commit22e570730d15374453baa73ff2a699e01ef4e950
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:50:59 +0000 (14 17:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:01 +0000 (21 16:07 +0000)
tree9468eaf9c40c4a77ac4334d5ebbf9d0815dce315
parent6e61f8391cc6cb0846d4bf078dbd935c2aeebff5
target/arm: Define and use any_predinv isar_feature test

Instead of open-coding "ARM_FEATURE_AARCH64 ? aa64_predinv: aa32_predinv",
define and use an any_predinv isar_feature test function.

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-5-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c