PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / lzcnt-5.c
bloba4b9aafcd3d4bcfd32ed3aeced2e7c5d9d0086dc
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mlzcnt" } */
3 /* { dg-final { scan-assembler "lzcntq\[^\\n]*(%|)rax" } } */
5 #include <x86intrin.h>
7 unsigned int
8 func_lzcnt64 (unsigned long long X)
10 return __lzcnt64(X);