summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/dmult-1.c
blob: 517e43ed54b1bb8a5ae7130db160a9eff22642f4 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "forbid_cpu=octeon -mgp64" } */
/* { dg-final { scan-assembler "\tdmult\t" } } */
/* { dg-final { scan-assembler "\tmflo\t" } } */
/* { dg-final { scan-assembler-not "\tdmul\t" } } */

long long
f (long long a, long long b)
{
  return a * b;
}