1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -msse2" } */
5 foo (unsigned char *a
, unsigned char *b
, unsigned char *c
, int size
)
9 for (i
= 0; i
< size
; i
++)
10 a
[i
] = (unsigned char) ((unsigned int)1 + b
[i
] * c
[i
] * 117);
13 /* { dg-final { scan-assembler "packuswb|vpunpck" } } */