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
2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
lzcnt-1.c
blob
f6240d1ba787cc9cc2e7ba41424bfb1b4e367a79
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mlzcnt " } */
3
/* { dg-final { scan-assembler "lzcntw\[^\\n]*(%|)ax" } } */
4
5
#include <x86intrin.h>
6
7
unsigned int
8
func_lzcnt16
(
unsigned int
X
)
9
{
10
return
__lzcnt16
(
X
);
11
}