testsuite: Run vec_insert case on P8 and P9 with option specified
authorXionghu Luo <luoxhu@linux.ibm.com>
Fri, 29 Jan 2021 02:47:07 +0000 (20:47 -0600)
committerXionghu Luo <luoxhu@linux.ibm.com>
Fri, 29 Jan 2021 07:33:09 +0000 (01:33 -0600)
commit280a59d9211b36f8ddb8ca18e8dcba29643ca5da
tree6125b335459ad44b2a9b8bd5bba96c22b1808e69
parentf8f5388c9e94d4324c31d82b335fa138518e3171
testsuite: Run vec_insert case on P8 and P9 with option specified

Move run_test and TEST_VEC_INSERT_ALL to header file for share usage.

gcc/testsuite/ChangeLog:

2021-01-29  Xionghu Luo  <luoxhu@linux.ibm.com>

* gcc.target/powerpc/pr79251.p8.c: Move TEST_VEC_INSERT_ALL
to ...
* gcc.target/powerpc/pr79251.h: ...this.
* gcc.target/powerpc/pr79251.p9.c: Likewise.
* gcc.target/powerpc/pr79251-run.c: Move run_test to pr79251.h.
Rename to...
* gcc.target/powerpc/pr79251-run.p8.c: ...this.
* gcc.target/powerpc/pr79251-run.p9.c: New test.
gcc/testsuite/gcc.target/powerpc/pr79251-run.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr79251-run.p8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr79251-run.p9.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr79251.h
gcc/testsuite/gcc.target/powerpc/pr79251.p8.c
gcc/testsuite/gcc.target/powerpc/pr79251.p9.c