[AArch64] Fix predicate and constraint mismatch in logical atomic operations
Thu Sep 25 03:45:00 GMT 2014
On certain patterns in atomics.md the constraint 'n' is used in
combination with the predicate atomic_op_operand. The constraint is too
general and allows constants that are disallowed by the predicate. This
causes an ICE In final_scan_insn when the insn cannot be split because
the constraint and predicate do not match.
Tested on aarch64-none-elf, aarch64-linux-gnu. Additionally the
originally reporter of the bug, (firstname.lastname@example.org), applied the patch and
successfully bootstrapped and tested with no regressions.
2014-09-23 Michael Collison <email@example.com>
* config/aarch64/iterators.md (lconst_atomic): New mode attribute to
support constraints for CONST_INT in atomic operations.
(atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
Linaro Toolchain Working Group
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2859 bytes
Desc: not available
More information about the Gcc-patches