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-3.c
blob
ddc5e0f66e2abe642768b430f3598bac7539f565
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mbmi " } */
3
/* { dg-final { scan-assembler "tzcntw\[^\\n]*(%|)ax" } } */
4
5
#include <x86intrin.h>
6
7
unsigned short
8
func_tzcnt16
(
unsigned short
X
)
9
{
10
return
__tzcnt_u16
(
X
);
11
}