[arm] Early expansion of usubvdi4.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Oct 2019 19:04:54 +0000 (19:04 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 18 Oct 2019 19:04:54 +0000 (19:04 +0000)
commiteff5ce0a95699d3eeded9854bff25913cfbdb2f3
tree506436cf56210cb90db44b536668b0ee27451b5b
parenta79048f6250febc1acce09d790035276d534e754
[arm] Early expansion of usubvdi4.

This patch adds early expansion of usubvdi4, allowing us to handle some
constants in place, which previously we were unable to do.

* config/arm/arm.md (usubvdi4): Allow registers or integers for
incoming operands.  Early split the calculation into SImode
operations.
(usubvsi3_borrow): New insn pattern.
(usubvsi3_borrow_imm): Likewise.

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