RISC-V/testsuite: Restrict remaining fmin'/fmax' tests to hard float

Complement commit 7915f65513 ("RISC-V/testsuite: constraint some of
tests to hard_float") and also restrict the remaining `fmin'/`fmax'
tests to hard-float test configurations.

	gcc/testsuite/
	* gcc.target/riscv/fmax-snan.c: Add `dg-require-effective-target
	hard_float'.
	* gcc.target/riscv/fmaxf-snan.c: Likewise.
	* gcc.target/riscv/fmin-snan.c: Likewise.
	* gcc.target/riscv/fminf-snan.c: Likewise.
This commit is contained in:
Maciej W. Rozycki 2022-08-17 23:22:18 +01:00
parent 5cccc24c06
commit c352361b5e
4 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */
double

View file

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */
float

View file

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */
double

View file

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */
float