arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx with negated...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 1 Aug 2013 15:00:41 +0000 (15:00 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 1 Aug 2013 15:00:41 +0000 (15:00 +0000)
commitc743b246435838c846861d22430fea543a4eed7d
treef4d8e4dc4834802f692844486af961571394666a
parentc0c123ef5222b0e12a5984640f0dd4db4ada569c
arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx with negated immediate instead of minus where...

[gcc]
2013-08-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/arm/arm.md (peepholes for eq (reg1) (reg2/imm)):
Generate canonical plus rtx with negated immediate instead of minus
where appropriate.
* config/arm/arm.c (thumb2_reorg): Handle ADCS <Rd>, <Rn> case.

[gcc/testsuite]

* gcc.target/arm/pr46972-2.c: New test.

From-SVN: r201411
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr46975-2.c [new file with mode: 0644]