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