]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Add test for FP iceil auto vectorization
authorPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 07:38:09 +0000 (15:38 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 08:11:30 +0000 (16:11 +0800)
commit2943c50a0ee5c9d0e46fd963f2282cf3748142bf
tree5d541cc7e75a4d3386357db707229fcab2b0cf0b
parentad0bac803ce316bfa5330156a683cced5898cfce
RISC-V: Add test for FP iceil auto vectorization

The below FP API are supported already by sharing the same standard
name, as well as the machine mode.

int iceil (float);

This patch would like to add the test cases for ensuring the
correctness.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c: New test.
* gcc.target/riscv/rvv/autovec/unop/math-iceil-run-0.c: New test.
* gcc.target/riscv/rvv/autovec/vls/math-iceil-0.c: New test.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iceil-run-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/math-iceil-0.c [new file with mode: 0644]
This page took 0.06015 seconds and 5 git commands to generate.