qemu/default-configs/targets
Max Filippov 583e6a5f55 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>
2021-05-20 13:02:58 -07:00
..
aarch64-linux-user.mak semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
aarch64-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
aarch64_be-linux-user.mak semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
alpha-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
alpha-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
arm-linux-user.mak semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
arm-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
armeb-linux-user.mak semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
avr-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
cris-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
cris-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
hexagon-linux-user.mak Hexagon build infrastructure 2021-02-18 08:25:06 -08:00
hppa-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
hppa-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
i386-bsd-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
i386-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
i386-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
m68k-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
m68k-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
microblaze-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
microblaze-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
microblazeel-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
microblazeel-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
mips-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mips-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mips64-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mips64-softmmu.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
mips64el-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mips64el-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
mipsel-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mipsel-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mipsn32-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
mipsn32el-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
nios2-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
nios2-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
or1k-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
or1k-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
ppc-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
ppc-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
ppc64-linux-user.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
ppc64-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
ppc64abi32-linux-user.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
ppc64le-linux-user.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
riscv32-linux-user.mak Testing, gdbstub and semihosting patches: 2021-01-18 12:10:20 +00:00
riscv32-softmmu.mak target/riscv: Remove built-in GDB XML files for CSRs 2021-01-16 10:57:21 -08:00
riscv64-linux-user.mak Testing, gdbstub and semihosting patches: 2021-01-18 12:10:20 +00:00
riscv64-softmmu.mak target/riscv: Remove built-in GDB XML files for CSRs 2021-01-16 10:57:21 -08:00
rx-softmmu.mak dtc: Convert Makefile bits to meson bits 2020-10-06 08:34:45 +02:00
s390x-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
s390x-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sh4-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sh4-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sh4eb-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sh4eb-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sparc-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sparc-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
sparc32plus-linux-user.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
sparc64-linux-user.mak linux-user/sparc: Merge sparc64/ into sparc/ 2021-05-15 21:43:23 +02:00
sparc64-softmmu.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
tricore-softmmu.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
x86_64-bsd-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
x86_64-linux-user.mak default-configs: remove redundant keys 2020-10-03 08:18:58 -04:00
x86_64-softmmu.mak default-configs: use TARGET_ARCH key 2020-10-03 08:18:57 -04:00
xtensa-linux-user.mak target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
xtensa-softmmu.mak target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
xtensaeb-linux-user.mak target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
xtensaeb-softmmu.mak target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00