ppc-auxv.h (PPC_FEATURE2_DARN): New define.
authorPeter Bergner <bergner@vnet.ibm.com>
Fri, 28 Jul 2017 20:10:45 +0000 (15:10 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Fri, 28 Jul 2017 20:10:45 +0000 (15:10 -0500)
commit782a7850edea0ef5007b180686048515db9f6f26
treeb998ababead2ab14ff171bf60083575d6c64b4f9
parent02c7e7eb5ed750f8ecebc96a29802cdf54c7f01e
ppc-auxv.h (PPC_FEATURE2_DARN): New define.

gcc/
* config/rs6000/ppc-auxv.h (PPC_FEATURE2_DARN): New define.
(PPC_FEATURE2_SCV): Likewise.
* config/rs6000/rs6000.c (cpu_supports_info): Use them.

gcc/testsuite/
* gcc.target/powerpc/cpu-builtin-1.c (darn, scv): Add tests.

From-SVN: r250687
gcc/ChangeLog
gcc/config/rs6000/ppc-auxv.h
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/cpu-builtin-1.c