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

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

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