1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* { dg-do run } */ /* { dg-options "-O2 -msse2 -ftree-vectorize" } */ /* { dg-require-effective-target sse2 } */ #include "sse2-check.h" long long int a[64]; void sse2_test (void) { int k; for (k = 0; k < 64; k++) a[k] = a[k] != 5 ? 12 : 10; for (k = 0; k < 64; k++) if (a[k] != 12) abort (); }