OSDN Git Service

tcg/arm: Adjust constraints on qemu_ld/st
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Apr 2023 11:31:46 +0000 (12:31 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 22:21:39 +0000 (15:21 -0700)
commit7212812263402605abb147e5b2468f523a1471ab
treec799f1adb62359ee35972f271c9e632918accfc8
parent9161e9ae2eb62655ce1e9c4ec67cd1ff69639e7f
tcg/arm: Adjust constraints on qemu_ld/st

Always reserve r3 for tlb softmmu lookup.  Fix a bug in user-only
ALL_QLDST_REGS, in that r14 is clobbered by the BLNE that leads
to the misaligned trap.  Remove r0+r1 from user-only ALL_QLDST_REGS;
I believe these had been reserved for bswap, which we no longer
perform during qemu_st.

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