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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
bmi-5.c
blob
546a593c8ffc77fe7cdd4aaa870e561b1b05e2d5
1
/* { dg-do link { target { ! { ia32 } } } } */
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_u64
(
0
) !=
64
)
11
link_error
();
12
return
0
;
13
}