On Mon, 11 May 2026 at 15:01, Gabriel Brookman
<[email protected]> wrote:
>
> This feature disables generation of the mte check helper on loads when
> STORE_ONLY tag checking mode is enabled.
>
> Signed-off-by: Gabriel Brookman <[email protected]>
> Reviewed-by: Richard Henderson <[email protected]>
> ---
>  target/arm/cpu.h               |  2 ++
>  target/arm/tcg/hflags.c        | 12 ++++++++++++
>  target/arm/tcg/translate-a64.c |  8 ++++++--
>  target/arm/tcg/translate.h     |  2 ++
>  4 files changed, 22 insertions(+), 2 deletions(-)
>
> diff --git a/target/arm/cpu.h b/target/arm/cpu.h
> index 0894a050b1..fce0bde168 100644
> --- a/target/arm/cpu.h
> +++ b/target/arm/cpu.h
> @@ -2531,6 +2531,8 @@ FIELD(TBFLAG_A64, ZT0EXC_EL, 39, 2)
>  FIELD(TBFLAG_A64, GCS_EN, 41, 1)
>  FIELD(TBFLAG_A64, GCS_RVCEN, 42, 1)
>  FIELD(TBFLAG_A64, GCSSTR_EL, 43, 2)
> +FIELD(TBFLAG_A64, MTE_STORE_ONLY, 45, 1)
> +FIELD(TBFLAG_A64, MTE0_STORE_ONLY, 46, 1)

You'll find when you next rebase this that you'll need to bump
up the bit numbers here, as the FPMR_EL field that just
landed is using bits 45 and 46 now.

thanks
-- PMM

Reply via email to