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 /tests | |
parent | f5e6786de4815751b0a3d2235c760361f228ea48 (diff) |
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>
Diffstat (limited to 'tests')
-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 49e573bc3b..29c75acfb3 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 3df2e0de82..3df2e0de82 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 e42240159a..e42240159a 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 8a0fa6d3f6..8a0fa6d3f6 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 e03835f123..e03835f123 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 82c8fe5185..82c8fe5185 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 858dbc62dd..858dbc62dd 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 1a65054803..1a65054803 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 fb1f634b2d..fb1f634b2d 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 fb4af6b5aa..fb4af6b5aa 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 356cf398b8..356cf398b8 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 d5fd2237e1..d5fd2237e1 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 ff9dac128b..ff9dac128b 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 d3c157a046..d3c157a046 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 5d839772bb..5d839772bb 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 6dee87d99c..6dee87d99c 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 ca517556bc..ca517556bc 100644 --- a/tests/tcg/tricore/test_muls.S +++ b/tests/tcg/tricore/asm/test_muls.S |