1 /* { dg-require-effective-target vect_int } */
2 /* { dg-require-effective-target vect_int_mult } */
7 extern void abort (void);
9 __attribute__ ((noinline
))
12 unsigned int A
[8] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001,
13 0x08000000,0xffffffff,0xff0000ff,0xf0000001};
14 unsigned int B
[8] = {0x08000000,0x08000001,0xff0000ff,0xf0000001,
15 0x08000000,0x08000001,0xff0000ff,0xf0000001};
16 unsigned int Answer
[8] = {0,0xf7ffffff,0x0200fe01,0xe0000001,
17 0,0xf7ffffff,0x0200fe01,0xe0000001};
24 if (C
[i
] != Answer
[i
])
28 __attribute__ ((noinline
))
31 signed int A
[8] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001,
32 0x08000000,0xffffffff,0xff0000ff,0xf0000001};
33 signed int B
[8] = {0x08000000,0x08000001,0xff0000ff,0xf0000001,
34 0x08000000,0x08000001,0xff0000ff,0xf0000001};
35 signed int Answer
[8] = {0,0xf7ffffff,0x0200fe01, 0xe0000001,
36 0,0xf7ffffff,0x0200fe01, 0xe0000001};
43 if (C
[i
] != Answer
[i
])
47 __attribute__ ((noinline
))
62 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
63 /* { dg-final { cleanup-tree-dump "vect" } } */