mips-protos.h (mips_emit_binary): Declare.
[platform/upstream/gcc.git] / gcc / testsuite / gcc.target / mips / mult-5.c
1 /* { dg-options "-O -mgp64 (-mips16)" } */
2 /* { dg-final { scan-assembler "\tdmultu\t" } } */
3 /* { dg-final { scan-assembler "\tmfhi\t" } } */
4 /* { dg-final { scan-assembler-not "\tmflo\t" } } */
5
6 typedef unsigned int TI __attribute__((mode(TI)));
7 typedef unsigned int DI __attribute__((mode(DI)));
8
9 MIPS16 DI
10 f (DI x, DI y)
11 {
12   return ((TI) x * y) >> 64;
13 }