Re: [PATCH v5 6/6] tcg/sparc: Support unaligned access for user-only

2022-02-07 Thread Peter Maydell
On Sun, 6 Feb 2022 at 10:31, Richard Henderson wrote: > > This is kinda sorta the opposite of the other tcg hosts, where > we get (normal) alignment checks for free with host SIGBUS and > need to add code to support unaligned accesses. > > This inline code expansion is somewhat large, but it takes

[PATCH v5 6/6] tcg/sparc: Support unaligned access for user-only

2022-02-06 Thread Richard Henderson
This is kinda sorta the opposite of the other tcg hosts, where we get (normal) alignment checks for free with host SIGBUS and need to add code to support unaligned accesses. This inline code expansion is somewhat large, but it takes quite a few instructions to make a function call to a helper anyw