1 /* { dg-options "-mgp64 (-mips16)" } */
2 /* { dg-final { scan-assembler "\tdiv\t" } } */
3 /* { dg-final { scan-assembler "\tmflo\t" } } */
4 /* { dg-final { scan-assembler-not "\tmfhi\t" } } */
5
6 typedef int SI __attribute__((mode(SI)));
7
8 MIPS16 SI
9 f (SI x, SI y)
10 {
11 return x / y;
12 }