Hi Alex, after a long while and thanks to Thomas reminder, I finally came back to this series. I addressed most of your comments except for the timeout --foreground problem (see https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00921.html). I just couldn't figure out why QEMU hangs when run from the Makefile.
You can find the full tree here: https://github.com/bkoppelmann/qemu/tree/tricore-tcg-tests2 Cheers, Bastian Bastian Koppelmann (15): tests/tcg: Add docker_as and docker_ld cmds tests/tcg: Run timeout cmds using --foreground hw/tricore: Add testdevice for tests in tests/tcg/ tests/tcg/tricore: Add build infrastructure configure: Emit HOST_CC to config-host.mak tests/tcg/tricore: Add macros to create tests and first test 'abs' tests/tcg/tricore: Add bmerge test tests/tcg/tricore: Add clz test tests/tcg/tricore: Add dvstep test tests/tcg/tricore: Add fadd test tests/tcg/tricore: Add fmul test tests/tcg/tricore: Add ftoi test tests/tcg/tricore: Add madd test tests/tcg/tricore: Add msub test tests/tcg/tricore: Add muls test MAINTAINERS | 1 + configure | 1 + hw/tricore/meson.build | 1 + hw/tricore/tricore_testboard.c | 8 ++ hw/tricore/tricore_testdevice.c | 82 +++++++++++ include/hw/tricore/tricore_testdevice.h | 38 ++++++ tests/tcg/Makefile.qemu | 15 ++ tests/tcg/Makefile.target | 5 +- tests/tcg/configure.sh | 27 +++- tests/tcg/tricore/Makefile.softmmu-target | 26 ++++ .../tcg/tricore/Makefile.softmmu-target.orig | 25 ++++ tests/tcg/tricore/link.ld | 60 ++++++++ tests/tcg/tricore/macros.h | 129 ++++++++++++++++++ tests/tcg/tricore/test_abs.S | 7 + tests/tcg/tricore/test_bmerge.S | 8 ++ tests/tcg/tricore/test_clz.S | 9 ++ tests/tcg/tricore/test_dvstep.S | 15 ++ tests/tcg/tricore/test_fadd.S | 16 +++ tests/tcg/tricore/test_fmul.S | 8 ++ tests/tcg/tricore/test_ftoi.S | 10 ++ tests/tcg/tricore/test_madd.S | 11 ++ tests/tcg/tricore/test_msub.S | 9 ++ tests/tcg/tricore/test_muls.S | 9 ++ 23 files changed, 517 insertions(+), 3 deletions(-) create mode 100644 hw/tricore/tricore_testdevice.c create mode 100644 include/hw/tricore/tricore_testdevice.h create mode 100644 tests/tcg/tricore/Makefile.softmmu-target create mode 100644 tests/tcg/tricore/Makefile.softmmu-target.orig create mode 100644 tests/tcg/tricore/link.ld create mode 100644 tests/tcg/tricore/macros.h create mode 100644 tests/tcg/tricore/test_abs.S create mode 100644 tests/tcg/tricore/test_bmerge.S create mode 100644 tests/tcg/tricore/test_clz.S create mode 100644 tests/tcg/tricore/test_dvstep.S create mode 100644 tests/tcg/tricore/test_fadd.S create mode 100644 tests/tcg/tricore/test_fmul.S create mode 100644 tests/tcg/tricore/test_ftoi.S create mode 100644 tests/tcg/tricore/test_madd.S create mode 100644 tests/tcg/tricore/test_msub.S create mode 100644 tests/tcg/tricore/test_muls.S -- 2.30.1