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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr78310.c
blob
dfeae4c827cf576ad83d714a17da8c1fe5e623ab
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O -mbmi2" } */
3
4
unsigned long long
a
;
5
int
b
;
6
7
int
8
fn1
(
int
p1
)
9
{
10
p1
&=
1
;
11
p1
&= (
short
)~
p1
;
12
b
=
a
;
13
a
=
a
<<
p1
|
a
>> (
64
-
p1
);
14
return
p1
+
1
+
a
;
15
}