aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/abi-2.c
blob: 5ed6b4a56dd5f9c3380a38a36de7117e20bf7b99 (plain)
1
2
3
4
5
6
7
8
/* Make certain that we pass __m256i in the correct register for AVX.  */
/* { dg-do compile } */
/* { dg-options "-O1 -mavx" } */

typedef long long __m256i __attribute__ ((__vector_size__ (32)));
__m256i foo (void) { return (__m256i){ 1, 2, 3, 4 }; }

/* { dg-final { scan-assembler-times "ymm0" 1 } } */