1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_shift } */
10 void _mix_some_samples (long buf
, int *mix_buffer
, int mix_size
)
13 signed int *p
= mix_buffer
;
14 for (i
= mix_size
; i
> 0; i
--)
16 *((short *) buf
) = clamp_val ((*p
) + 0x800000);
22 /* { dg-final { cleanup-tree-dump "vect" } } */