tcg: Add helper_unaligned_{ld,st} for user-only sigbus
commit37e891e38fe1e81fc468d8a000912f8e7ee61336
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 28 Jul 2021 05:41:04 +0000 (27 19:41 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 11:00:52 +0000 (2 07:00 -0400)
tree5e5bdd0a63b37fc86d48dfc34244c20287e267ba
parent9395cd0a38bfec68d150443f59aa50e44877a9c1
tcg: Add helper_unaligned_{ld,st} for user-only sigbus

To be called from tcg generated code on hosts that support
unaligned accesses natively, in response to an access that
is supposed to be aligned.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/user-exec.c
include/tcg/tcg-ldst.h