qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/7] tcg/arm: Unaligned access and other cleanup
@ 2022-01-08  6:33 Richard Henderson
  2022-01-08  6:33 ` [PATCH v4 1/7] tcg/arm: Drop support for armv4 and armv5 hosts Richard Henderson
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Richard Henderson @ 2022-01-08  6:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-01-11 12:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-08  6:33 [PATCH v4 0/7] tcg/arm: Unaligned access and other cleanup Richard Henderson
2022-01-08  6:33 ` [PATCH v4 1/7] tcg/arm: Drop support for armv4 and armv5 hosts Richard Henderson
2022-01-11 11:24   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 2/7] tcg/arm: Remove use_armv5t_instructions Richard Henderson
2022-01-11 11:27   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 3/7] tcg/arm: Remove use_armv6_instructions Richard Henderson
2022-01-11 11:30   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 4/7] tcg/arm: Check alignment for ldrd and strd Richard Henderson
2022-01-11 11:32   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 5/7] tcg/arm: Support unaligned access for softmmu Richard Henderson
2022-01-11 11:56   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 6/7] tcg/arm: Reserve a register for guest_base Richard Henderson
2022-01-11 12:00   ` Peter Maydell
2022-01-08  6:33 ` [PATCH v4 7/7] tcg/arm: Support raising sigbus for user-only Richard Henderson
2022-01-11 12:06   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).