thumb2.md: Extend peephole to cover 3-arg subs.
authorPaul Brook <paul@codesourcery.com>
Wed, 12 Mar 2008 23:19:41 +0000 (23:19 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 12 Mar 2008 23:19:41 +0000 (23:19 +0000)
commitd1b85efbd4abb202312e721d34eb3bdba1d912ce
treeae6fa6a42b75ba3f07abdcc23fac6bc81027b327
parent09754904669228ef0719337ef439af36ae06a54f
thumb2.md: Extend peephole to cover 3-arg subs.

2008-03-12  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/thumb2.md: Extend peephole to cover 3-arg subs.
(thumb2_alusi3_short): Exclude PLUS and MINUS.
(thumb2_addsi_shortim): Rename ...
(thumb2_addsi_short): ... to this.  Allow register operands.
(thumb2_subsi_short): New pattern.
(thumb2_one_cmplsi2_short,
thumb2_negsi2_short): New patterns and peepholes.

From-SVN: r133152
gcc/ChangeLog
gcc/config/arm/thumb2.md