ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.
authorPeter Bergner <bergner@vnet.ibm.com>
Wed, 13 Dec 2017 21:20:51 +0000 (15:20 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 13 Dec 2017 21:20:51 +0000 (15:20 -0600)
commitf4615940b171c449a0e799195dbd28041f677f35
tree799827528c71edfdef72e19078283643afecce98
parentae51fb47811a9d5a3cfbb67677dae0eababc263d
ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.

gcc/
* config/rs6000/ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.
* config/rs6000/rs6000.c (cpu_supports_info): Use it.

gcc/testsuite/
* gcc.target/powerpc/cpu-builtin-1.c (htm-no-suspend): Add test.

From-SVN: r255614
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