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