rt_gccstream/gcc/testsuite/gcc.target/i386/abi-2.c

9 lines
307 B
C

/* 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 } } */