1 /* { dg-do compile } */ 2 /* { dg-options "-O3 -mzarch -march=z14 -mzvector" } */ 3 4 #include <vecintrin.h> 5 6 vector signed char test(vector signed char x)7test (vector signed char x) 8 { 9 return vec_reve (x); 10 } 11 12 vector signed char test2(vector signed char * x)13test2 (vector signed char *x) 14 { 15 return vec_reve (*x); 16 } 17 18 vector signed char test3(signed char * x)19test3 (signed char *x) 20 { 21 return vec_reve (vec_xl (0, x)); 22 } 23 24 /* { dg-final { scan-assembler-times "vperm\t" 3 } } */ 25