[AArch64] PR target/69161: Don't use special predicate for CCmode comparisons in...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 17 Feb 2016 13:42:35 +0000 (13:42 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 17 Feb 2016 13:42:35 +0000 (13:42 +0000)
commita44e0ebb89e453c6663104be721622949f0a885e
treee0af4443979d7f6854a77a72f719f39a9d8f7c8b
parentac4bf40708c5e2f97e5b9e0b066e458c9fe443e8
[AArch64] PR target/69161: Don't use special predicate for CCmode comparisons in expressions that require matching modes

PR target/69161
* config/aarch64/predicates.md (aarch64_comparison_operator_mode):
New predicate.
(aarch64_comparison_operator): Break overly long line into two.
(aarch64_comparison_operation): Likewise.
* config/aarch64/aarch64.md (cstorecc4): Use
aarch64_comparison_operator_mode instead of
aarch64_comparison_operator.
(cstore<mode>4): Likewise.
(aarch64_cstore<mode>): Likewise.
(*cstoresi_insn_uxtw): Likewise.
(cstore<mode>_neg): Likewise.
(*cstoresi_neg_uxtw): Likewise.

* gcc.c-torture/compile/pr69161.c: New test.

From-SVN: r233496
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/config/aarch64/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr69161.c [new file with mode: 0644]