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