gcc/testsuite/gcc.target/i386/pr89229-3b.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */ |
| 3 | |
| 4 | extern __float128 d; |
| 5 | |
| 6 | void |
| 7 | foo1 (__float128 x) |
| 8 | { |
| 9 | register __float128 xmm16 __asm ("xmm16") = x; /* { dg-error "register specified for 'xmm16'" } */ |
| 10 | asm volatile ("" : "+v" (xmm16)); |
| 11 | d = xmm16; |
| 12 | } |