* gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx256-unaligned-load-1.c
blob0c476cd78f2a78a35d76d1f887009addadc77524
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load -mno-prefer-avx128" } */
4 #define N 1024
6 float a[N], b[N+3], c[N];
8 void
9 avx_test (void)
11 int i;
13 for (i = 0; i < N; i++)
14 c[i] = a[i] * b[i+3];
17 /* { dg-final { scan-assembler-not "(avx_loadups256|vmovups\[^\n\r]*movv8sf_internal)" } } */
18 /* { dg-final { scan-assembler "(sse_loadups|movv4sf_internal)" } } */
19 /* { dg-final { scan-assembler "vinsertf128" } } */