2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / abi-2.c
blob39eafc25039691237360869c596816f1c26acd84
1 /* Make certain that we pass __m256i in the correct register for AVX. */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -mavx" } */
4 /* { dg-options "-mabi=sysv -O1 -mavx" { target x86_64-*-mingw* } } */
6 typedef long long __m256i __attribute__ ((__vector_size__ (32)));
7 __m256i foo (void) { return (__m256i){ 1, 2, 3, 4 }; }
9 /* { dg-final { scan-assembler-times "ymm0" 1 } } */