summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/octeon3-pipe-1.c
blob: 3b832662d40faf02096a131de51c3a4273347b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Check that we use the octeon3 pipeline description.  */
/* { dg-do compile } */
/* { dg-options "-fschedule-insns2 -fdump-rtl-sched2 -march=octeon3" } */
/* { 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" } }  */