]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Support VLS unary floating-point patterns
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Tue, 19 Sep 2023 11:01:24 +0000 (19:01 +0800)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 26 Sep 2023 14:53:23 +0000 (08:53 -0600)
commit69d6d83c92796ddbfe0cae46a8b0a32bdc17348d
treef1613875b6fe3477f37e4ae4b949cad52917ec16
parent42510dcebefd8920e0831c6b6c846713af39a460
RISC-V: Support VLS unary floating-point patterns

Extend current VLA patterns with VLS modes.

Regression all passed.

gcc/ChangeLog:

* config/riscv/autovec.md: Extend VLS modes.
* config/riscv/vector.md: Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/vls/def.h: Add unary test.
* gcc.target/riscv/rvv/autovec/vls/neg-2.c: New test.

(cherry picked from commit 5b945243c77e3ecd8dfab4b8b44f21daa3de8fe1)
gcc/config/riscv/autovec.md
gcc/config/riscv/vector.md
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/def.h
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/neg-2.c [new file with mode: 0644]
This page took 0.058901 seconds and 6 git commands to generate.