aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/mips/user/ase/msa/README
diff options
context:
space:
mode:
authorAleksandar Markovic <amarkovic@wavecomp.com>2019-06-06 18:27:20 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-06-07 11:53:07 +0200
commit88e34ac062c995df540a4d0ee80b8f8b62353072 (patch)
treed5b5d4781e805083e5d02b5c02980f9828020d9a /tests/tcg/mips/user/ase/msa/README
parent8598f5fac1c66485a7988734665e901deaa6b7c0 (diff)
tests/tcg: target/mips: Add README for MSA tests
Add README for MSA tests. This is just to explain how to run tests even without Makefile. Makefile will be provided later on. Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com> Message-Id: <1559838440-9866-11-git-send-email-aleksandar.markovic@rt-rk.com>
Diffstat (limited to 'tests/tcg/mips/user/ase/msa/README')
-rw-r--r--tests/tcg/mips/user/ase/msa/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/tcg/mips/user/ase/msa/README b/tests/tcg/mips/user/ase/msa/README
new file mode 100644
index 0000000000..ca4f070ec1
--- /dev/null
+++ b/tests/tcg/mips/user/ase/msa/README
@@ -0,0 +1,20 @@
+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