aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arc/barrel-shifter-1.c
blob: a0eb6d70c39e20df8d9cf5bf76b57ee0785e027c (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=ARC601 -mbarrel-shifter" } */
int i;

int f (void)
{
  i >>= 2;
}

/* { dg-final { scan-assembler "asr_s" } } */