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>
This commit is contained in:
parent
f5e6786de4
commit
8b50d564be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user