[PATCH v4 0/7] tcg/arm: Unaligned access and other cleanup

Richard Henderson posted 7 patches 2 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220108063313.477784-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>
tcg/arm/tcg-target.h     |   6 +-
tcg/arm/tcg-target.c.inc | 407 ++++++++++++++++-----------------------
2 files changed, 170 insertions(+), 243 deletions(-)
[PATCH v4 0/7] tcg/arm: Unaligned access and other cleanup
Posted by Richard Henderson 2 years, 3 months ago
Based-on: <20220104021543.396571-1-richard.henderson@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