1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
3 /* { dg-options "-maltivec -mabi=altivec" } */
4 /* { dg-final { scan-assembler "vcmpgtub" { target *-*-linux* } } } */
5 /* { dg-final { scan-assembler "vcmpgtsb" { target *-*-darwin* } } } */
6 /* { dg-final { scan-assembler "vcmpgtsh" } } */
7 /* { dg-final { scan-assembler "vcmpgtsw" } } */
9 /* Verify a statement in the GCC Manual that vector type specifiers can
10 omit "signed" or "unsigned". The default is the default signedness
11 of the base type, which differs depending on the ABI. */
15 extern vector
char vc1
, vc2
;
16 extern vector
short vs1
, vs2
;
17 extern vector
int vi1
, vi2
;
21 return vec_all_le (vc1
, vc2
)
22 && vec_all_le (vs1
, vs2
)
23 && vec_all_le (vi1
, vi2
);