blob: 319cf5e0a018d29cf80f36ec6ce8f8146c7cf7ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load" } */
#define N 1024
char **ep;
char **fp;
void
avx_test (void)
{
int i;
char **ap;
char **bp;
char **cp;
ap = ep;
bp = fp;
for (i = 128; i >= 0; i--)
{
*ap++ = *cp++;
*bp++ = 0;
}
}
/* { dg-final { scan-assembler-not "avx_movdqu256/1" } } */
/* { dg-final { scan-assembler "avx_movdqu/1" } } */
/* { dg-final { scan-assembler "vinsertf128" } } */
|