]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Leverage stdint-gcc.h for RVV test cases
authorPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 02:17:36 +0000 (10:17 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 02:27:58 +0000 (10:27 +0800)
commitf0b05073bd3f0e5c8e55ef5a6fd16aa4518956a4
tree97707099d4eb803f9209bcca4f70321317dee0c1
parent8f52040e5f08ae0bbc63ee49c07212f07997a59f
RISC-V: Leverage stdint-gcc.h for RVV test cases

Leverage stdint-gcc.h for the int64_t types instead of typedef.
Or we may have conflict with stdint-gcc.h in somewhere else.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c: Include
stdint-gcc.h for int types.
* gcc.target/riscv/rvv/autovec/unop/math-llrint-run-0.c: Ditto.
* gcc.target/riscv/rvv/autovec/unop/test-math.h: Remove int64_t
typedef.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-0.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-run-0.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/test-math.h