Handle Octeon 3 not supporting MIPS paired-single instructions.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / smartmips-ror-2.c
blob2d7c5dcd63f4be58331dd7f687dac8b83e87e847
1 /* { dg-do compile } */
2 /* { dg-options "-msmartmips" } */
4 NOMIPS16 int rotate_right (unsigned a, unsigned s)
6 return (a >> s) | (a << (32 - s));
8 /* { dg-final { scan-assembler "\tror\t" } } */