qemu/tests/tcg
Aleksandar Markovic 1e6bea794c tests/tcg: target/mips: Add tests for MSA integer max/min instructions
Add tests for MSA integer max/min instructions. This includes
following instructions:

  * MAX_A.B - maximum of absolute of two signed values (bytes)
  * MAX_A.H - maximum of absolute of two signed values (halfwords)
  * MAX_A.W - maximum of absolute of two signed values (words)
  * MAX_A.D - maximum of absolute of two signed values (doublewords)
  * MIN_A.B - minimum of absolute of two signed values (bytes)
  * MIN_A.H - minimum of absolute of two signed values (halfwords)
  * MIN_A.W - minimum of absolute of two signed values (words)
  * MIN_A.D - minimum of absolute of two signed values (doublewords)
  * MAX_S.B - maximum of two signed values (bytes)
  * MAX_S.H - maximum of two signed values (halfwords)
  * MAX_S.W - maximum of two signed values (words)
  * MAX_S.D - maximum of two signed values (doublewords)
  * MIN_S.B - minimum of two signed values (bytes)
  * MIN_S.H - minimum of two signed values (halfwords)
  * MIN_S.W - minimum of two signed values (words)
  * MIN_S.D - minimum of two signed values (doublewords)
  * MAX_U.B - maximum of two unsigned values (bytes)
  * MAX_U.H - maximum of two unsigned values (halfwords)
  * MAX_U.W - maximum of two unsigned values (words)
  * MAX_U.D - maximum of two unsigned values (doublewords)
  * MIN_U.B - minimum of two unsigned values (bytes)
  * MIN_U.H - minimum of two unsigned values (halfwords)
  * MIN_U.W - minimum of two unsigned values (words)
  * MIN_U.D - minimum of two unsigned values (doublewords)

Each test consists of 80 test cases, so altogether there are 1920
test cases.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1551185735-17154-8-git-send-email-aleksandar.markovic@rt-rk.com>
2019-02-27 14:26:14 +01:00
..
aarch64 docker: add debian-buster-arm64-cross 2019-02-08 17:32:35 +00:00
alpha avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
arm avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
cris avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
hppa tests/tcg: enable building for HPPA 2018-06-20 20:22:34 +01:00
i386 avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
lm32
m68k tests/tcg: enable building for m68k 2018-06-20 20:22:34 +01:00
mips tests/tcg: target/mips: Add tests for MSA integer max/min instructions 2019-02-27 14:26:14 +01:00
multiarch avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
openrisc
ppc tests/tcg: enable building for PowerPC 2018-06-20 20:22:34 +01:00
riscv tests/tcg: enable building for RISCV64 2018-06-20 20:22:34 +01:00
s390x target/s390x: fix PACK reading 1 byte less and writing 1 byte more 2018-08-28 17:37:01 +02:00
sh4 tests/tcg: enable building for sh4 2018-06-20 20:22:34 +01:00
sparc64 tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
x86_64 tests/tcg/x86_64: add Makefile.target 2018-06-20 20:22:34 +01:00
xtensa tests/tcg/xtensa: only generate defined exception handlers 2018-09-17 11:09:04 -07:00
Makefile tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
Makefile.include tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
Makefile.probe tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
README tests/tcg/README: fix location for lm32 tests 2018-10-26 17:17:32 +02:00

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".

LM32
====
The testsuite for LM32 is in tests/tcg/lm32.  You can run it
with "make test-lm32".