1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
3 /* { dg-require-effective-target powerpc_p9vector_ok } */
4 /* { dg-skip-if "" { powerpc*-*-aix* } } */
5 /* { dg-options "-mcpu=power9" } */
10 doCharShiftLeft (__vector
unsigned char *p
, __vector
unsigned char *q
)
12 __vector
unsigned char result
, input
, shift_distance
;
13 result
= __builtin_vec_vsrv (input
, shift_distance
);
17 /* { dg-final { scan-assembler "vsrv" } } */