test/rs6000: Add cases to cover vector multiply
authorKewen Lin <linkw@linux.ibm.com>
Fri, 9 Jul 2021 02:59:50 +0000 (21:59 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Fri, 9 Jul 2021 02:59:50 +0000 (21:59 -0500)
commitc3d1aa891cbc4d78408481d528d8f0927c2a0379
tree1ab08fd714fa7a48c6f3da1b0484e402186b1ef1
parentfdc4d2a516d042bc9a6936fad3f887aff353a296
test/rs6000: Add cases to cover vector multiply

This patch is to add test cases to check if vectorizer
can exploit vector multiply instrutions on Power, some
of them are supported since Power8, the others are newly
introduced by Power10.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/mul-vectorize-1.c: New test.
* gcc.target/powerpc/mul-vectorize-2.c: New test.
gcc/testsuite/gcc.target/powerpc/mul-vectorize-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/mul-vectorize-2.c [new file with mode: 0644]