2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / div-7.c
blobff129292a34e26a9e168f07707191710b9a08a90
1 /* { dg-options "-mgp64 (-mips16)" } */
2 /* { dg-final { scan-assembler "\tdiv\t" } } */
3 /* { dg-final { scan-assembler-not "\tmflo\t" } } */
4 /* { dg-final { scan-assembler "\tmfhi\t" } } */
6 typedef int SI __attribute__((mode(SI)));
8 MIPS16 SI
9 f (SI x, SI y)
11 return x % y;