OSDN Git Service

tcg/sparc64: Use standard slow path for softmmu
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Apr 2023 00:45:31 +0000 (19:45 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 22:21:39 +0000 (15:21 -0700)
commit2908650333ec463031632baa6ab2c9609732056d
tree2b3fe35769b96a9b99a58bdbc98ff32613d2903b
parent1a42d9d472b61e4db2fb16800495d402cb9b94af
tcg/sparc64: Use standard slow path for softmmu

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.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/sparc64/tcg-target-con-set.h
tcg/sparc64/tcg-target-con-str.h
tcg/sparc64/tcg-target.c.inc
tcg/sparc64/tcg-target.h