1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -march=skylake-avx512" } */
3 
4 extern __float128 d;
5 
6 void
foo1(__float128 x)7 foo1 (__float128 x)
8 {
9   register __float128 xmm16 __asm ("xmm16") = x;
10   asm volatile ("" : "+v" (xmm16));
11   register __float128 xmm17 __asm ("xmm17") = xmm16;
12   asm volatile ("" : "+v" (xmm17));
13   d = xmm17;
14 }
15 
16 /* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
17