PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f_evex_reg_asm-2.c
blob8f29e3090d68cb2fbc4b5db3cfe27a0bef7a3dea
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mavx512f -ffixed-xmm0 -ffixed-xmm1 -ffixed-xmm2 -ffixed-xmm3 -ffixed-xmm4 -ffixed-xmm5 -ffixed-xmm6 -ffixed-xmm7 -ffixed-xmm8 -ffixed-xmm9 -ffixed-xmm10 -ffixed-xmm11 -ffixed-xmm12 -ffixed-xmm13 -ffixed-xmm14 -ffixed-xmm15" } */
3 /* { dg-final { scan-assembler-times "vaddss\[ \\t\]+\[^\{\n\]*%xmm(?:1\[6-9\]|2\[0-9\]|3\[0-1\])+;(?:\n|\[ \\t\]+#)" 1 } } */
5 volatile float a, b, c, d;
7 void foo()
9 __asm__ __volatile__( "vaddss %1, %2, %3;" : "=v"(c) : "v"(a),"v"(b),"v"(d) );