[gcc(refs/users/giulianob/heads/autopar_rebase2)] gcc.dg/cdce3.c: Skip for mmix.

Giuliano Belinassi giulianob@gcc.gnu.org
Tue Aug 18 01:00:21 GMT 2020


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

commit cab58a2b23219277551ce3edf60571106755cc89
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Mon Jul 20 04:34:39 2020 +0200

    gcc.dg/cdce3.c: Skip for mmix.
    
    The test is gated on effective-target hard_float but what it
    really requires is a sqrtf insn (SFmode, not DFmode).  (It
    indeed passes for mmix-knuth-mmixware if the sqrtf is changed to
    sqrt and float to double; there is a DFmode sqrt insn.)
    
    Committed.
    
    gcc/testsuite:
            * gcc.dg/cdce3.c: Skip for mmix.

Diff:
---
 gcc/testsuite/gcc.dg/cdce3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c
index 7e85d8aa71d..71aea9b82e1 100644
--- a/gcc/testsuite/gcc.dg/cdce3.c
+++ b/gcc/testsuite/gcc.dg/cdce3.c
@@ -3,6 +3,7 @@
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
 /* { dg-final { scan-tree-dump "cdce3.c:10: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
+/* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
 
 float sqrtf (float);
 float foo (float x)


More information about the Gcc-cvs mailing list