* gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx256-unaligned-store-2.c
blobeeabfe9f3d1860a03214bd51f2385c27f00bb3f0
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mno-prefer-avx128" } */
4 #define N 1024
6 char **ep;
7 char **fp;
9 void
10 avx_test (void)
12 int i;
13 char **ap;
14 char **bp;
15 char **cp;
17 ap = ep;
18 bp = fp;
19 for (i = 128; i >= 0; i--)
21 *ap++ = *cp++;
22 *bp++ = 0;
26 /* { dg-final { scan-assembler-not "avx_storedqu256" } } */
27 /* { dg-final { scan-assembler "vmovups.*\\*movv16qi_internal/3" } } */
28 /* { dg-final { scan-assembler "vextract.128" } } */