[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 34/57] tcg/sparc64: Use standard slow path for softmmu
From: |
Peter Maydell |
Subject: |
Re: [PATCH v4 34/57] tcg/sparc64: Use standard slow path for softmmu |
Date: |
Fri, 5 May 2023 13:26:58 +0100 |
On Wed, 3 May 2023 at 08:11, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Drop the target-specific trampolines for the standard slow path.
> This lets us use tcg_out_helper_{ld,st}_args, and handles the new
> atomicity bits within MemOp.
>
> At the same time, use the full load/store helpers for user-only mode.
> Drop inline unaligned access support for user-only mode, as it does
> not handle atomicity.
>
> Use TCG_REG_T[1-3] in the tlb lookup, instead of TCG_REG_O[0-2].
> This allows the constraints to be simplified.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> tcg/sparc64/tcg-target-con-set.h | 2 -
> tcg/sparc64/tcg-target-con-str.h | 1 -
> tcg/sparc64/tcg-target.h | 1 +
> tcg/sparc64/tcg-target.c.inc | 610 +++++++++----------------------
> 4 files changed, 182 insertions(+), 432 deletions(-)
This is a pretty big patch, and git diff hasn't done it any
favours either. Perhaps I'll have more stamina for it in v5,
or maybe somebody else will look at it...
-- PMM
- Re: [PATCH v4 33/57] tcg/sparc64: Split out tcg_out_movi_s32, (continued)
- [PATCH v4 36/57] tcg/loongarch64: Assert the host supports unaligned accesses, Richard Henderson, 2023/05/03
- [PATCH v4 35/57] accel/tcg: Remove helper_unaligned_{ld,st}, Richard Henderson, 2023/05/03
- [PATCH v4 37/57] tcg/loongarch64: Support softmmu unaligned accesses, Richard Henderson, 2023/05/03
- [PATCH v4 34/57] tcg/sparc64: Use standard slow path for softmmu, Richard Henderson, 2023/05/03
- Re: [PATCH v4 34/57] tcg/sparc64: Use standard slow path for softmmu,
Peter Maydell <=
- [PATCH v4 38/57] tcg/riscv: Support softmmu unaligned accesses, Richard Henderson, 2023/05/03
- [PATCH v4 39/57] tcg: Introduce tcg_target_has_memory_bswap, Richard Henderson, 2023/05/03
- [PATCH v4 43/57] tcg/i386: Use atom_and_align_for_opc, Richard Henderson, 2023/05/03
- [PATCH v4 40/57] tcg: Add INDEX_op_qemu_{ld,st}_i128, Richard Henderson, 2023/05/03
- [PATCH v4 47/57] tcg/mips: Use atom_and_align_for_opc, Richard Henderson, 2023/05/03