test/rs6000: Replace test targets p8 and p9+
authorKewen Lin <linkw@gcc.gnu.org>
Fri, 4 Sep 2020 02:58:39 +0000 (21:58 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Fri, 4 Sep 2020 03:01:56 +0000 (22:01 -0500)
commite1336703f8220dcffdeddb5e19dd032c766fbb8f
treeda6bde47fbe5d8afd3f4f71ff1427a36ac765459
parent6e82b6cfcf13d4fc4511695f4085cadd767c90d7
test/rs6000: Replace test targets p8 and p9+

This patch is to clean existing rs6000 test targets p8 and p9+
with existing has_arch_pwr8 and has_arch_pwr9 targets combination
or only one of them.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr92398.p9+.c: Replace p9+ with has_arch_pwr9.
* gcc.target/powerpc/pr92398.p9-.c: Replace p9+ with has_arch_pwr9,
and replace p8 with has_arch_pwr8 && !has_arch_pwr9.
* lib/target-supports.exp (check_effective_target_p8): Remove.
(check_effective_target_p9+): Remove.
gcc/testsuite/gcc.target/powerpc/pr92398.p9+.c
gcc/testsuite/gcc.target/powerpc/pr92398.p9-.c
gcc/testsuite/lib/target-supports.exp