OSDN Git Service

* gcc/config/i386/cpuid.h: New file.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / sse-10.c
1 /* PR 17930 */
2 /* { dg-do run } */
3 /* { dg-options "-O1 -msse2 -mfpmath=sse -mno-accumulate-outgoing-args -fno-omit-frame-pointer" } */
4
5 #include "sse2-check.h"
6
7 typedef _Complex double complex_16;
8
9 void __attribute__((noinline))
10 test (complex_16 a[5][5])
11 {
12   int i, j, k;
13   complex_16 x;
14
15   for (j = 0; j < 5; j++)
16     for (i = 0; i < 5; i++)
17       {
18         for (k = 0; k < j - 1; ++k)
19           x = a[k][i] * ~a[k][j];
20         a[j][i] = x;
21       }
22 }
23
24 static void
25 sse2_test (void)
26 {
27   static complex_16 work[5][5];
28
29   test (work); 
30 }