summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vecinit-3.c
blob: 062fb1ed10af81eb5e67c541bef17a8f2e012cad (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */

#define vector __attribute__((vector_size(16)))

char a;
vector char f(void) { return (vector char){ a, a, a, a, a, a, a, a,
					    a, a, a, a, a, a, a, a }; }
/* { dg-final { scan-assembler-not "sall" } } */
/* { dg-final { scan-assembler-not "%mm" } } */