1 /* PR tree-optimization/91201 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -msse2 -mno-sse3 -mtune=generic -masm=att" } */ 4 /* { dg-final { scan-assembler "\tmovd\t%xmm0, %eax" } } */ 5 /* { dg-final { scan-assembler-not "\\(%" } } */ 6 7 typedef unsigned char V __attribute__((vector_size (16))); 8 9 unsigned char foo(V x)10foo (V x) 11 { 12 return x[0]; 13 } 14