rs6000: fix power10_hw test
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 7 Jul 2020 17:48:56 +0000 (12:48 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 7 Jul 2020 19:16:01 +0000 (14:16 -0500)
commit7126583af5d29235584b51b3b05eeaba2adef024
treefb145bf136f76b3d74c2ef6e799b3b74bbda58a0
parent7fd1b9dc8507669f4a6250788452b52322c4570b
rs6000: fix power10_hw test

The code snippet for this test was returning 1 if power10
instructions executed correctly. It should return 0 if the
test passes.

* lib/target-supports.exp (check_power10_hw_available):
Return 0 for passing test.
gcc/testsuite/lib/target-supports.exp