Acked-by: Philippe Mathieu-Daudé <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Pierrick Bouvier <[email protected]> --- tests/tcg/mips/user/isa/mips64r6/crc/Makefile | 40 ------------------- .../logic => mips64}/test_mips64r6_and.c | 0 .../test_mips64r6_bitswap.c | 0 .../bit-count => mips64}/test_mips64r6_clo.c | 0 .../bit-count => mips64}/test_mips64r6_clz.c | 0 .../crc => mips64}/test_mips64r6_crc32b.c | 0 .../crc => mips64}/test_mips64r6_crc32cb.c | 0 .../crc => mips64}/test_mips64r6_crc32cd.c | 0 .../crc => mips64}/test_mips64r6_crc32ch.c | 0 .../crc => mips64}/test_mips64r6_crc32cw.c | 0 .../crc => mips64}/test_mips64r6_crc32d.c | 0 .../crc => mips64}/test_mips64r6_crc32h.c | 0 .../crc => mips64}/test_mips64r6_crc32w.c | 0 .../test_mips64r6_dbitswap.c | 0 .../bit-count => mips64}/test_mips64r6_dclo.c | 0 .../bit-count => mips64}/test_mips64r6_dclz.c | 0 .../test_mips64r6_dmuh.c | 0 .../test_mips64r6_dmuhu.c | 0 .../test_mips64r6_dmul.c | 0 .../test_mips64r6_dmulu.c | 0 .../shift => mips64}/test_mips64r6_dsllv.c | 0 .../shift => mips64}/test_mips64r6_dsrav.c | 0 .../shift => mips64}/test_mips64r6_dsrlv.c | 0 .../test_mips64r6_muh.c | 0 .../test_mips64r6_muhu.c | 0 .../test_mips64r6_mul.c | 0 .../test_mips64r6_mulu.c | 0 .../logic => mips64}/test_mips64r6_nor.c | 0 .../logic => mips64}/test_mips64r6_or.c | 0 .../shift => mips64}/test_mips64r6_sllv.c | 0 .../shift => mips64}/test_mips64r6_srav.c | 0 .../shift => mips64}/test_mips64r6_srlv.c | 0 .../logic => mips64}/test_mips64r6_xor.c | 0 33 files changed, 40 deletions(-) delete mode 100644 tests/tcg/mips/user/isa/mips64r6/crc/Makefile rename tests/tcg/{mips/user/isa/mips64r6/logic => mips64}/test_mips64r6_and.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-swap => mips64}/test_mips64r6_bitswap.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-count => mips64}/test_mips64r6_clo.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-count => mips64}/test_mips64r6_clz.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32b.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32cb.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32cd.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32ch.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32cw.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32d.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32h.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/crc => mips64}/test_mips64r6_crc32w.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-swap => mips64}/test_mips64r6_dbitswap.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-count => mips64}/test_mips64r6_dclo.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/bit-count => mips64}/test_mips64r6_dclz.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_dmuh.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_dmuhu.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_dmul.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_dmulu.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_dsllv.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_dsrav.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_dsrlv.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_muh.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_muhu.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_mul.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/int-multiply => mips64}/test_mips64r6_mulu.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/logic => mips64}/test_mips64r6_nor.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/logic => mips64}/test_mips64r6_or.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_sllv.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_srav.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/shift => mips64}/test_mips64r6_srlv.c (100%) rename tests/tcg/{mips/user/isa/mips64r6/logic => mips64}/test_mips64r6_xor.c (100%)
diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/Makefile b/tests/tcg/mips/user/isa/mips64r6/crc/Makefile deleted file mode 100644 index b7f5811a5e9..00000000000 --- a/tests/tcg/mips/user/isa/mips64r6/crc/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# -# Test program for MIPS64R6 CRC32 instructions -# -# Copyright (C) 2025 Aleksandar Rakic <[email protected]> -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -ifndef PREFIX - $(error "PREFIX not set, please export GNU Toolchain install directory.") -endif - -ifndef SYSROOT - $(error "SYSROOT not set, please export GNU Toolchain system root directory.") -endif - -SIM = ../../../../../../../build/qemu-mips64 -SIM_FLAGS = -L $(SYSROOT) - -CC = $(PREFIX)/bin/mips64-r6-linux-gnu-gcc - -TESTCASES = test_mips64r6_crc32b.tst -TESTCASES += test_mips64r6_crc32h.tst -TESTCASES += test_mips64r6_crc32w.tst -TESTCASES += test_mips64r6_crc32d.tst -TESTCASES += test_mips64r6_crc32cb.tst -TESTCASES += test_mips64r6_crc32ch.tst -TESTCASES += test_mips64r6_crc32cw.tst -TESTCASES += test_mips64r6_crc32cd.tst - -all: $(TESTCASES) - @for case in $(TESTCASES); do \ - echo $(SIM) $(SIM_FLAGS) ./$$case; \ - $(SIM) $(SIM_FLAGS) ./$$case; \ - echo $(RM) -rf ./$$case; \ - $(RM) -rf ./$$case; \ - done - -%.tst: %.c - $(CC) $< -o $@ diff --git a/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_and.c b/tests/tcg/mips64/test_mips64r6_and.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_and.c rename to tests/tcg/mips64/test_mips64r6_and.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_bitswap.c b/tests/tcg/mips64/test_mips64r6_bitswap.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_bitswap.c rename to tests/tcg/mips64/test_mips64r6_bitswap.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clo.c b/tests/tcg/mips64/test_mips64r6_clo.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clo.c rename to tests/tcg/mips64/test_mips64r6_clo.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clz.c b/tests/tcg/mips64/test_mips64r6_clz.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clz.c rename to tests/tcg/mips64/test_mips64r6_clz.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32b.c b/tests/tcg/mips64/test_mips64r6_crc32b.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32b.c rename to tests/tcg/mips64/test_mips64r6_crc32b.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cb.c b/tests/tcg/mips64/test_mips64r6_crc32cb.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cb.c rename to tests/tcg/mips64/test_mips64r6_crc32cb.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cd.c b/tests/tcg/mips64/test_mips64r6_crc32cd.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cd.c rename to tests/tcg/mips64/test_mips64r6_crc32cd.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32ch.c b/tests/tcg/mips64/test_mips64r6_crc32ch.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32ch.c rename to tests/tcg/mips64/test_mips64r6_crc32ch.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cw.c b/tests/tcg/mips64/test_mips64r6_crc32cw.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32cw.c rename to tests/tcg/mips64/test_mips64r6_crc32cw.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32d.c b/tests/tcg/mips64/test_mips64r6_crc32d.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32d.c rename to tests/tcg/mips64/test_mips64r6_crc32d.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32h.c b/tests/tcg/mips64/test_mips64r6_crc32h.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32h.c rename to tests/tcg/mips64/test_mips64r6_crc32h.c diff --git a/tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32w.c b/tests/tcg/mips64/test_mips64r6_crc32w.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/crc/test_mips64r6_crc32w.c rename to tests/tcg/mips64/test_mips64r6_crc32w.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c b/tests/tcg/mips64/test_mips64r6_dbitswap.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c rename to tests/tcg/mips64/test_mips64r6_dbitswap.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclo.c b/tests/tcg/mips64/test_mips64r6_dclo.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclo.c rename to tests/tcg/mips64/test_mips64r6_dclo.c diff --git a/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclz.c b/tests/tcg/mips64/test_mips64r6_dclz.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclz.c rename to tests/tcg/mips64/test_mips64r6_dclz.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuh.c b/tests/tcg/mips64/test_mips64r6_dmuh.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuh.c rename to tests/tcg/mips64/test_mips64r6_dmuh.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuhu.c b/tests/tcg/mips64/test_mips64r6_dmuhu.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuhu.c rename to tests/tcg/mips64/test_mips64r6_dmuhu.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmul.c b/tests/tcg/mips64/test_mips64r6_dmul.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmul.c rename to tests/tcg/mips64/test_mips64r6_dmul.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmulu.c b/tests/tcg/mips64/test_mips64r6_dmulu.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmulu.c rename to tests/tcg/mips64/test_mips64r6_dmulu.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsllv.c b/tests/tcg/mips64/test_mips64r6_dsllv.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsllv.c rename to tests/tcg/mips64/test_mips64r6_dsllv.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrav.c b/tests/tcg/mips64/test_mips64r6_dsrav.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrav.c rename to tests/tcg/mips64/test_mips64r6_dsrav.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c b/tests/tcg/mips64/test_mips64r6_dsrlv.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c rename to tests/tcg/mips64/test_mips64r6_dsrlv.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muh.c b/tests/tcg/mips64/test_mips64r6_muh.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muh.c rename to tests/tcg/mips64/test_mips64r6_muh.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muhu.c b/tests/tcg/mips64/test_mips64r6_muhu.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muhu.c rename to tests/tcg/mips64/test_mips64r6_muhu.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mul.c b/tests/tcg/mips64/test_mips64r6_mul.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mul.c rename to tests/tcg/mips64/test_mips64r6_mul.c diff --git a/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mulu.c b/tests/tcg/mips64/test_mips64r6_mulu.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mulu.c rename to tests/tcg/mips64/test_mips64r6_mulu.c diff --git a/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_nor.c b/tests/tcg/mips64/test_mips64r6_nor.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_nor.c rename to tests/tcg/mips64/test_mips64r6_nor.c diff --git a/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_or.c b/tests/tcg/mips64/test_mips64r6_or.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_or.c rename to tests/tcg/mips64/test_mips64r6_or.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_sllv.c b/tests/tcg/mips64/test_mips64r6_sllv.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_sllv.c rename to tests/tcg/mips64/test_mips64r6_sllv.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c b/tests/tcg/mips64/test_mips64r6_srav.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c rename to tests/tcg/mips64/test_mips64r6_srav.c diff --git a/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srlv.c b/tests/tcg/mips64/test_mips64r6_srlv.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srlv.c rename to tests/tcg/mips64/test_mips64r6_srlv.c diff --git a/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_xor.c b/tests/tcg/mips64/test_mips64r6_xor.c similarity index 100% rename from tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_xor.c rename to tests/tcg/mips64/test_mips64r6_xor.c -- 2.43.0
