[ARM] Fix PR target/64460: Set 'shift' attr properly on some patterns.
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 14 Jan 2015 10:14:23 +0000 (10:14 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 14 Jan 2015 10:14:23 +0000 (10:14 +0000)
commitca39a43acc83993fed8afb7704a769b59a170684
treed1bbf7552b9840a567f2f1f22b206a359fcb5652
parentfcd7669cb6f4153b535be458e8629ecbc4257bbc
[ARM] Fix PR target/64460: Set 'shift' attr properly on some patterns.

PR target/64460
* config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
(*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.

* gcc.target/arm/pr64460_1.c: New test.

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