You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/tcg/mips/user/ase/msa
Aleksandar Markovic 6eed53f71b target/mips: tests/tcg: Fix target configurations for MSA tests
At this moment, the only MIPS CPUs that are emulated in QEMU and
support MSA extension are R5600 (mips32r5), and I6400/I6500 (mips64r6).
Therefore, mips32r5 and mips64r6 are the only ISAs that could support
MSA in QEMU. This means mips32r6 currently do not make much sense, and
mips32r5 support for MSA tests is needed, which is done by this patch.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1566216496-17375-38-git-send-email-aleksandar.markovic@rt-rk.com>
5 years ago
..
bit-count tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
bit-move tests/tcg: target/mips: Add tests for MSA bit move instructions 5 years ago
bit-set tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
fixed-multiply tcg/tests: target/mips: Amend MSA fixed point multiply tests 5 years ago
float-max-min tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-add tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-average tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-compare tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-divide tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-dot-product tests/tcg: target/mips: Amend tests for MSA int dot product instructions 5 years ago
int-max-min tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-modulo tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
int-multiply tcg/tests: target/mips: Amend MSA integer multiply tests 5 years ago
int-subtract tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
interleave tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
logic tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
move tests/tcg: target/mips: Add tests for MSA move instructions 5 years ago
pack tests/tcg: target/mips: Fix some test cases for pack MSA instructions 5 years ago
shift tests/tcg: target/mips: Include isa/ase and group name in test output 6 years ago
README tests/tcg: target/mips: Add README for MSA tests 6 years ago
test_msa_compile_32r5eb.sh target/mips: tests/tcg: Fix target configurations for MSA tests 5 years ago
test_msa_compile_32r5el.sh target/mips: tests/tcg: Fix target configurations for MSA tests 5 years ago
test_msa_compile_64r6eb.sh tcg/tests: target/mips: Correct MSA test compilation and execution order 5 years ago
test_msa_compile_64r6el.sh tcg/tests: target/mips: Correct MSA test compilation and execution order 5 years ago
test_msa_run_32r5eb.sh target/mips: tests/tcg: Fix target configurations for MSA tests 5 years ago
test_msa_run_32r5el.sh target/mips: tests/tcg: Fix target configurations for MSA tests 5 years ago
test_msa_run_64r6eb.sh tcg/tests: target/mips: Correct MSA test compilation and execution order 5 years ago
test_msa_run_64r6el.sh tcg/tests: target/mips: Correct MSA test compilation and execution order 5 years ago

README

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