aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mult-6.c
blob: 82d4f5d453a5ff9c39951d262f721cd699635b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-options "-mgp64 (-mips16)" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler "\tdmultu?\t" } } */
/* { dg-final { scan-assembler "\tmflo\t" } } */
/* { dg-final { scan-assembler-not "\tmfhi\t" } } */

typedef int DI __attribute__((mode(DI)));

MIPS16 DI
f (DI x, DI y)
{
  return x * y;
}