arm.h (TARGET_HAVE_LDACQ): Enable for ARMv8-M Mainline.
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 14 Jul 2016 17:21:21 +0000 (17:21 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 14 Jul 2016 17:21:21 +0000 (17:21 +0000)
commitd62b809c11f21a96648cc15a8f3d922cc15137c4
treeaaf7626d7ddb7f1de47ac2aca1163eec1e0ace05
parent1f8dd420ebf769bd0b8068af416735f082464575
arm.h (TARGET_HAVE_LDACQ): Enable for ARMv8-M Mainline.

2016-07-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * config/arm/arm.h (TARGET_HAVE_LDACQ): Enable for ARMv8-M Mainline.
    (TARGET_HAVE_LDACQD): New macro.
    * config/arm/sync.md (atomic_loaddi): Use TARGET_HAVE_LDACQD rather
    than TARGET_HAVE_LDACQ.
    (arm_load_acquire_exclusivedi): Likewise.
    (arm_store_release_exclusivedi): Likewise.

    libgcc/
    * gcc.target/arm/atomic-comp-swap-release-acquire.c: Rename into ...
    * gcc.target/arm/atomic-comp-swap-release-acquire-1.c: This.
    * gcc.target/arm/atomic-op-acq_rel.c: Rename into ...
    * gcc.target/arm/atomic-op-acq_rel-1.c: This.
    * gcc.target/arm/atomic-op-acquire.c: Rename into ...
    * gcc.target/arm/atomic-op-acquire-1.c: This.
    * gcc.target/arm/atomic-op-char.c: Rename into ...
    * gcc.target/arm/atomic-op-char-1.c: This.
    * gcc.target/arm/atomic-op-consume.c: Rename into ...
    * gcc.target/arm/atomic-op-consume-1.c: This.
    * gcc.target/arm/atomic-op-int.c: Rename into ...
    * gcc.target/arm/atomic-op-int-1.c: This.
    * gcc.target/arm/atomic-op-relaxed.c: Rename into ...
    * gcc.target/arm/atomic-op-relaxed-1.c: This.
    * gcc.target/arm/atomic-op-release.c: Rename into ...
    * gcc.target/arm/atomic-op-release-1.c: This.
    * gcc.target/arm/atomic-op-seq_cst.c: Rename into ...
    * gcc.target/arm/atomic-op-seq_cst-1.c: This.
    * gcc.target/arm/atomic-op-short.c: Rename into ...
    * gcc.target/arm/atomic-op-short-1.c: This.
    * gcc.target/arm/atomic-comp-swap-release-acquire-2.c: New test.
    * gcc.target/arm/atomic-op-acq_rel-2.c: Likewise.
    * gcc.target/arm/atomic-op-acquire-2.c: Likewise.
    * gcc.target/arm/atomic-op-char-2.c: Likewise.
    * gcc.target/arm/atomic-op-consume-2.c: Likewise.
    * gcc.target/arm/atomic-op-int-2.c: Likewise.
    * gcc.target/arm/atomic-op-relaxed-2.c: Likewise.
    * gcc.target/arm/atomic-op-release-2.c: Likewise.
    * gcc.target/arm/atomic-op-seq_cst-2.c: Likewise.
    * gcc.target/arm/atomic-op-short-2.c: Likewise.

From-SVN: r238348
34 files changed:
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/arm/sync.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-acq_rel-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acq_rel-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acq_rel.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-acquire-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acquire-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acquire.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-char-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-char-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-char.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-consume-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-consume-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-consume.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-int-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-int-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-int.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-relaxed-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-relaxed-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-relaxed.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-release-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-release-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-release.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-seq_cst-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-seq_cst-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-seq_cst.c [deleted file]
gcc/testsuite/gcc.target/arm/atomic-op-short-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-short-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-short.c [deleted file]