blob: ac4c94df8e2d59b433cdacbd65d67f13c0a26436 (
plain)
1
2
3
4
5
6
7
8
|
/* { dg-do compile } */
/* { dg-options "-O -msmartmips" } */
NOMIPS16 int rotate_right (unsigned a, unsigned s)
{
return (a >> s) | (a << (32 - s));
}
/* { dg-final { scan-assembler "\tror\t" } } */
|