[AArch64] Fix predicate and constraint mismatch in logical atomic operations
authorMichael Collison <michael.collison@linaro.org>
Tue, 4 Nov 2014 11:23:10 +0000 (11:23 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 4 Nov 2014 11:23:10 +0000 (12:23 +0100)
commit95d47b10bedd6cbdd7d18f8d59ea5bcee14d04a6
tree7bf01091548154e086498775d73686ed10b24b1e
parent5d1f63255b8f92d07c36a2098f93f0b7531c2ef9
[AArch64] Fix predicate and constraint mismatch in logical atomic operations

2014-11-04  Michael Collison <michael.collison@linaro.org>

* config/aarch64/iterators.md (lconst_atomic): New mode attribute
to support constraints for CONST_INT in atomic operations.
* config/aarch64/atomics.md
(atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
(atomic_nand<mode>): Likewise.
(atomic_fetch_<atomic_optab><mode>): Likewise.
(atomic_fetch_nand<mode>): Likewise.
(atomic_<atomic_optab>_fetch<mode>): Likewise.
(atomic_nand_fetch<mode>): Likewise.

From-SVN: r217076
gcc/ChangeLog
gcc/config/aarch64/atomics.md
gcc/config/aarch64/iterators.md