libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-conditional_store_1.c
blob650a3bfbfb1dd44afc2d58bbe85f75f1d28b9bd0
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_float } */
5 /* { dg-additional-options "-mavx2" { target avx2 } } */
6 /* { dg-additional-options "-march=armv9-a" { target aarch64-*-* } } */
8 void foo3 (float *restrict a, int *restrict c)
10 #pragma GCC unroll 8
11 for (int i = 0; i < 8; i++)
12 c[i] = a[i] > 1.0;
15 /* { dg-final { scan-tree-dump "vectorized using SLP" "slp1" } } */