summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vecinit-3.c
blob: 4cbf52133b4e06540f439f9ab2a088fd6e7efe61 (plain)
1
2
3
4
5
6
7
8
/* { 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" } } */