OSDN Git Service

* gcc.target/mips/octeon-exts-2.c: Compile it with -meb.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / mips / smartmips-ror-1.c
1 /* { dg-do compile } */
2 /* { dg-mips-options "-O -msmartmips" } */
3
4 NOMIPS16 int rotate_left (unsigned a, unsigned s)
5 {
6   return (a << s) | (a >> (32 - s));
7 }
8 /* { dg-final { scan-assembler "\tror\t" } } */