[arm] Early split zero- and sign-extension
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Oct 2019 19:01:57 +0000 (19:01 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 18 Oct 2019 19:01:57 +0000 (19:01 +0000)
commit0250355849a16456a8b8e6dce2d2d7874696649e
tree9ef36497b857c198fccf6e6b3ea8d61b519b599c
parent0406dccda5c9adfaf65e132fda5b8c0fbc5ce1d5
[arm] Early split zero- and sign-extension

This patch changes the insn patterns for zero- and sign-extend into
define_expands that generate the appropriate word operations
immediately.

* config/arm/arm.md (zero_extend<mode>di2): Convert to define_expand.
(extend<mode>di2): Likewise.

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