[AArch64][SVE2] Shift-Right Accumulate combine patterns
authorYuliang Wang <yuliang.wang@arm.com>
Fri, 27 Sep 2019 08:10:30 +0000 (08:10 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 27 Sep 2019 08:10:30 +0000 (08:10 +0000)
commit76bb5af63db66ccaee0f0ae59783eda972d0db83
treed3246691a2f325d294fd92c5d30f53aef86ae7c3
parent639a28ba6e0e5807ae062475f35cc6895e32ef17
[AArch64][SVE2] Shift-Right Accumulate combine patterns

This patch adds combining support for SVE2's shift-right accumulate
instructions.

2019-09-27  Yuliang Wang  <yuliang.wang@arm.com>

gcc/
* config/aarch64/aarch64-sve2.md (aarch64_sve2_sra<mode>):
New combine pattern.

gcc/testsuite/
* gcc.target/aarch64/sve2/shracc_1.c: New test.

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