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-5.c
blob
a4b9aafcd3d4bcfd32ed3aeced2e7c5d9d0086dc
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mlzcnt" } */
3
/* { dg-final { scan-assembler "lzcntq\[^\\n]*(%|)rax" } } */
4
5
#include <x86intrin.h>
6
7
unsigned int
8
func_lzcnt64
(
unsigned long long
X
)
9
{
10
return
__lzcnt64
(
X
);
11
}