gcc/testsuite/gcc.target/i386/abi-2.c
raw| 1 | /* Make certain that we pass __m256i in the correct register for AVX. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O1 -mavx" } */ |
| 4 | /* { dg-additional-options "-mabi=sysv" { target x86_64-*-mingw* } } */ |
| 5 | |
| 6 | typedef long long __m256i __attribute__ ((__vector_size__ (32))); |
| 7 | __m256i foo (void) { return (__m256i){ 1, 2, 3, 4 }; } |
| 8 | |
| 9 | /* { dg-final { scan-assembler-times "ymm0" 1 } } */ |