1 /* { dg-require-effective-target vect_int } */
2 /* { dg-require-effective-target vect_int_mult } */
7 extern void abort (void);
9 unsigned int A
[8] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001,
10 0x08000000,0xffffffff,0xff0000ff,0xf0000001};
11 unsigned int B
[8] = {0x08000000,0x08000001,0xff0000ff,0xf0000001,
12 0x08000000,0x08000001,0xff0000ff,0xf0000001};
13 unsigned int Answer
[8] = {0,0xf7ffffff,0x0200fe01,0xe0000001,
14 0,0xf7ffffff,0x0200fe01,0xe0000001};
17 __attribute__ ((noinline
))
25 if (C
[i
] != Answer
[i
])
29 signed int D
[8] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001,
30 0x08000000,0xffffffff,0xff0000ff,0xf0000001};
31 signed int E
[8] = {0x08000000,0x08000001,0xff0000ff,0xf0000001,
32 0x08000000,0x08000001,0xff0000ff,0xf0000001};
33 signed int Dnswer
[8] = {0,0xf7ffffff,0x0200fe01, 0xe0000001,
34 0,0xf7ffffff,0x0200fe01, 0xe0000001};
37 __attribute__ ((noinline
))
45 if (F
[i
] != Dnswer
[i
])
49 __attribute__ ((noinline
))
64 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
65 /* { dg-final { cleanup-tree-dump "vect" } } */