OSDN Git Service

PR middle-end/29274
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / abi-2.c
1 /* Make certain that we pass __m256i in the correct register for AVX.  */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -mavx" } */
4
5 typedef long long __m256i __attribute__ ((__vector_size__ (32)));
6 __m256i foo (void) { return (__m256i){ 1, 2, 3, 4 }; }
7
8 /* { dg-final { scan-assembler-times "ymm0" 1 } } */