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