aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2024-05-13 22:09:35 +0200
committerRobin Dapp <rdapp@ventanamicro.com>2024-05-31 21:54:48 +0200
commitaf4bf422a699de0e7af5a26e02997d313e7301a6 (patch)
tree506b9345bd5aabbc9a934b3c7eba03ac3a9dd2ec /gcc/tree-vectorizer.h
parent9781885a624f3e29634d95c14cd10940cefb1a5a (diff)
downloadgcc-af4bf422a699de0e7af5a26e02997d313e7301a6.zip
gcc-af4bf422a699de0e7af5a26e02997d313e7301a6.tar.gz
gcc-af4bf422a699de0e7af5a26e02997d313e7301a6.tar.bz2
RISC-V: Add vwsll combine helpers.
This patch enables the usage of vwsll in autovec context by adding the necessary combine patterns and tests. gcc/ChangeLog: * config/riscv/autovec-opt.md (*vwsll_zext1_<mode>): New pattern. (*vwsll_zext2_<mode>): Ditto. (*vwsll_zext1_scalar_<mode>): Ditto. (*vwsll_zext1_trunc_<mode>): Ditto. (*vwsll_zext2_trunc_<mode>): Ditto. (*vwsll_zext1_trunc_scalar_<mode>): Ditto. * config/riscv/vector-crypto.md: Make pattern similar to other narrowing/widening patterns. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/binop/vwsll-1.c: New test. * gcc.target/riscv/rvv/autovec/binop/vwsll-run.c: New test. * gcc.target/riscv/rvv/autovec/binop/vwsll-template.h: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions