summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-25 12:06:48 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-16 15:21:39 -0700
commit933b331b306cd530a441d25245577f30ee0b938e (patch)
tree995f63e0a546b7bfcb58ed030aa0314b062458f9 /tcg/optimize.c
parent12d7fead7c6232b3ddae963b113dcaf7e1cb1f28 (diff)
downloadfocaccia-qemu-933b331b306cd530a441d25245577f30ee0b938e.tar.gz
focaccia-qemu-933b331b306cd530a441d25245577f30ee0b938e.zip
tcg/riscv: Support softmmu unaligned accesses
The system is required to emulate unaligned accesses, even if the
hardware does not support it.  The resulting trap may or may not
be more efficient than the qemu slow path.  There are linux kernel
patches in flight to allow userspace to query hardware support;
we can re-evaluate whether to enable this by default after that.

In the meantime, softmmu now matches useronly, where we already
assumed that unaligned accesses are supported.

Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions