qemu-e2k/tests/tcg/xtensa
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
..
crt.S
fpu.h tests/tcg/xtensa: update test_fp0_arith for DFPU 2020-08-21 12:48:15 -07:00
linker.ld.S tests/tcg/xtensa: support configurations w/o vecbase 2019-02-28 04:43:22 -08:00
macros.inc tests/tcg/xtensa: fix test execution on ISS 2020-08-21 12:48:15 -07:00
Makefile.softmmu-target tests/tcg: use EXTRA_CFLAGS everywhere 2019-09-10 09:38:33 +01:00
test_b.S tests/tcg/xtensa: fix endianness issues in test_b 2019-02-28 04:43:22 -08:00
test_bi.S
test_boolean.S tests/tcg/xtensa: enable boolean tests 2019-02-28 04:43:23 -08:00
test_break.S tests/tcg/xtensa: conditionalize debug option tests 2019-02-28 04:43:23 -08:00
test_bz.S
test_cache.S tests/tcg/xtensa: conditionalize cache option tests 2019-02-28 04:43:23 -08:00
test_clamps.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_dfp0_arith.S tests/tcg/xtensa: add DFP0 arithmetic tests 2020-08-21 12:48:16 -07:00
test_exclusive.S target/xtensa: implement exclusive access option 2019-05-15 10:31:52 -07:00
test_extui.S
test_flix.S target/xtensa: fix break_dependency for repeated resources 2019-03-21 21:47:50 -07:00
test_fp0_arith.S tests/tcg/xtensa: expand madd tests 2020-08-21 12:48:15 -07:00
test_fp0_conv.S tests/tcg/xtensa: update test_fp0_conv for DFPU 2020-08-21 12:48:16 -07:00
test_fp0_div.S tests/tcg/xtensa: add fp0 div and sqrt tests 2020-08-21 12:48:16 -07:00
test_fp0_sqrt.S tests/tcg/xtensa: add fp0 div and sqrt tests 2020-08-21 12:48:16 -07:00
test_fp1.S tests/tcg/xtensa: update test_fp1 for DFPU 2020-08-21 12:48:16 -07:00
test_fp_cpenable.S tests/tcg/xtensa: add FPU2000 coprocessor tests 2019-02-28 04:43:24 -08:00
test_interrupt.S tests/tcg/xtensa: conditionalize interrupt tests 2019-02-28 04:43:23 -08:00
test_load_store.S target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
test_loop.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_lsc.S tests/tcg/xtensa: test double precision load/store 2020-08-21 12:48:16 -07:00
test_mac16.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_max.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_min.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_mmu.S tests/tcg/xtensa: conditionalize MMU-related tests 2019-02-28 04:43:23 -08:00
test_mul16.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_mul32.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_nsa.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_phys_mem.S tests/tcg/xtensa: conditionalize MMU-related tests 2019-02-28 04:43:23 -08:00
test_quo.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_rem.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_rst0.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_s32c1i.S tests/tcg/xtensa: conditionalize and fix s32c1i tests 2019-02-28 04:43:23 -08:00
test_sar.S
test_sext.S tests/tcg/xtensa: add straightforward conditionals 2019-02-28 04:43:23 -08:00
test_shift.S
test_sr.S tests/tcg/xtensa: fix SR tests for big endian configs 2019-02-28 04:43:23 -08:00
test_timer.S tests/tcg/xtensa: conditionalize timer/CCOUNT tests 2019-02-28 04:43:23 -08:00
test_windowed.S tests/tcg/xtensa: conditionalize windowed register tests 2019-02-28 04:43:23 -08:00
vectors.S tests/tcg/xtensa: support configurations w/o vecbase 2019-02-28 04:43:22 -08:00