testsuite: -mbig/-mlittle only is valid for powerpc-linux.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vsu / vec-cnttz-lsbb-3.c
blob844fb5da523d32309f00f31e9aa7cbe446fd3640
1 /* { dg-do compile { target { powerpc*-*-linux* } } } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mlittle" } */
5 #include <altivec.h>
7 int
8 count_trailing_zero_byte_bits (vector signed char *arg1_p)
10 vector signed char arg_1 = *arg1_p;
12 return vec_cnttz_lsbb (arg_1);
15 /* { dg-final { scan-assembler "vclzlsbb" } } */