summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorMax Filippov2021-05-17 21:31:08 +0200
committerMax Filippov2021-05-20 22:02:58 +0200
commit583e6a5f55d4b02f04eda0cd70bf7b7701a08450 (patch)
treee365a6c371dc6401b3397dd50afd9de362ff787f /include/exec/exec-all.h
parenttarget/xtensa: fix access ring in l32ex (diff)
downloadqemu-583e6a5f55d4b02f04eda0cd70bf7b7701a08450.tar.gz
qemu-583e6a5f55d4b02f04eda0cd70bf7b7701a08450.tar.xz
qemu-583e6a5f55d4b02f04eda0cd70bf7b7701a08450.zip
target/xtensa: clean up unaligned access
Xtensa cores may or may not have hardware support for unaligned memory access. Remove TARGET_ALIGNED_ONLY=y from all xtensa configurations and pass MO_ALIGN in memory access flags for all operations that would raise an exception. Simplify use of gen_load_store_alignment by passing access size and alignment requirements in single parameter. Drop condition from xtensa_cpu_do_unaligned_access and replace it with assertion. Add a test. Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions