]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Add missed cond autovec testcases
authorLehua Ding <lehua.ding@rivai.ai>
Mon, 11 Sep 2023 08:42:17 +0000 (16:42 +0800)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 18 Sep 2023 18:10:19 +0000 (12:10 -0600)
commit3785e2b895f049f53999ee8502180a7521db68c2
treed251b15fed0772a2354bfa556381f54407b56718
parent971b3709ffd413d2380aa03f888fc9149f428f59
RISC-V: Add missed cond autovec testcases

This patch adds all missed cond autovec testcases. For not support
cond patterns, the following patches will be sent to fix it.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/cond/cond_arith-1.c: Add vrem op.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-2.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-3.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-4.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-5.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-6.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-7.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-8.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_arith-9.c: Ditto.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_run-1.c: Moved to...
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-1.c: ...here.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_run-2.c: Moved to...
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-2.c: ...here.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_run-3.c: Moved to...
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-3.c: ...here.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_run-4.c: Moved to...
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-4.c: ...here.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_run-5.c: Moved to...
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-5.c: ...here.
* gcc.target/riscv/rvv/autovec/cond/cond_logical-1.c: Removed.
* gcc.target/riscv/rvv/autovec/cond/cond_logical-2.c: Removed.
* gcc.target/riscv/rvv/autovec/cond/cond_logical-3.c: Removed.
* gcc.target/riscv/rvv/autovec/cond/cond_logical-4.c: Removed.
* gcc.target/riscv/rvv/autovec/cond/cond_logical-5.c: Removed.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-1.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-2.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-3.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-4.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-5.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-1.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-2.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-3.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-4.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-5.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-6.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-7.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-8.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-9.c: New test.

(cherry picked from commit 5e19f8991579f70aeccbe4003b7f8c914ce7f338)
33 files changed:
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-1.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-2.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-3.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-4.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-5.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-6.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-7.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-8.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_arith-9.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical-1.c [deleted file]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical-2.c [deleted file]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical-3.c [deleted file]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical-4.c [deleted file]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical-5.c [deleted file]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-1.c [moved from gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_run-1.c with 95% similarity]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-2.c [moved from gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_run-2.c with 95% similarity]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-3.c [moved from gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_run-3.c with 95% similarity]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-4.c [moved from gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_run-4.c with 95% similarity]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-5.c [moved from gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_logical_run-5.c with 95% similarity]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-9.c [new file with mode: 0644]
This page took 0.0713 seconds and 5 git commands to generate.