summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/cris/biap.c
blob: 1f3b4368a36a2e8af172109eb814540a227aecef (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Make sure ADDI is combined and emitted successfully.
   See also PR37939.  */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "addi" } } */
/* { dg-final { scan-assembler-not "lsl" } } */

int xyzzy (int r10, int r11)
{
  return r11 * 4 + r10;
}