Debian Codegraph @

gcc/testsuite/gcc.target/mips/div-1.c

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