qemu-patch-raspberry4/tests/tcg/xtensa
Max Filippov 906da88291 tests/tcg/xtensa: support configurations w/o vecbase
Configurations w/o vecbase may have vectors not grouped together and not
in fixed order. They may not always be grouped into single output
sections by assigning next offset to dot, as it may sometimes move dot
backwards and sometimes they may even belong to different memory region.
Don't group vectors into single output section. Instead put each vector
into its own section ant put it at its default virtual address.
Reserve 4KBytes from the default vectors base and put rest of the code
and data starting from there. Mark vectors sections as executable,
otherwise their contents is discarded. There may be as little as 16
bytes reserved for some vectors, load handler address into a0 and use
ret.n to jump there to make vector code fit into this 16 byte space.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2019-02-28 04:43:22 -08:00
..
crt.S tests: mv tests/* -> tests/tcg 2012-01-12 10:03:28 -06: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: indicate failed tests 2019-02-28 04:43:22 -08:00
Makefile tests/tcg/xtensa: support configurations w/o vecbase 2019-02-28 04:43:22 -08:00
test_b.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_bi.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_boolean.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_break.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_bz.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_cache.S target-xtensa: add basic tests for cache opcodes 2014-02-24 04:47:02 +04:00
test_clamps.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_extui.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_fail.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_interrupt.S target/xtensa: tests: clean up interrupt tests 2017-01-15 13:36:09 -08:00
test_loop.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_mac16.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_max.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_min.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_mmu.S target-xtensa: test cross-page opcode 2014-12-17 05:49:32 +03:00
test_mul16.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_mul32.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_nsa.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_phys_mem.S tests/tcg/xtensa: add test for failed memory transactions 2018-09-17 11:09:04 -07:00
test_pipeline.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_quo.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_rem.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_rst0.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_s32c1i.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_sar.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_sext.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_shift.S target-xtensa: allow using core configuration in tests 2014-02-24 04:47:01 +04:00
test_sr.S target/xtensa: tests: fix memctl SR test 2018-01-09 09:55:38 -08:00
test_timer.S target/xtensa: tests: add ccount write tests 2017-01-15 13:01:56 -08:00
test_windowed.S target-xtensa: add entry overflow test 2014-11-10 17:59:13 +03:00
vectors.S tests/tcg/xtensa: support configurations w/o vecbase 2019-02-28 04:43:22 -08:00