PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / bmi-3.c
blobddc5e0f66e2abe642768b430f3598bac7539f565
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mbmi " } */
3 /* { dg-final { scan-assembler "tzcntw\[^\\n]*(%|)ax" } } */
5 #include <x86intrin.h>
7 unsigned short
8 func_tzcnt16 (unsigned short X)
10 return __tzcnt_u16(X);