PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / bmi-5.c
blob803dd0a4282e9951722298930d28001d64f2c6fc
1 /* { dg-do link { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mbmi" } */
4 #include <x86intrin.h>
6 /* Test that a constant operand 0 to tzcnt gets folded. */
7 extern void link_error(void);
8 int main()
10 if (__tzcnt_u64(0) != 64)
11 link_error();
12 return 0;