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