]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Arm] Add 16-bit thumb alternatives to iorsi3_compare0[_scratch]
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Aug 2019 14:40:52 +0000 (14:40 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Aug 2019 14:40:52 +0000 (14:40 +0000)
commita02b858e8794d3235ca57c13e5c746fc89eceff4
tree8b499ff0e85de91c9b460c2571a1f9d0f2240fa0
parent48665581293288114d37cd10dc5e44b9f4005156
[Arm] Add 16-bit thumb alternatives to iorsi3_compare0[_scratch]

The iorsi3_compare0 and iorsi3_compare0_scratch patterns can make use
of the 16-bit thumb orrs instruction if suitable registers are
allocated.  This patch adds the alternative to allow this to happen.

* config/arm/arm.md (iorsi3_compare0): Add alternative for 16-bit thumb
insn.
(iorsi3_compare0_scratch): Likewise.

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