]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Leverage __builtin_xx instead of math.h for test
authorPan Li <pan2.li@intel.com>
Fri, 22 Sep 2023 01:09:34 +0000 (09:09 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 22 Sep 2023 01:26:29 +0000 (09:26 +0800)
commitdba79ce1681828d05f6ed73ad56d8c3f3d53411a
treebccad506e14c6f789193839d73e7c8f09cc0bcc4
parent8bf5636e4fca947527a302813fdf08e1bbc82fa3
RISC-V: Leverage __builtin_xx instead of math.h for test

The math.h may have problems in some environment, take __builtin__xx
instead for testing.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/vls/floating-point-max-5.c:
Remove reference to math.h.
* gcc.target/riscv/rvv/autovec/vls/floating-point-min-5.c: Ditto.
* gcc.target/riscv/rvv/autovec/vls/floating-point-sgnjx-2.c: Ditto.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/floating-point-max-5.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/floating-point-min-5.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/floating-point-sgnjx-2.c