RISC-V: Support VLS floating-point extend/truncate
commitb34397857adb7b3ae72e2701879bcb4e19165d63
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 20 Sep 2023 11:51:19 +0000 (20 19:51 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Wed, 20 Sep 2023 12:39:37 +0000 (20 20:39 +0800)
tree0c43f5ae1c835c35608f134e5043867aa1ee1dbb
parentc3d2b6bc913803d3eccacb9e354f37eef1cee212
RISC-V: Support VLS floating-point extend/truncate

Regression passed.

Committed.

gcc/ChangeLog:

* config/riscv/vector-iterators.md: Extend VLS floating-point.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/widen/widen-10.c: Adapt test.
* gcc.target/riscv/rvv/autovec/widen/widen-11.c: Ditto.
* gcc.target/riscv/rvv/autovec/widen/widen-12.c: Ditto.
* gcc.target/riscv/rvv/autovec/widen/widen-complicate-7.c: Ditto.
* gcc.target/riscv/rvv/autovec/widen/widen-complicate-8.c: Ditto.
* gcc.target/riscv/rvv/autovec/widen/widen-complicate-9.c: Ditto.
* gcc.target/riscv/rvv/autovec/vls/ext-4.c: New test.
* gcc.target/riscv/rvv/autovec/vls/ext-5.c: New test.
* gcc.target/riscv/rvv/autovec/vls/trunc-4.c: New test.
* gcc.target/riscv/rvv/autovec/vls/trunc-5.c: New test.
gcc/config/riscv/vector-iterators.md
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/ext-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/ext-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/trunc-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/trunc-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-10.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-11.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-12.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-complicate-7.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-complicate-8.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/widen/widen-complicate-9.c