diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2023-10-26 20:40:00 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2023-10-27 16:26:36 +0200 |
commit | 3351ec2a9803cf4f0f43ef70b6925a039850d6ca (patch) | |
tree | 35899d6f01fd17b247a4ddfd150f32d91ad2533c /gcc/expr.cc | |
parent | 8aa47713701b1f1878b81169852269a299272e87 (diff) | |
download | gcc-3351ec2a9803cf4f0f43ef70b6925a039850d6ca.zip gcc-3351ec2a9803cf4f0f43ef70b6925a039850d6ca.tar.gz gcc-3351ec2a9803cf4f0f43ef70b6925a039850d6ca.tar.bz2 |
RISC-V: Fix cond_sqrt tests.
As long as we do not have universal Zvfh support in binutils
linking against libm does not work out of the box. This patch
splits the cond_sqrt tests into non-zvfh and zvfh variants and
makes the run-zvfh ones depend on a zvfh target.
While at it, I also added Zvfh handling to the testsuite helpers.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c: Remove
Float16.
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c: Ditto.
* lib/target-supports.exp: Add zvfh handling.
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-zvfh-1.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-zvfh-2.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt_run-zvfh-1.c: New test.
* gcc.target/riscv/rvv/autovec/cond/cond_sqrt_run-zvfh-2.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions