Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sse-10.c
blob1c222df2b2f9a7af10da84151b457899b73aa132
1 /* PR 17930 */
2 /* { dg-do run } */
3 /* { dg-options "-O1 -msse2 -mfpmath=sse -mno-accumulate-outgoing-args -fno-omit-frame-pointer" } */
5 #include "sse2-check.h"
7 typedef _Complex double complex_16;
9 void __attribute__((noinline))
10 test (complex_16 a[5][5])
12 int i, j, k;
13 complex_16 x;
15 for (j = 0; j < 5; j++)
16 for (i = 0; i < 5; i++)
18 for (k = 0; k < j - 1; ++k)
19 x = a[k][i] * ~a[k][j];
20 a[j][i] = x;
24 static void
25 sse2_test (void)
27 static complex_16 work[5][5];
29 test (work);