2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / smartmips-ror-1.c
blob6300f8f03fd228cc7a5aeb238c9e39b35dedef81
1 /* { dg-do compile } */
2 /* { dg-options "-msmartmips" } */
4 NOMIPS16 int rotate_left (unsigned a, unsigned s)
6 return (a << s) | (a >> (32 - s));
8 /* { dg-final { scan-assembler "\tror\t" } } */