rs6000: clean up testsuite power10_hw check
authorAaron Sawdey <acsawdey@linux.ibm.com>
Mon, 13 Jul 2020 21:19:33 +0000 (16:19 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Mon, 13 Jul 2020 21:25:41 +0000 (16:25 -0500)
commit94c7c67b82dd7255fde0d7ae42d483336ea1b60b
treece59e09d40947b4e3cadb8e3ecc944302641c96f
parent698bad8d4832f1c1250b253d655d8fb537a3d31d
rs6000: clean up testsuite power10_hw check

Because the check for power10_hw is not called
check_effective_target_power10_hw, it needs to be looked
for by is-effective-target-keyword. Also reorder things
in is-effective-target to put power10_hw with the other
ppc stuff.

gcc/testsuite/

* lib/target-supports.exp (is-effective-target):
Reorder to put powerpc stuff together.
(is-effective-target-keyword): Add power10_hw.
gcc/testsuite/lib/target-supports.exp