On Fri, 22 May 2026 at 23:05, Richard Henderson
<[email protected]> wrote:
>
> Signed-off-by: Richard Henderson <[email protected]>

> --- a/target/arm/tcg/translate.h
> +++ b/target/arm/tcg/translate.h
> @@ -872,4 +872,11 @@ static inline void gen_restore_rmode(TCGv_i32 old, 
> TCGv_ptr fpst)
>          return dc_isar_feature(FEAT, s) && FUNC(s, __VA_ARGS__);  \
>      }
>
> +#define TRANS_FEAT_STREAMING_SME2(NAME, FEAT, FUNC, ...)          \
> +    static bool trans_##NAME(DisasContext *s, arg_##NAME *a)      \
> +    {                                                             \
> +        s->is_nonstreaming = !dc_isar_feature(aa64_sme2, s);      \
> +        return dc_isar_feature(FEAT, s) && FUNC(s, __VA_ARGS__);  \
> +    }

I think this could use a brief comment, e.g.:
/* For SVE insns which are only valid in Streaming SVE mode when SME2
is implemented */

Otherwise
Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to