Based-on: <20220104021543.396571-1-richard.hender...@linaro.org> ("[PATCH v4 0/7] Unaligned access for user only")
Changes from v3: * Rebase on master, which has some patches applied. * Drop support for armv4 and armv5. * Drop code to emit ldm/stm for aligned trapping insns. Previously, I added quite a lot of code to support armv4, and added more code to downgrade the detection of the host cpu, but all that seems mostly pointless in retrospect. The oldest reasonable system is probably the rpi, with armv6. Stuff older than than probably doesn't have enough memory to actually run qemu. Armv6 is an interesting cutoff, because that is the minimum that supports unaligned accesses in hw. r~ Richard Henderson (7): tcg/arm: Drop support for armv4 and armv5 hosts tcg/arm: Remove use_armv5t_instructions tcg/arm: Remove use_armv6_instructions tcg/arm: Check alignment for ldrd and strd tcg/arm: Support unaligned access for softmmu tcg/arm: Reserve a register for guest_base tcg/arm: Support raising sigbus for user-only tcg/arm/tcg-target.h | 6 +- tcg/arm/tcg-target.c.inc | 407 ++++++++++++++++----------------------- 2 files changed, 170 insertions(+), 243 deletions(-) -- 2.25.1