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

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