]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Add vwsll combine helpers.
authorRobin Dapp <rdapp@ventanamicro.com>
Mon, 13 May 2024 20:09:35 +0000 (22:09 +0200)
committerRobin Dapp <rdapp@ventanamicro.com>
Fri, 31 May 2024 19:54:48 +0000 (21:54 +0200)
commitaf4bf422a699de0e7af5a26e02997d313e7301a6
tree506b9345bd5aabbc9a934b3c7eba03ac3a9dd2ec
parent9781885a624f3e29634d95c14cd10940cefb1a5a
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.
gcc/config/riscv/autovec-opt.md
gcc/config/riscv/vector-crypto.md
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vwsll-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vwsll-run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vwsll-template.h [new file with mode: 0644]
This page took 0.082044 seconds and 5 git commands to generate.