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
2007-05-23 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
xchg-1.c
blob
464417b607e9b7d75850fcf0d16dd033af0c5492
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -march=k8" } */
3
4
unsigned short
good
(
unsigned short
a
)
5
{
6
return
(
a
>>
8
|
a
<<
8
);
7
}
8
9
/* { dg-final { scan-assembler "rol" } } */