amo.h: New include file to provide ISA 3.0 atomic memory operation instruction support.
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Mon, 9 Oct 2017 18:20:01 +0000 (18:20 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 9 Oct 2017 18:20:01 +0000 (18:20 +0000)
commita1df65216abc657e2bc941ede69eeb225e7bd224
tree2edd7a75ef5025bd7f5a46c9f441e1471658b28b
parent15529d0aa0264ae211db7acfebd1e23c8a944123
amo.h: New include file to provide ISA 3.0 atomic memory operation instruction support.

[gcc]
2017-10-09  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/amo.h: New include file to provide ISA 3.0 atomic
memory operation instruction support.
* config.gcc (powerpc*-*-*): Include amo.h as an extra header.
(rs6000-ibm-aix[789]*): Likewise.
* doc/extend.texi (PowerPC Atomic Memory Operation Functions):
Document new functions.

[gcc/testsuite]
2017-10-09  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/amo1.c: New test.
* gcc.target/powerpc/amo2.c: Likewise.

From-SVN: r253552
gcc/ChangeLog
gcc/config.gcc
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/amo1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/amo2.c [new file with mode: 0644]