rs6000: powerpc_future_ok and powerpc_future_hw
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Mon, 11 May 2020 13:44:48 +0000 (08:44 -0500)
committerBill Schmidt <wschmidt@linux.ibm.com>
Mon, 11 May 2020 13:44:48 +0000 (08:44 -0500)
commitef834ed9da2903adc3ecf4b33ada4e85c08dd394
tree824e5e1b7f8b2ddb4af1e4990d0fb10ee2d78e76
parentffeb6554bee0f5c3bf2f823aeb1af5c0b3f3cb00
rs6000: powerpc_future_ok and powerpc_future_hw

Dejagnu targets for these.

2020-05-11  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* gcc.target/powerpc/dg-future-0.c: New.
* gcc.target/powerpc/dg-future-1.c: New.
* lib/target-supports.exp (check_powerpc_future_hw_available):
Replace -mfuture with -mcpu=future.
(check_effective_target_powerpc_future_ok): Likewise.
(is-effective-target): Add powerpc_future_hw.
gcc/testsuite/gcc.target/powerpc/dg-future-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/dg-future-1.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp