4c399d066c
Add files for MSA MIPS32R6 target testings (copiling and running). Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com> Message-Id: <1561543629-20327-7-git-send-email-aleksandar.markovic@rt-rk.com> |
||
---|---|---|
.. | ||
bit-count | ||
bit-move | ||
bit-set | ||
fixed-multiply | ||
float-max-min | ||
int-add | ||
int-average | ||
int-compare | ||
int-divide | ||
int-dot-product | ||
int-max-min | ||
int-modulo | ||
int-multiply | ||
int-subtract | ||
interleave | ||
logic | ||
move | ||
pack | ||
shift | ||
README | ||
test_msa_compile_32r6eb.sh | ||
test_msa_compile_32r6el.sh | ||
test_msa_compile_64r6eb.sh | ||
test_msa_compile_64r6el.sh | ||
test_msa_run_32r6eb.sh | ||
test_msa_run_32r6el.sh | ||
test_msa_run_64r6eb.sh | ||
test_msa_run_64r6el.sh |
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