Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.target
/
or1k
/
ror-2.c
blob: 9cd7f35d285a2087ede7a447c6463ad5655f73d0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { *-*-* } { "-mror" } { "" } } */
unsigned
int
rotate
(
unsigned
int
a
,
int
b
)
{
return
(
a
>>
b
)
|
(
a
<<
(
32
-
b
)
);
}
/* { dg-final { scan-assembler-not "l.ror" } } */