* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / vect-fmovf.c
blob2869b27517c69562b7b6d90a691d9b59122ce60e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */
4 #pragma GCC target "+nosve"
6 #define N 32
8 void
9 foo (float *output)
11 int i = 0;
12 /* Vectorizable. */
13 for (i = 0; i < N; i++)
14 output[i] = 4.25;
17 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
18 /* { dg-final { scan-assembler "fmov\\tv\[0-9\]+\\.\[24\]s, 4\\.25" } } */