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
* gcc.target/i386/xop-rotate1-vector.c (dg-options): Add -mno-avx2.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
alpha
/
pr42269-1.c
blob
5d4ef1c258fc29d4979280c400ef2e9a86a2bc1a
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
/* { dg-final { scan-assembler-not "addl" } } */
4
5
unsigned
6
parity
(
unsigned
x
)
7
{
8
x
^=
x
>>
16
;
9
x
^=
x
>>
8
;
10
x
^=
x
>>
4
;
11
x
&=
0xf
;
12
return
(
0x6996
>>
x
) &
1
;
13
}