1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
3 /* { dg-options "-maltivec -mabi=altivec -fno-inline" } */
8 #include "altivec_check.h"
37 if (vec_all_numeric (a
.v
))
40 if (vec_all_nan (a
.v
))
43 if (!vec_all_numeric (b
.v
))
46 if (vec_all_nan (b
.v
))
49 if (vec_all_numeric (c
.v
))
52 if (!vec_all_nan (c
.v
))
60 vector
float a
= {1.0, 2.0, 3.0, 4.0};
61 vector
float b
= {1.0, 3.0, 2.0, 5.0};
63 vector
signed int le
= {-1, -1, 0, -1};
65 aux
= vec_cmple (a
, b
);
67 if (!vec_all_eq (aux
, le
))