darwin, testsuite, powerpc - handle tests for new processors.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 15 May 2019 11:47:04 +0000 (11:47 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 15 May 2019 11:47:04 +0000 (11:47 +0000)
commitc221c627cb03585892bbcae2334c013b8fdf4b41
treec25ab3d9b8fbc0ae303a3ce3bccfbd90c17d1048
parent595ffc073bf5b1753e3a18dfa704391ad5fad626
darwin, testsuite, powerpc - handle tests for new processors.

If we build Darwin with a modern assembler, then it might well
recognise insns that cannot be used on current Darwin systems.

The patch augments the tests for feature support for VSX,
power8 and power9 to exclude Darwin even if the assembler can
handle the instructions.

2019-05-15  Iain Sandoe  <iain@sandoe.co.uk>

* lib/target-supports.exp
(check_effective_target_powerpc_p8vector_ok): No support for Darwin.
(check_effective_target_powerpc_p9vector_ok): Likewise.
(check_effective_target_powerpc_float128_sw_ok): Likewise.
(check_effective_target_powerpc_float128_hw_ok): Likewise.
(check_effective_target_powerpc_vsx_ok): Likewise.
* gcc.target/powerpc/bfp/bfp.exp: Don't try to run this for Darwin.
* gcc.target/powerpc/dfp/dfp.exp: Likewise.

From-SVN: r271205
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/bfp/bfp.exp
gcc/testsuite/gcc.target/powerpc/dfp/dfp.exp
gcc/testsuite/lib/target-supports.exp