Sign in
chromium
/
native_client
/
nacl-toolchain
/
gdb-6.8
/
.
/
gcc
/
gcc
/
testsuite
/
gcc.target
/
mips
/
smartmips-ror-4.c
blob: b8b82944540566480eef1b2510e61822d2f5dbd2 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -msmartmips" } */
#define
S
13
NOMIPS16
int
rotate_right_constant
(
unsigned
a
)
{
return
(
a
>>
S
)
|
(
a
<<
(
32
-
S
));
}
/* { dg-final { scan-assembler "\tror\t" } } */