Name Date Size #Lines LOC

..--

bit-count/H--1,8001,392

bit-move/H--2,3651,958

bit-set/H--1,9081,488

fixed-multiply/H--2,3801,920

float-max-min/H--1,272992

int-add/H--4,1863,224

int-average/H--2,5761,984

int-compare/H--3,2202,480

int-divide/H--1,288992

int-dot-product/H--3,5462,880

int-max-min/H--3,8642,976

int-modulo/H--1,288992

int-multiply/H--2,3641,920

int-subtract/H--5,4744,216

interleave/H--2,5441,984

logic/H--636496

move/H--150116

pack/H--2,5802,136

shift/H--3,1802,480

READMEH A D07-Jun-2019674 2114

test_msa_compile_32r5eb.shH A D20-Aug-201953.3 KiB918822

test_msa_compile_32r5el.shH A D20-Aug-201953.3 KiB918822

test_msa_compile_64r6eb.shH A D03-Jul-201942.6 KiB644548

test_msa_compile_64r6el.shH A D03-Jul-201942.6 KiB644548

test_msa_run_32r5eb.shH A D20-Aug-201915.3 KiB372275

test_msa_run_32r5el.shH A D20-Aug-201915.3 KiB372275

test_msa_run_64r6eb.shH A D03-Jul-201915.3 KiB372275

test_msa_run_64r6el.shH A D03-Jul-201915.3 KiB372275

README

1The tests in subdirectories of this directory are supposed to be compiled for
2mips64el MSA-enabled CPU (I6400, I6500), using an appropriate MIPS toolchain.
3For example:
4
5/opt/img/bin/mips-img-linux-gnu-gcc <source file>                  \
6-EL -static -mabi=64 -march=mips64r6 -mmsa  -o <executable file>
7
8They are to be executed using QEMU user mode, using command line:
9
10mips64el-linux-user/qemu-mips64el -cpu I6400 <executable file>
11
12Helper scripts test_msa_compile.sh and test_msa_run.sh are also
13provided. This is an example of compilation and execution of all
14MSA tests:
15
16cd <QEMU root directory>
17cd tests/tcg/mips/user/ase/msa
18
19./test_msa_compile.sh
20./test_msa_run.sh
21