Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr91446.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -march=icelake-server -ftree-slp-vectorize -mtune-ctrl=^sse_typeless_stores" } */
3
4 typedef struct
5 {
6 unsigned long long width, height;
7 long long x, y;
8 } info;
9
10 extern void bar (info *);
11
12 void
13 foo (unsigned long long width, unsigned long long height,
14 long long x, long long y)
15 {
16 info t;
17 t.width = width;
18 t.height = height;
19 t.x = x;
20 t.y = y;
21 bar (&t);
22 }
23
24 /* { dg-final { scan-assembler-times "vmovdqa\[^\n\r\]*xmm\[0-9\]" 2 } } */