diff options
author | Feng Wang <wangfeng@eswincomputing.com> | 2024-08-17 08:40:42 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-08-17 08:41:19 -0600 |
commit | 54b228d80c54d32ab49cee6148cfd1364b2bc817 (patch) | |
tree | 2acff179a83c8a2ff85839590920f0dc8d26bf44 /gcc/digraph.h | |
parent | e68ab0f16072af97f0898fa0a14e72fcda442775 (diff) | |
download | gcc-54b228d80c54d32ab49cee6148cfd1364b2bc817.zip gcc-54b228d80c54d32ab49cee6148cfd1364b2bc817.tar.gz gcc-54b228d80c54d32ab49cee6148cfd1364b2bc817.tar.bz2 |
RISC-V: Add auto-vect pattern for vector rotate shift
This patch add the vector rotate shift pattern for auto-vect.
With this patch, the scalar rotate shift can be automatically
vectorized into vector rotate shift.
gcc/ChangeLog:
* config/riscv/autovec.md (v<bitmanip_optab><mode>3):
Add new define_expand pattern for vector rotate shift.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/binop/vrolr-1.c: New test.
* gcc.target/riscv/rvv/autovec/binop/vrolr-run.c: New test.
* gcc.target/riscv/rvv/autovec/binop/vrolr-template.h: New test.
Diffstat (limited to 'gcc/digraph.h')
0 files changed, 0 insertions, 0 deletions