c++: Handle RAW_DATA_CST in make_tree_vector_from_ctor [PR118528]
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx256-unaligned-store-1.c
blob4c713959df2debdd21ffc3efd33e47f2fdf2842c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mno-prefer-avx128 -fno-common" } */
4 #define N 1024
6 extern float a[N], b[N+3], c[N], d[N];
8 void
9 avx_test (void)
11 int i;
13 for (i = 0; i < N; i++)
14 b[i+3] = a[i] * 10.0;
16 for (i = 0; i < N; i++)
17 d[i] = c[i] * 20.0;
20 /* { dg-final { scan-assembler-not "vmovups.*movv8sf_internal/4" } } */
21 /* { dg-final { scan-assembler "vmovups.*movv4sf_internal/4" } } */
22 /* { dg-final { scan-assembler "vextractf128" } } */