]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add test for FP llceil auto vectorization
authorPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 07:16:27 +0000 (15:16 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 07:39:45 +0000 (15:39 +0800)
commitad0bac803ce316bfa5330156a683cced5898cfce
treeb688d4802fbbfb5b6831f3de722d30bdb988bc26
parent24eaada73def58a6a0c8702f873d0e2320d2fba4
RISC-V: Add test for FP llceil auto vectorization

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

long long llceil (double);

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

gcc/testsuite/ChangeLog:

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

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llceil-run-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/math-llceil-0.c [new file with mode: 0644]