[Aarch64][target/PR 67143][5.2] Backport correct constraints for atomic operations.

Marcus Shawcroft marcus.shawcroft@gmail.com
Tue Sep 22 15:11:00 GMT 2015


On 9 September 2015 at 12:43, Matthew Wahab <matthew.wahab@foss.arm.com> wrote:

> gcc/
> 2015-09-09  Matthew Wahab  <matthew.wahab@arm.com>
>
>         Backport from mainline
>         2015-08-14  Matthew Wahab  <matthew.wahab@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-09  Matthew Wahab  <matthew.wahab@arm.com>
>
>         Backport from mainline
>         2015-08-14  Matthew Wahab  <matthew.wahab@arm.com>
>                     Matthias Klose  <doko@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.

OK for gcc-5 branch /Marcus



More information about the Gcc-patches mailing list