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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
smartmips-ror-2.c
blob
73561c8b3c172a7c936a7ef190e3dc98fd7e93f7
1
/* { dg-do compile } */
2
/* { dg-mips-options "-O -msmartmips" } */
3
4
NOMIPS16
int
rotate_right
(
unsigned
a
,
unsigned
s
)
5
{
6
return
(
a
>>
s
) | (
a
<< (
32
-
s
));
7
}
8
/* { dg-final { scan-assembler "\tror\t" } } */