aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/octeon2-pipe-1.c
blob: 18fd966715da1a99be06a88872baa31d609a6f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Check that we use the octeon2 pipeline description.  */
/* { dg-do compile } */
/* { dg-options "-fschedule-insns2 -fdump-rtl-sched2 -march=octeon2" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */

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

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