1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -maltivec -mdejagnu-cpu=cell" } */
4 /* { dg-final { scan-assembler-times "lvlxl" 19 } } */
8 typedef __vector
signed char vsc
;
9 typedef __vector
signed short vss
;
10 typedef __vector
signed int vsi
;
11 typedef __vector
unsigned char vuc
;
12 typedef __vector
unsigned short vus
;
13 typedef __vector
unsigned int vui
;
14 typedef __vector
bool char vbc
;
15 typedef __vector
bool short vbs
;
16 typedef __vector
bool int vbi
;
17 typedef __vector
float vsf
;
18 typedef __vector pixel vp
;
19 typedef signed char sc
;
20 typedef signed short ss
;
21 typedef signed int si
;
22 typedef signed long sl
;
23 typedef unsigned char uc
;
24 typedef unsigned short us
;
25 typedef unsigned int ui
;
26 typedef unsigned long ul
;
29 vsc
lc2(long a
, void *p
) { return __builtin_altivec_lvlxl (a
,p
); }
30 vsf
llxl01(long a
, vsf
*p
) { return __builtin_vec_lvlxl (a
,p
); }
31 vsf
llxl02(long a
, sf
*p
) { return __builtin_vec_lvlxl (a
,p
); }
32 vbi
llxl03(long a
, vbi
*p
) { return __builtin_vec_lvlxl (a
,p
); }
33 vsi
llxl04(long a
, vsi
*p
) { return __builtin_vec_lvlxl (a
,p
); }
34 vsi
llxl05(long a
, si
*p
) { return __builtin_vec_lvlxl (a
,p
); }
35 vui
llxl06(long a
, vui
*p
) { return __builtin_vec_lvlxl (a
,p
); }
36 vui
llxl07(long a
, ui
*p
) { return __builtin_vec_lvlxl (a
,p
); }
37 vbs
llxl08(long a
, vbs
*p
) { return __builtin_vec_lvlxl (a
,p
); }
38 vp
llxl09(long a
, vp
*p
) { return __builtin_vec_lvlxl (a
,p
); }
39 vss
llxl10(long a
, vss
*p
) { return __builtin_vec_lvlxl (a
,p
); }
40 vss
llxl11(long a
, ss
*p
) { return __builtin_vec_lvlxl (a
,p
); }
41 vus
llxl12(long a
, vus
*p
) { return __builtin_vec_lvlxl (a
,p
); }
42 vus
llxl13(long a
, us
*p
) { return __builtin_vec_lvlxl (a
,p
); }
43 vbc
llxl14(long a
, vbc
*p
) { return __builtin_vec_lvlxl (a
,p
); }
44 vsc
llxl15(long a
, vsc
*p
) { return __builtin_vec_lvlxl (a
,p
); }
45 vsc
llxl16(long a
, sc
*p
) { return __builtin_vec_lvlxl (a
,p
); }
46 vuc
llxl17(long a
, vuc
*p
) { return __builtin_vec_lvlxl (a
,p
); }
47 vuc
llxl18(long a
, uc
*p
) { return __builtin_vec_lvlxl (a
,p
); }