[gcc r13-2101] RISC-V/testsuite: Restrict remaining `fmin'/`fmax' tests to hard float

Maciej W. Rozycki macro@gcc.gnu.org
Wed Aug 17 22:23:43 GMT 2022


https://gcc.gnu.org/g:c352361b5eec003d5f26feaf1ef58a0c55f659ad

commit r13-2101-gc352361b5eec003d5f26feaf1ef58a0c55f659ad
Author: Maciej W. Rozycki <macro@embecosm.com>
Date:   Wed Aug 17 23:22:18 2022 +0100

    RISC-V/testsuite: Restrict remaining `fmin'/`fmax' tests to hard float
    
    Complement commit 7915f6551343 ("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.

Diff:
---
 gcc/testsuite/gcc.target/riscv/fmax-snan.c  | 1 +
 gcc/testsuite/gcc.target/riscv/fmaxf-snan.c | 1 +
 gcc/testsuite/gcc.target/riscv/fmin-snan.c  | 1 +
 gcc/testsuite/gcc.target/riscv/fminf-snan.c | 1 +
 4 files changed, 4 insertions(+)

diff --git a/gcc/testsuite/gcc.target/riscv/fmax-snan.c b/gcc/testsuite/gcc.target/riscv/fmax-snan.c
index ba4823a18b3..aabaad5c973 100644
--- a/gcc/testsuite/gcc.target/riscv/fmax-snan.c
+++ b/gcc/testsuite/gcc.target/riscv/fmax-snan.c
@@ -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
diff --git a/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c b/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c
index faada3a5723..f74a8171882 100644
--- a/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c
+++ b/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c
@@ -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
diff --git a/gcc/testsuite/gcc.target/riscv/fmin-snan.c b/gcc/testsuite/gcc.target/riscv/fmin-snan.c
index b511380c2d1..3b2e8c3aa66 100644
--- a/gcc/testsuite/gcc.target/riscv/fmin-snan.c
+++ b/gcc/testsuite/gcc.target/riscv/fmin-snan.c
@@ -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
diff --git a/gcc/testsuite/gcc.target/riscv/fminf-snan.c b/gcc/testsuite/gcc.target/riscv/fminf-snan.c
index 39dd8fee278..d28822e5eca 100644
--- a/gcc/testsuite/gcc.target/riscv/fminf-snan.c
+++ b/gcc/testsuite/gcc.target/riscv/fminf-snan.c
@@ -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


More information about the Gcc-cvs mailing list