This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-sse-4.c
blob7f6d817f4d6db6e6c93621df2b1e06f668ac77cf
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O0 -msse" } */
4 typedef float __vr __attribute__ ((vector_size (16)));
6 struct vector
8 union
10 __vr v;
11 float f[4];
15 void
16 doit ()
18 float f[4];
19 struct vector v;
21 f[0] = 0;
22 f[1] = 1;
23 f[2] = 2;
24 f[3] = 3;
26 v.v = __builtin_ia32_loadups (f);