1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mlzcnt " } */
3 /* { dg-final { scan-assembler "lzcntw\[^\\n]*(%|)\[ad\]\[xi\]" } } */
4
5 #include <x86intrin.h>
6
7 unsigned int
func_lzcnt16(unsigned int X)8 func_lzcnt16 (unsigned int X)
9 {
10 return __lzcnt16(X);
11 }
12