simd-3.c: Do nothing if double is not wider than float.

* gcc.c-torture/compile/simd-3.c: Do nothing if double is not
wider than float.

From-SVN: r63549
This commit is contained in:
Alexandre Oliva 2003-02-28 08:08:23 +00:00 committed by Alexandre Oliva
parent 9d18e06bd5
commit 13082c80c1
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-02-28 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/simd-3.c: Do nothing if double is not
wider than float.
2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* lib/scanasm.exp: Add support for counting numbers of

View File

@ -1,3 +1,8 @@
#include <float.h>
/* If double is not wider than float, we probably don't have DFmode,
or at least it's not as wide as double. */
#if DBL_MANT_DIG > FLT_MANT_DIG
typedef float floatvect2 __attribute__((mode(V2DF)));
typedef union
@ -15,3 +20,4 @@ void tempf(double *x, double *y)
x[0]=temp2.f[0];
x[1]=temp2.f[1];
}
#endif