1 2 3 4 5 6 7 8 9 10 11 12
#include <altivec.h> #include <stdlib.h> #define ZERO (((vector unsigned char){0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0})) int main(void) { vector unsigned char a = ZERO; if (vec_any_ne(a, ZERO)) abort (); return 0; }