From: Aleksandar Markovic <amarko...@wavecomp.com> This series begins to add unit tests (aka tcg tests) for MIPS' MSA ASE. More tests and related test infrastructure will be added in subsequent version of this series.
There are several checkpatch warnings that are all false positives for given circumstances. Aleksandar Markovic (5): tests/tcg: target/mips: Remove an unnecessary file tests/tcg: target/mips: Add a header with test inputs tests/tcg: target/mips: Add a header with MSA wrappers tests/tcg: target/mips: Add a header with test utilities tests/tcg: target/mips: Add tests for MSA bit counting instructions tests/tcg/mips/include/test_inputs.h | 120 +++++++++++++++++ tests/tcg/mips/include/test_utils.h | 84 ++++++++++++ tests/tcg/mips/include/wrappers_msa.h | 57 ++++++++ tests/tcg/mips/mips64-dspr2/.directory | 2 - .../user/ase/msa/bit_counting/test_msa_nloc_b.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nloc_d.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nloc_h.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nloc_w.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nlzc_b.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nlzc_d.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nlzc_h.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_nlzc_w.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_pcnt_b.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_pcnt_d.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_pcnt_h.c | 144 +++++++++++++++++++++ .../user/ase/msa/bit_counting/test_msa_pcnt_w.c | 144 +++++++++++++++++++++ 16 files changed, 1989 insertions(+), 2 deletions(-) create mode 100644 tests/tcg/mips/include/test_inputs.h create mode 100644 tests/tcg/mips/include/test_utils.h create mode 100644 tests/tcg/mips/include/wrappers_msa.h delete mode 100644 tests/tcg/mips/mips64-dspr2/.directory create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nloc_b.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nloc_d.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nloc_h.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nloc_w.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nlzc_b.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nlzc_d.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nlzc_h.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_nlzc_w.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_pcnt_b.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_pcnt_d.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_pcnt_h.c create mode 100644 tests/tcg/mips/user/ase/msa/bit_counting/test_msa_pcnt_w.c -- 2.7.4