diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2025-08-26 11:21:29 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-08-30 16:37:22 +0100 |
commit | 3b53af353b0b2e00fced6f00de87c03346542665 (patch) | |
tree | 1e0cee2beee560b4324bb1d02b2ff4725bb46c1b | |
parent | 186db6a73bc5c01026bb9f4f4a59e442c0156841 (diff) | |
download | qemu-3b53af353b0b2e00fced6f00de87c03346542665.zip qemu-3b53af353b0b2e00fced6f00de87c03346542665.tar.gz qemu-3b53af353b0b2e00fced6f00de87c03346542665.tar.bz2 |
target/arm: Add feature predicate for FEAT_CSSC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20250803014019.416797-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/cpu-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/cpu-features.h b/target/arm/cpu-features.h index 8ec8c3f..41511d0 100644 --- a/target/arm/cpu-features.h +++ b/target/arm/cpu-features.h @@ -604,6 +604,11 @@ static inline bool isar_feature_aa64_rpres(const ARMISARegisters *id) return FIELD_EX64_IDREG(id, ID_AA64ISAR2, RPRES); } +static inline bool isar_feature_aa64_cssc(const ARMISARegisters *id) +{ + return FIELD_EX64_IDREG(id, ID_AA64ISAR2, CSSC) != 0; +} + static inline bool isar_feature_aa64_lut(const ARMISARegisters *id) { return FIELD_EX64_IDREG(id, ID_AA64ISAR2, LUT); |