Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
gcc.target
/
mips
/
no-smartmips-ror-1.c
blob: d1f50a8fbefc3326b0bff132d4a81eb8e0b3aa4d [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -mno-smartmips -march=mips32" } */
NOMIPS16
int
rotate_left
(
unsigned
a
,
unsigned
s
)
{
return
(
a
<<
s
)
|
(
a
>>
(
32
-
s
));
}
/* { dg-final { scan-assembler-not "\tror\t" } } */