OSDN Git Service

tcg/loongarch64: Use full load/store helpers in user-only mode
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 2 Apr 2023 22:05:39 +0000 (22:05 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 22:21:39 +0000 (15:21 -0700)
commit3fb4934d3446940866fdbbba370d84a22fd3a7e1
tree4e295e01c754f43d75f960887f8e3c8011c0a138
parent64d51dc31a5bdf5a0571ce48717a7daf1f7dc4aa
tcg/loongarch64: Use full load/store helpers in user-only mode

Instead of using helper_unaligned_{ld,st}, use the full load/store helpers.
This will allow the fast path to increase alignment to implement atomicity
while not immediately raising an alignment exception.

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