Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
gcc.target
/
mips
/
smartmips-ror-2.c
blob: 73561c8b3c172a7c936a7ef190e3dc98fd7e93f7 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-mips-options "-O -msmartmips" } */
NOMIPS16
int
rotate_right
(
unsigned
a
,
unsigned
s
)
{
return
(
a
>>
s
)
|
(
a
<<
(
32
-
s
));
}
/* { dg-final { scan-assembler "\tror\t" } } */