1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
8 doCharShiftLeft (__vector
unsigned char *p
, __vector
unsigned char *q
)
10 __vector
unsigned char result
, input
, shift_distance
;
11 result
= __builtin_vec_vslv (input
, shift_distance
);
15 /* { dg-final { scan-assembler "vslv" } } */