[ARM] Cleanup multiply patterns
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 18 Sep 2019 18:11:24 +0000 (18:11 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 18 Sep 2019 18:11:24 +0000 (18:11 +0000)
commit6f1628c9df05591721192193f6364e316e45c6c1
treecb8d27de02c995c5d293149ab10e8875592b5072
parent31de92e39bbeffb9f1641d292e94b48f70809ae1
[ARM] Cleanup multiply patterns

Cleanup the 32-bit multiply patterns.  Merge the pre-Armv6 with the Armv6
patterns, remove useless alternatives and order the accumulator operands
to prefer MLA Ra, Rb, Rc, Ra whenever feasible.

    gcc/
* config/arm/arm.md (arm_mulsi3): Remove pattern.
(arm_mulsi3_v6): Likewise.
(mulsi3addsi_v6): Likewise.
(mulsi3subsi): Likewise.
(mul): Add new multiply pattern.
(mla): Likewise.
(mls): Likewise.

From-SVN: r275897
gcc/ChangeLog
gcc/config/arm/arm.md