Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / smartmips-ror-3.c
blob5e51aa3f0185d4247aa1d68e562405b0256923c9
1 /* { dg-do compile } */
2 /* { dg-options "-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" } } */