]>
Commit | Line | Data |
---|---|---|
e816b6b5 BE |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-ansi" } */ | |
3 | ||
4 | /* This is done by spu_internals.h, but we not include it here to keep | |
5 | down the dependencies. */ | |
6 | ||
7 | #ifndef __VECTOR_KEYWORD_SUPPORTED__ | |
8 | #define vector __vector | |
9 | #endif | |
10 | ||
11 | /* __vector is expanded unconditionally by the preprocessor. */ | |
12 | __vector int vi; | |
13 | __vector unsigned char vuc; | |
14 | __vector signed char vsc; | |
15 | __vector unsigned short vus; | |
16 | __vector signed short vss; | |
17 | __vector unsigned int vui; | |
18 | __vector signed int vsi; | |
19 | __vector unsigned long long ull; | |
20 | __vector signed long long sll; | |
21 | __vector float vf; | |
22 | __vector double vd; | |
23 | ||
24 | /* vector is expanded by the define above, regardless of context. */ | |
25 | vector int vi; | |
26 | vector unsigned char vuc; | |
27 | vector signed char vsc; | |
28 | vector unsigned short vus; | |
29 | vector signed short vss; | |
30 | vector unsigned int vui; | |
31 | vector signed int vsi; | |
32 | vector unsigned long long ull; | |
33 | vector signed long long sll; | |
34 | vector float vf; | |
35 | vector double vd; |