blob: 703f8febb71511e4d48b6b5601331f681b5400d1 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-mdejagnu-cpu=power9" } */
/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */
#include <altivec.h>
int
count_trailing_zero_byte_bits (vector unsigned char *arg1_p)
{
vector unsigned char arg_1 = *arg1_p;
return vec_cnttz_lsbb (arg_1);
}
/* { dg-final { scan-assembler "vctzlsbb" } } */