aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c
blob: 419d086b8afc1213bd597f9c88f0d5564dd8a22e (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-mno-smartmips -march=mips32" } */

NOMIPS16 int rotate_left (unsigned a, unsigned s)
{
  return (a << s) | (a >> (32 - s));
}
/* { dg-final { scan-assembler-not "\tror\t" } } */