Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx512f-pr84786-2.c

raw
1 /* PR target/84786 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-options "-mavx512f -mno-avx512vl -O2" } */
4
5 typedef double V __attribute__((vector_size (16)));
6
7 __attribute__((noipa)) V
8 foo (V x, double y)
9 {
10 register double z __asm ("xmm18");
11 asm volatile ("" : "=v" (z) : "0" (y));
12 x[1] = z;
13 return x;
14 }
15
16 /* { dg-final { scan-assembler-not "vunpcklpd\[\^\n\r]*xmm(1\[6-9]|\[23]\[0-9])" } } */