]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/tcg/tricore: Move asm tests into 'asm' directory
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Fri, 26 May 2023 06:19:41 +0000 (08:19 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 7 Jun 2023 16:20:25 +0000 (18:20 +0200)
this seperates these tests from the upcoming tests written in C.
Also rename the compiled test to 'test_<foo>.asm.tst'.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230526061946.54514-2-kbastian@mail.uni-paderborn.de>

17 files changed:
tests/tcg/tricore/Makefile.softmmu-target
tests/tcg/tricore/asm/macros.h [moved from tests/tcg/tricore/macros.h with 100% similarity]
tests/tcg/tricore/asm/test_abs.S [moved from tests/tcg/tricore/test_abs.S with 100% similarity]
tests/tcg/tricore/asm/test_bmerge.S [moved from tests/tcg/tricore/test_bmerge.S with 100% similarity]
tests/tcg/tricore/asm/test_clz.S [moved from tests/tcg/tricore/test_clz.S with 100% similarity]
tests/tcg/tricore/asm/test_dextr.S [moved from tests/tcg/tricore/test_dextr.S with 100% similarity]
tests/tcg/tricore/asm/test_dvstep.S [moved from tests/tcg/tricore/test_dvstep.S with 100% similarity]
tests/tcg/tricore/asm/test_fadd.S [moved from tests/tcg/tricore/test_fadd.S with 100% similarity]
tests/tcg/tricore/asm/test_fmul.S [moved from tests/tcg/tricore/test_fmul.S with 100% similarity]
tests/tcg/tricore/asm/test_ftoi.S [moved from tests/tcg/tricore/test_ftoi.S with 100% similarity]
tests/tcg/tricore/asm/test_imask.S [moved from tests/tcg/tricore/test_imask.S with 100% similarity]
tests/tcg/tricore/asm/test_insert.S [moved from tests/tcg/tricore/test_insert.S with 100% similarity]
tests/tcg/tricore/asm/test_ld_bu.S [moved from tests/tcg/tricore/test_ld_bu.S with 100% similarity]
tests/tcg/tricore/asm/test_ld_h.S [moved from tests/tcg/tricore/test_ld_h.S with 100% similarity]
tests/tcg/tricore/asm/test_madd.S [moved from tests/tcg/tricore/test_madd.S with 100% similarity]
tests/tcg/tricore/asm/test_msub.S [moved from tests/tcg/tricore/test_msub.S with 100% similarity]
tests/tcg/tricore/asm/test_muls.S [moved from tests/tcg/tricore/test_muls.S with 100% similarity]

index 49e573bc3be103c7dd72bde194da1aa2b1d09b71..29c75acfb377f1cf79e8e6269e3a8fdf512db515 100644 (file)
@@ -1,33 +1,34 @@
 TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore
+ASM_TESTS_PATH = $(TESTS_PATH)/asm
 
 LDFLAGS = -T$(TESTS_PATH)/link.ld --mcpu=tc162
 ASFLAGS = -mtc162
 
-TESTS += test_abs.tst
-TESTS += test_bmerge.tst
-TESTS += test_clz.tst
-TESTS += test_dextr.tst
-TESTS += test_dvstep.tst
-TESTS += test_fadd.tst
-TESTS += test_fmul.tst
-TESTS += test_ftoi.tst
-TESTS += test_imask.tst
-TESTS += test_insert.tst
-TESTS += test_ld_bu.tst
-TESTS += test_ld_h.tst
-TESTS += test_madd.tst
-TESTS += test_msub.tst
-TESTS += test_muls.tst
+TESTS += test_abs.asm.tst
+TESTS += test_bmerge.asm.tst
+TESTS += test_clz.asm.tst
+TESTS += test_dextr.asm.tst
+TESTS += test_dvstep.asm.tst
+TESTS += test_fadd.asm.tst
+TESTS += test_fmul.asm.tst
+TESTS += test_ftoi.asm.tst
+TESTS += test_imask.asm.tst
+TESTS += test_insert.asm.tst
+TESTS += test_ld_bu.asm.tst
+TESTS += test_ld_h.asm.tst
+TESTS += test_madd.asm.tst
+TESTS += test_msub.asm.tst
+TESTS += test_muls.asm.tst
 
 QEMU_OPTS += -M tricore_testboard -cpu tc27x -nographic -kernel
 
-%.pS: $(TESTS_PATH)/%.S
+%.pS: $(ASM_TESTS_PATH)/%.S
        $(HOST_CC) -E -o $@ $<
 
 %.o: %.pS
        $(AS) $(ASFLAGS) -o $@ $<
 
-%.tst: %.o
+%.asm.tst: %.o
        $(LD) $(LDFLAGS) $< -o $@
 
 # We don't currently support the multiarch system tests