1 /* { dg-do run { target { power10_hw } } } */
2 /* { dg-do link { target { ! power10_hw } } } */
3 /* { dg-require-effective-target power10_ok } */
4 /* { dg-options "-mdejagnu-cpu=power10" } */
8 extern void abort (void);
10 /* Vector string isolate left-justified on array of signed short. */
12 silj_p (vector
signed short arg
)
14 return vec_stril_p (arg
);
17 int main (int argc
, short *argv
[])
19 vector
signed short input1
=
20 { 0x1, 0x3, 0x5, 0x7, 0x9, 0xb, 0xd, 0xf };
21 vector
signed short input2
=
22 { 0x1, 0x0, 0x5, 0x7, 0x9, 0xb, 0xd, 0xf };
23 vector
signed short input3
=
24 { 0x1, 0x0, 0x5, 0x7, 0x9, 0xb, 0xd, 0x0 };
25 vector
signed short input4
=
26 { 0x1, 0x3, 0x5, 0x7, 0x9, 0xb, 0xd, 0x0 };