predicates.md (expandable_comparison_operator): New predicate, extracted from...
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 22 Sep 2011 10:33:24 +0000 (10:33 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 22 Sep 2011 10:33:24 +0000 (10:33 +0000)
commitaa0b3f8f8d4748aaaee4892ed0d5d85abb2e86f6
tree6b94f7d09850a5b0fd14ea2c9cf57b123f94d0b6
parent6ebe2d6cf6a609ac9bad183daa9f3d9a920808fa
predicates.md (expandable_comparison_operator): New predicate, extracted from...

gcc/
* config/arm/predicates.md (expandable_comparison_operator): New
predicate, extracted from...
(arm_comparison_operator): ...here.
* config/arm/arm.md (cbranchsi4, cbranchsf4, cbranchdf4, cbranchdi4)
(cstoresi4, cstoresf4, cstoredf4, cstoredi4, movsicc, movsfcc)
(movdfcc): Use expandable_comparison_operator.

gcc/testsuite/
* gcc.target/arm/cmp-1.c: New test.
* gcc.target/arm/cmp-2.c: Likewise.

From-SVN: r179082
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/config/arm/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/cmp-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/cmp-2.c [new file with mode: 0644]