]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add test for FP ifloor auto vectorization
authorPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 08:20:23 +0000 (16:20 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 09:34:44 +0000 (17:34 +0800)
commit9d675613de005ec393584a27235fb29de3909e32
treed0cdcf5903c0dc9a54dafdf2d4421e8714acd663
parent2943c50a0ee5c9d0e46fd963f2282cf3748142bf
RISC-V: Add test for FP ifloor auto vectorization

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

int ifloor (float);

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

gcc/testsuite/ChangeLog:

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

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