]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Support FP llrint auto vectorization
authorPan Li <pan2.li@intel.com>
Thu, 12 Oct 2023 03:20:36 +0000 (11:20 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 12 Oct 2023 03:37:04 +0000 (11:37 +0800)
commit6a3302a41a6bbae706a7b688c446fe60383322fc
tree0cc453717bfcab68a5ef6732db077475b3316d47
parent180b08f64408be598b33b8830c52336abcb0c68a
RISC-V: Support FP llrint auto vectorization

This patch would like to support the FP llrint auto vectorization.

* long long llrint (double)

This will be the CVT from DF => DI from the standard name's perpsective,
which has been covered in previous PATCH(es). Thus, this patch only add
some test cases.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/unop/test-math.h: Add type int64_t.
* gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c: New test.
* gcc.target/riscv/rvv/autovec/unop/math-llrint-run-0.c: New test.
* gcc.target/riscv/rvv/autovec/vls/math-llrint-0.c: New test.

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