aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/abi-1.c
blob: 62b80ef4062cfb9b4c96d5ca7d1fa5960db33214 (plain)
1
2
3
4
5
6
7
8
/* Make certain that we pass V2DF in the correct register for SSE1.  */
/* { dg-do compile } */
/* { dg-options "-O1 -msse -mno-sse2" } */

typedef double v2df __attribute__((vector_size (16)));
v2df foo (void) { return (v2df){ 1.0, 2.0 }; }

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