☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
mips
/
smartmips-ror-4.c
☽
☼
gcc/testsuite/gcc.target/mips/smartmips-ror-4.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-msmartmips" } */
3
4
#define S 13
5
6
NOMIPS16 int rotate_right_constant (unsigned a)
7
{
8
return (a >> S) | (a << (32 - S));
9
}
10
/* { dg-final { scan-assembler "\tror\t" } } */