]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/sparc: Support unaligned access for user-only
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Aug 2021 00:54:30 +0000 (03:54 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 8 Feb 2022 22:00:00 +0000 (09:00 +1100)
commit321dbde33a6aa8e7780a3b6b4746628d215a1fec
treec1cd9f67d404369f8a997c517549c5bbd81b35ec
parente01d60f211251388a5d9ae7e02d0b4500af26966
tcg/sparc: Support unaligned access for user-only

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 anyway.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/sparc/tcg-target.c.inc