Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / mips / smartmips-ror-2.c
blob73561c8b3c172a7c936a7ef190e3dc98fd7e93f7
1 /* { dg-do compile } */
2 /* { dg-mips-options "-O -msmartmips" } */
4 NOMIPS16 int rotate_right (unsigned a, unsigned s)
6 return (a >> s) | (a << (32 - s));
8 /* { dg-final { scan-assembler "\tror\t" } } */