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