Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / gcc.target / mips / smartmips-ror-4.c
blobfc88a9a82630fc556686e4c78ad9421262824b8c
1 /* { dg-do compile } */
2 /* { dg-options "-msmartmips" } */
4 #define S 13
6 NOMIPS16 int rotate_right_constant (unsigned a)
8 return (a >> S) | (a << (32 - S));
10 /* { dg-final { scan-assembler "\tror\t" } } */