| 1 |
/* PR tree-optimization/91201 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-Os -msse4.1 -masm=att" } */ |
| 4 |
/* { dg-final { scan-assembler-not "\tmovzb(w|l)" } } */ |
| 5 |
|
| 6 |
typedef unsigned char V __attribute__((vector_size (16))); |
| 7 |
|
| 8 |
unsigned short |
| 9 |
foo (V x) |
| 10 |
{ |
| 11 |
return x[0]; |
| 12 |
} |