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.
This commit is contained in:
parent
9fb832ce38
commit
f3d4b92239
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue