https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67143

--- Comment #5 from mwahab at gcc dot gnu.org ---
Author: mwahab
Date: Wed Sep 23 09:48:16 2015
New Revision: 228037

URL: https://gcc.gnu.org/viewcvs?rev=228037&root=gcc&view=rev
Log:
[Aarch64][target/PR 67143][5.2] Backport correct constraints for atomic
operations.

gcc/
2015-09-23  Matthew Wahab  <matthew.wa...@arm.com>

        Backport from mainline
        2015-08-14  Matthew Wahab  <matthew.wa...@arm.com>

        PR target/67143
        * config/aarch64/atomics.md (atomic_<optab><mode>): Replace
        'lconst_atomic' with 'const_atomic'.
        (atomic_fetch_<optab><mode>): Likewise.
        (atomic_<optab>_fetch<mode>): Likewise.
        * config/aarch64/iterators.md (lconst-atomic): Move below
        'const_atomic'.
        (const_atomic): New.

gcc/testsuite/
2015-09-23  Matthew Wahab  <matthew.wa...@arm.com>

        Backport from mainline
        2015-08-14  Matthew Wahab  <matthew.wa...@arm.com>
                    Matthias Klose  <d...@debian.org>

        PR target/67143
        * gcc.c-torture/compile/pr67143.c: New
        * gcc.target/aarch64/atomic-op-imm.c
        (atomic_fetch_add_negative_RELAXED): New.
        (atomic_fetch_sub_negative_ACQUIRE): New.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr67143.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/aarch64/atomics.md
    branches/gcc-5-branch/gcc/config/aarch64/iterators.md
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/atomic-op-imm.c

Reply via email to