repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
bmi-4.c
blob
e0a11616232fbd2bc827a88e337de5cc0b148728
1
/* { dg-do link } */
2
/* { dg-options "-O2 -mbmi" } */
3
4
#include <x86intrin.h>
5
6
/* Test that a constant operand 0 to tzcnt gets folded. */
7
extern
void
link_error
(
void
);
8
int
main
()
9
{
10
if
(
__tzcnt_u32
(
0
) !=
32
)
11
link_error
();
12
return
0
;
13
}