Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / vmx / 1b-02.c
blob2f9aca5da5c74b1af32c44a970f4c0e547588482
1 /* { dg-do compile } */
2 #include <altivec.h>
3 vector unsigned char u8;
4 vector signed char s8;
5 vector bool char b8;
6 vector unsigned short u16;
7 vector signed short s16;
8 vector bool short b16;
9 vector unsigned int u32;
10 vector signed int s32;
11 vector bool int b32;
12 vector float f32;
13 vector pixel p16;
15 vector unsigned char const u8c;
16 vector signed char const s8c;
17 vector bool char const b8c;
18 vector unsigned short const u16c;
19 vector signed short const s16c;
20 vector bool short const b16c;
21 vector unsigned int const u32c;
22 vector signed int const s32c;
23 vector bool int const b32c;
24 vector float const f32c;
25 vector pixel const p16c;
27 vector unsigned char volatile u8v;
28 vector signed char volatile s8v;
29 vector bool char volatile b8v;
30 vector unsigned short volatile u16v;
31 vector signed short volatile s16v;
32 vector bool short volatile b16v;
33 vector unsigned int volatile u32v;
34 vector signed int volatile s32v;
35 vector bool int volatile b32v;
36 vector float volatile f32v;
37 vector pixel volatile p16v;
39 const vector unsigned char u8c_;
40 const vector signed char s8c_;
41 const vector bool char b8c_;
42 const vector unsigned short u16c_;
43 const vector signed short s16c_;
44 const vector bool short b16c_;
45 const vector unsigned int u32c_;
46 const vector signed int s32c_;
47 const vector bool int b32c_;
48 const vector float f32c_;
49 const vector pixel p16c_;
51 volatile vector unsigned char u8v_;
52 volatile vector signed char s8v_;
53 volatile vector bool char b8v_;
54 volatile vector unsigned short u16v_;
55 volatile vector signed short s16v_;
56 volatile vector bool short b16v_;
57 volatile vector unsigned int u32v_;
58 volatile vector signed int s32v_;
59 volatile vector bool int b32v_;
60 volatile vector float f32v_;
61 volatile vector pixel p16v_;