testsuite: -mbig/-mlittle only is valid for powerpc-linux.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vsu / vec-cnttz-lsbb-0.c
blob9f307194fb29486054d5a7b09ac92d983ee5c133
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9" } */
4 /* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */
6 #include <altivec.h>
8 int
9 count_trailing_zero_byte_bits (vector signed char *arg1_p)
11 vector signed char arg_1 = *arg1_p;
13 return vec_cnttz_lsbb (arg_1);
16 /* { dg-final { scan-assembler "vctzlsbb" } } */