[AArch64] Split X-reg UBFIZ into W-reg LSL when possible
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 16 Dec 2016 16:26:08 +0000 (16:26 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 16 Dec 2016 16:26:08 +0000 (16:26 +0000)
commit680153bd1eefcdd31809fedd9a937bff03853dcf
tree00be7995ada4c57e55b468434321eaaa9a451aaf
parentbcb036c515a43d2c3ded6399aa486fbc3d7f8a76
[AArch64] Split X-reg UBFIZ into W-reg LSL when possible

* config/aarch64/aarch64.md: New define_split above bswap<mode>2.

* gcc.target/aarch64/ubfiz_lsl_1.c: New test.

From-SVN: r243756
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ubfiz_lsl_1.c [new file with mode: 0644]