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