diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-05-26 08:19:41 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-06-07 18:20:25 +0200 |
commit | 8b50d564bee4d0e3864456ac8e92f981dba7959a (patch) | |
tree | 72f2f616dfb0958153c34e6c3ee13171c18b0c97 | |
parent | f5e6786de4815751b0a3d2235c760361f228ea48 (diff) | |
download | qemu-8b50d564bee4d0e3864456ac8e92f981dba7959a.zip qemu-8b50d564bee4d0e3864456ac8e92f981dba7959a.tar.gz qemu-8b50d564bee4d0e3864456ac8e92f981dba7959a.tar.bz2 |
tests/tcg/tricore: Move asm tests into 'asm' directory
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>
-rw-r--r-- | tests/tcg/tricore/Makefile.softmmu-target | 35 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/macros.h (renamed from tests/tcg/tricore/macros.h) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_abs.S (renamed from tests/tcg/tricore/test_abs.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_bmerge.S (renamed from tests/tcg/tricore/test_bmerge.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_clz.S (renamed from tests/tcg/tricore/test_clz.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_dextr.S (renamed from tests/tcg/tricore/test_dextr.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_dvstep.S (renamed from tests/tcg/tricore/test_dvstep.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_fadd.S (renamed from tests/tcg/tricore/test_fadd.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_fmul.S (renamed from tests/tcg/tricore/test_fmul.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_ftoi.S (renamed from tests/tcg/tricore/test_ftoi.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_imask.S (renamed from tests/tcg/tricore/test_imask.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_insert.S (renamed from tests/tcg/tricore/test_insert.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_ld_bu.S (renamed from tests/tcg/tricore/test_ld_bu.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_ld_h.S (renamed from tests/tcg/tricore/test_ld_h.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_madd.S (renamed from tests/tcg/tricore/test_madd.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_msub.S (renamed from tests/tcg/tricore/test_msub.S) | 0 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_muls.S (renamed from tests/tcg/tricore/test_muls.S) | 0 |
17 files changed, 18 insertions, 17 deletions
diff --git a/tests/tcg/tricore/Makefile.softmmu-target b/tests/tcg/tricore/Makefile.softmmu-target index 49e573b..29c75ac 100644 --- a/tests/tcg/tricore/Makefile.softmmu-target +++ b/tests/tcg/tricore/Makefile.softmmu-target @@ -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 diff --git a/tests/tcg/tricore/macros.h b/tests/tcg/tricore/asm/macros.h index 3df2e0d..3df2e0d 100644 --- a/tests/tcg/tricore/macros.h +++ b/tests/tcg/tricore/asm/macros.h diff --git a/tests/tcg/tricore/test_abs.S b/tests/tcg/tricore/asm/test_abs.S index e422401..e422401 100644 --- a/tests/tcg/tricore/test_abs.S +++ b/tests/tcg/tricore/asm/test_abs.S diff --git a/tests/tcg/tricore/test_bmerge.S b/tests/tcg/tricore/asm/test_bmerge.S index 8a0fa6d..8a0fa6d 100644 --- a/tests/tcg/tricore/test_bmerge.S +++ b/tests/tcg/tricore/asm/test_bmerge.S diff --git a/tests/tcg/tricore/test_clz.S b/tests/tcg/tricore/asm/test_clz.S index e03835f..e03835f 100644 --- a/tests/tcg/tricore/test_clz.S +++ b/tests/tcg/tricore/asm/test_clz.S diff --git a/tests/tcg/tricore/test_dextr.S b/tests/tcg/tricore/asm/test_dextr.S index 82c8fe5..82c8fe5 100644 --- a/tests/tcg/tricore/test_dextr.S +++ b/tests/tcg/tricore/asm/test_dextr.S diff --git a/tests/tcg/tricore/test_dvstep.S b/tests/tcg/tricore/asm/test_dvstep.S index 858dbc6..858dbc6 100644 --- a/tests/tcg/tricore/test_dvstep.S +++ b/tests/tcg/tricore/asm/test_dvstep.S diff --git a/tests/tcg/tricore/test_fadd.S b/tests/tcg/tricore/asm/test_fadd.S index 1a65054..1a65054 100644 --- a/tests/tcg/tricore/test_fadd.S +++ b/tests/tcg/tricore/asm/test_fadd.S diff --git a/tests/tcg/tricore/test_fmul.S b/tests/tcg/tricore/asm/test_fmul.S index fb1f634..fb1f634 100644 --- a/tests/tcg/tricore/test_fmul.S +++ b/tests/tcg/tricore/asm/test_fmul.S diff --git a/tests/tcg/tricore/test_ftoi.S b/tests/tcg/tricore/asm/test_ftoi.S index fb4af6b..fb4af6b 100644 --- a/tests/tcg/tricore/test_ftoi.S +++ b/tests/tcg/tricore/asm/test_ftoi.S diff --git a/tests/tcg/tricore/test_imask.S b/tests/tcg/tricore/asm/test_imask.S index 356cf39..356cf39 100644 --- a/tests/tcg/tricore/test_imask.S +++ b/tests/tcg/tricore/asm/test_imask.S diff --git a/tests/tcg/tricore/test_insert.S b/tests/tcg/tricore/asm/test_insert.S index d5fd223..d5fd223 100644 --- a/tests/tcg/tricore/test_insert.S +++ b/tests/tcg/tricore/asm/test_insert.S diff --git a/tests/tcg/tricore/test_ld_bu.S b/tests/tcg/tricore/asm/test_ld_bu.S index ff9dac1..ff9dac1 100644 --- a/tests/tcg/tricore/test_ld_bu.S +++ b/tests/tcg/tricore/asm/test_ld_bu.S diff --git a/tests/tcg/tricore/test_ld_h.S b/tests/tcg/tricore/asm/test_ld_h.S index d3c157a..d3c157a 100644 --- a/tests/tcg/tricore/test_ld_h.S +++ b/tests/tcg/tricore/asm/test_ld_h.S diff --git a/tests/tcg/tricore/test_madd.S b/tests/tcg/tricore/asm/test_madd.S index 5d83977..5d83977 100644 --- a/tests/tcg/tricore/test_madd.S +++ b/tests/tcg/tricore/asm/test_madd.S diff --git a/tests/tcg/tricore/test_msub.S b/tests/tcg/tricore/asm/test_msub.S index 6dee87d..6dee87d 100644 --- a/tests/tcg/tricore/test_msub.S +++ b/tests/tcg/tricore/asm/test_msub.S diff --git a/tests/tcg/tricore/test_muls.S b/tests/tcg/tricore/asm/test_muls.S index ca51755..ca51755 100644 --- a/tests/tcg/tricore/test_muls.S +++ b/tests/tcg/tricore/asm/test_muls.S |