gcc/
[official-gcc.git] / gcc / testsuite / c-c++-common / vector-scalar.c
blob1b32cc67bddde5debfe0bda987fc10a303c2d14f
1 /* { dg-do compile } */
3 typedef float vecf __attribute__ ((vector_size (4 * sizeof (float))));
4 typedef short veci __attribute__ ((vector_size (8 * sizeof (short))));
6 void f (vecf *d, veci *i)
8 (void) ((*d *= 2) < 0);
9 (void) ((((*i - 1) >> 2) != 0) | *i);