summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/octeon-pipe-1.c
blob: 3c9d926d6021e30bcdb5faed60f1370812e9b16f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Check that we use the octeon pipeline description.  */
/* { dg-do compile } */
/* { dg-options "-O2 -march=octeon -fdump-rtl-sched2" } */

NOMIPS16 int f (int a, int b)
{
  return a / b;
}

/* { dg-final { scan-rtl-dump "octeon_mult\\*71" "sched2" } }  */
/* { dg-final { cleanup-rtl-dump "sched2" } }  */