Enable ARMv8-M atomic and synchronization support for ARMv8-M Baseline
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 27 Oct 2016 10:19:27 +0000 (10:19 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 27 Oct 2016 10:19:27 +0000 (10:19 +0000)
commitddb92ab95f6ba681423ba55db9910821735544c1
treedc19465bb22dad76890b8479bf1e991d20871f24
parent33cab74617734fdda5b39bd645d13361cd92af23
Enable ARMv8-M atomic and synchronization support for ARMv8-M Baseline

2016-10-27  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * config/arm/arm.h (TARGET_HAVE_LDREX): Define for ARMv8-M Baseline.
    (TARGET_HAVE_LDREXBH): Likewise.
    (TARGET_HAVE_LDACQ): Likewise.

    gcc/testsuite/
    * gcc.target/arm/atomic-comp-swap-release-acquire-3.c: New test.
    * gcc.target/arm/atomic-op-acq_rel-3.c: Likewise.
    * gcc.target/arm/atomic-op-acquire-3.c: Likewise.
    * gcc.target/arm/atomic-op-char-3.c: Likewise.
    * gcc.target/arm/atomic-op-consume-3.c: Likewise.
    * gcc.target/arm/atomic-op-int-3.c: Likewise.
    * gcc.target/arm/atomic-op-relaxed-3.c: Likewise.
    * gcc.target/arm/atomic-op-release-3.c: Likewise.
    * gcc.target/arm/atomic-op-seq_cst-3.c: Likewise.
    * gcc.target/arm/atomic-op-short-3.c: Likewise.

From-SVN: r241615
13 files changed:
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acq_rel-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-acquire-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-char-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-consume-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-int-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-relaxed-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-release-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-seq_cst-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic-op-short-3.c [new file with mode: 0644]