aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2024-05-16 12:43:43 +0200
committerRobin Dapp <rdapp@ventanamicro.com>2024-05-31 21:54:48 +0200
commit9781885a624f3e29634d95c14cd10940cefb1a5a (patch)
tree47b62b8c3f2415d36dc0d840b86270d29c2d74ac /gcc/tree-vectorizer.h
parenta2fd0812a54cf51520f15e900df4cfb5874b75ed (diff)
downloadgcc-9781885a624f3e29634d95c14cd10940cefb1a5a.zip
gcc-9781885a624f3e29634d95c14cd10940cefb1a5a.tar.gz
gcc-9781885a624f3e29634d95c14cd10940cefb1a5a.tar.bz2
RISC-V: Split vwadd.wx and vwsub.wx and add helpers.
vwadd.wx and vwsub.wx have the same problem vfwadd.wf had. This patch splits the insn pattern in the same way vfwadd.wf was split. It also adds two patterns to recognize extended scalars. In practice those do not provide a lot of improvement over what we already have but in some instances we can get rid of redundant extensions. gcc/ChangeLog: * config/riscv/vector.md: Split vwadd.wx/vwsub.wx pattern and add extended_scalar patterns. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/pr115068.c: Add vwadd.wx/vwsub.wx tests. * gcc.target/riscv/rvv/base/pr115068-run.c: Include pr115068.c. * gcc.target/riscv/rvv/base/vwaddsub-1.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions