OSDN Git Service

2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / compat / vector-2_x.c
1 /* { dg-options "-w" } */
2 /* { dg-options "-w -mno-mmx" { target { i?86-*-* x86_64-*-* } } } */
3
4 #ifndef SKIP_ATTRIBUTE
5
6 #include "compat-common.h"
7 #include "vector-defs.h"
8 #include "vector-setup.h"
9
10 SETUP (2, sf);
11 SETUP (4, sf);
12 SETUP (16, sf);
13 SETUP (8, sf);
14 SETUP (2, df);
15 SETUP (4, df);
16
17 #endif
18
19 void
20 vector_2_x (void)
21 {
22 #ifndef SKIP_ATTRIBUTE
23   DEBUG_INIT
24
25   CHECK (2, sf);
26   CHECK (4, sf);
27   CHECK (8, sf);
28   CHECK (16, sf);
29   CHECK (4, df);
30   CHECK (2, df);
31
32   DEBUG_FINI
33
34   if (fails != 0)
35     abort ();
36 #endif
37 }