qemu/tests/tcg/mips/user/ase/msa
Aleksandar Markovic 0b1450cce8 tests/tcg: target/mips: Amend tests for MSA int multiply instructions
Amend tests for MSA int multiply instructions.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1561543629-20327-5-git-send-email-aleksandar.markovic@rt-rk.com>
2019-06-26 13:25:33 +02:00
..
bit-count tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
bit-move tests/tcg: target/mips: Add tests for MSA bit move instructions 2019-06-26 13:25:17 +02:00
bit-set tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
fixed-multiply tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
float-max-min tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-add tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-average tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-compare tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-divide tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-dot-product tests/tcg: target/mips: Amend tests for MSA int dot product instructions 2019-06-26 13:25:28 +02:00
int-max-min tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-modulo tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
int-multiply tests/tcg: target/mips: Amend tests for MSA int multiply instructions 2019-06-26 13:25:33 +02:00
int-subtract tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
interleave tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
logic tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
move tests/tcg: target/mips: Add tests for MSA move instructions 2019-06-26 13:25:22 +02:00
pack tests/tcg: target/mips: Amend tests for MSA pack instructions 2019-06-21 11:30:36 +02:00
shift tests/tcg: target/mips: Include isa/ase and group name in test output 2019-06-21 11:30:31 +02:00
README tests/tcg: target/mips: Add README for MSA tests 2019-06-07 11:53:07 +02:00
test_msa_compile.sh tests/tcg: target/mips: Amend tests for MSA int multiply instructions 2019-06-26 13:25:33 +02:00
test_msa_run.sh tests/tcg: target/mips: Amend tests for MSA int dot product instructions 2019-06-26 13:25:28 +02:00

The tests in subdirectories of this directory are supposed to be compiled for
mips64el MSA-enabled CPU (I6400, I6500), using an appropriate MIPS toolchain.
For example:

/opt/img/bin/mips-img-linux-gnu-gcc <source file>                  \
-EL -static -mabi=64 -march=mips64r6 -mmsa  -o <executable file>

They are to be executed using QEMU user mode, using command line:

mips64el-linux-user/qemu-mips64el -cpu I6400 <executable file>

Helper scripts test_msa_compile.sh and test_msa_run.sh are also
provided. This is an example of compilation and execution of all
MSA tests:

cd <QEMU root directory>
cd tests/tcg/mips/user/ase/msa

./test_msa_compile.sh
./test_msa_run.sh