[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 13/19] target/arm: Pass single_memop to gen_mte_checkN
From: |
Peter Maydell |
Subject: |
Re: [PATCH v1 13/19] target/arm: Pass single_memop to gen_mte_checkN |
Date: |
Thu, 23 Feb 2023 16:10:39 +0000 |
On Thu, 16 Feb 2023 at 03:10, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Pass the individual memop to gen_mte_checkN.
> For the moment, do nothing with it.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/arm/translate-a64.h | 2 +-
> target/arm/translate-a64.c | 26 +++++++++++++++-----------
> target/arm/translate-sve.c | 4 ++--
> 3 files changed, 18 insertions(+), 14 deletions(-)
>
> diff --git a/target/arm/translate-a64.h b/target/arm/translate-a64.h
> index 3fc39763d0..b7518f9d34 100644
> --- a/target/arm/translate-a64.h
> +++ b/target/arm/translate-a64.h
> @@ -54,7 +54,7 @@ TCGv_i64 clean_data_tbi(DisasContext *s, TCGv_i64 addr);
> TCGv_i64 gen_mte_check1(DisasContext *s, TCGv_i64 addr, bool is_write,
> bool tag_checked, MemOp memop);
> TCGv_i64 gen_mte_checkN(DisasContext *s, TCGv_i64 addr, bool is_write,
> - bool tag_checked, int size);
> + bool tag_checked, int size, MemOp memop);
>
> /* We should have at some point before trying to access an FP register
> * done the necessary access check, so assert that
> diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
> index e02bdd3e7c..1117a1cc41 100644
> --- a/target/arm/translate-a64.c
> +++ b/target/arm/translate-a64.c
> @@ -288,7 +288,7 @@ TCGv_i64 gen_mte_check1(DisasContext *s, TCGv_i64 addr,
> bool is_write,
> * For MTE, check multiple logical sequential accesses.
> */
> TCGv_i64 gen_mte_checkN(DisasContext *s, TCGv_i64 addr, bool is_write,
> - bool tag_checked, int size)
> + bool tag_checked, int total_size, MemOp single_mop)
Argument name in function definition should match the one in the
prototype.
Otherwise
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v1 10/19] target/arm: Hoist finalize_memop out of do_gpr_{ld, st}, (continued)
- [PATCH v1 11/19] target/arm: Hoist finalize_memop out of do_fp_{ld, st}, Richard Henderson, 2023/02/15
- [PATCH v1 12/19] target/arm: Pass memop to gen_mte_check1*, Richard Henderson, 2023/02/15
- [PATCH v1 14/19] target/arm: Check alignment in helper_mte_check, Richard Henderson, 2023/02/15
- [PATCH v1 13/19] target/arm: Pass single_memop to gen_mte_checkN, Richard Henderson, 2023/02/15
- Re: [PATCH v1 13/19] target/arm: Pass single_memop to gen_mte_checkN,
Peter Maydell <=
- [PATCH v1 15/19] target/arm: Add SCTLR.nAA to TBFLAG_A64, Richard Henderson, 2023/02/15
- [PATCH v1 16/19] target/arm: Relax ordered/atomic alignment checks for LSE2, Richard Henderson, 2023/02/15
[PATCH v1 17/19] target/arm: Move mte check for store-exclusive, Richard Henderson, 2023/02/15
[PATCH v1 18/19] test/tcg/multiarch: Adjust sigbus.c, Richard Henderson, 2023/02/15