On Mon, 18 May 2026 at 18:48, Richard Henderson <[email protected]> wrote: > > Signed-off-by: Richard Henderson <[email protected]> > --- > target/arm/cpu-features.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/target/arm/cpu-features.h b/target/arm/cpu-features.h > index 4e44245a8b..217ab29bb4 100644 > --- a/target/arm/cpu-features.h > +++ b/target/arm/cpu-features.h > @@ -1043,6 +1043,11 @@ 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_cmpbr(const ARMISARegisters *id) > +{ > + return FIELD_EX64_IDREG(id, ID_AA64ISAR2, CSSC) >= 2; > +} > +
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
