1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power10" } */
3 
4 #include <altivec.h>
5 
6 extern void abort (void);
7 
8 /* Vector string clear left-most bytes of unsigned char.  */
9 vector signed char
clrl(vector signed char arg,int n)10 clrl (vector signed char arg, int n)
11 {
12   return vec_clrl (arg, n);
13 }
14 
15 /* { dg-final { scan-assembler {\mvclrlb\M} { target be } } } */
16 /* { dg-final { scan-assembler {\mvclrrb\M} { target le } } } */
17