1 extern void abort (void);
3 typedef int V2SI
__attribute__ ((vector_size (8)));
4 typedef unsigned int V2USI
__attribute__ ((vector_size (8)));
5 typedef float V2SF
__attribute__ ((vector_size (8)));
6 typedef short V2HI
__attribute__ ((vector_size (4)));
7 typedef unsigned int V2UHI
__attribute__ ((vector_size (4)));
12 return (long long) (V2SI
) x
;
24 return (long long) (V2SF
) x
;
30 if (sizeof (short) != 2 || sizeof (int) != 4 || sizeof (long long) != 8)
33 V2SF x
= { 2.0, 2.0 };
34 union { long long l
; float f
[2]; int i
[2]; } u
;
36 if (u
.f
[0] != 2.0 || u
.f
[1] != 2.0)
39 V2SF y
= { 6.0, 6.0 };
41 if (u
.f
[0] != 6.0 || u
.f
[1] != 6.0)
46 if (u
.i
[0] != 4 || u
.i
[1] != 4)