xemu/tests/tcg/mips/user/ase/msa
mborgerson 57b0d947f3 deploy: 98a3974290 2025-07-29 22:06:20 +00:00
..
bit-count deploy: 98a3974290 2025-07-29 22:06:20 +00:00
bit-move deploy: 98a3974290 2025-07-29 22:06:20 +00:00
bit-set deploy: 98a3974290 2025-07-29 22:06:20 +00:00
fixed-multiply deploy: 98a3974290 2025-07-29 22:06:20 +00:00
float-max-min deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-add deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-average deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-compare deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-divide deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-dot-product deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-max-min deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-modulo deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-multiply deploy: 98a3974290 2025-07-29 22:06:20 +00:00
int-subtract deploy: 98a3974290 2025-07-29 22:06:20 +00:00
interleave deploy: 98a3974290 2025-07-29 22:06:20 +00:00
logic deploy: 98a3974290 2025-07-29 22:06:20 +00:00
move deploy: 98a3974290 2025-07-29 22:06:20 +00:00
pack deploy: 98a3974290 2025-07-29 22:06:20 +00:00
shift deploy: 98a3974290 2025-07-29 22:06:20 +00:00
README deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_compile_32r5eb.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_compile_32r5el.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_compile_64r6eb.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_compile_64r6el.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_run_32r5eb.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_run_32r5el.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_run_64r6eb.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00
test_msa_run_64r6el.sh deploy: 98a3974290 2025-07-29 22:06:20 +00:00

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