SH: Fix outage caused by recently added 2nd combine pass after reg alloc
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mult-2.c
blob77be31162735df047d84b38e85811c214a935825
1 /* { dg-options "-mgp64 (-mips16)" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
3 /* { dg-final { scan-assembler "\tdmult\t" } } */
4 /* { dg-final { scan-assembler "\tmfhi\t" } } */
5 /* { dg-final { scan-assembler "\tmflo\t" } } */
7 typedef int TI __attribute__((mode(TI)));
8 typedef int DI __attribute__((mode(DI)));
10 MIPS16 TI
11 f (DI x, DI y)
13 return (TI) x * y;