Re: [PATCH v3 14/14] tcg/arm: Support raising sigbus for user-only

2021-08-20 Thread Peter Maydell
On Wed, 18 Aug 2021 at 22:43, Richard Henderson wrote: > > For v6+, use ldm/stm, ldrd/strd for the normal case of alignment > matching the access size. Otherwise, emit a test + branch sequence > invoking helper_unaligned_{ld,st}. > > For v4+v5, use piecewise load and stores to implement misalignm

[PATCH v3 14/14] tcg/arm: Support raising sigbus for user-only

2021-08-18 Thread Richard Henderson
For v6+, use ldm/stm, ldrd/strd for the normal case of alignment matching the access size. Otherwise, emit a test + branch sequence invoking helper_unaligned_{ld,st}. For v4+v5, use piecewise load and stores to implement misalignment. Signed-off-by: Richard Henderson --- tcg/arm/tcg-target.h