]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] fix constraints on addsi3_carryin_alt2
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2019 19:02:12 +0000 (19:02 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2019 19:02:12 +0000 (19:02 +0000)
commit3f095d09daf6f9c6e17dd499ad91b0ee341223f6
treeaf3dd36ee4b7c0d91e7b8cf7f0d499b29954255e
parentf7d4713ec820455fca804e22337a65fb2848d2da
[arm] fix constraints on addsi3_carryin_alt2

addsi3_carryin_alt2 has a more strict constraint than the predicate
when adding a constant.  This leads to sub-optimal code in some
circumstances.

* config/arm/arm.md (addsi3_carryin_alt2): Use arm_not_operand for
operand 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277168 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.md