Debian Codegraph @

gcc/testsuite/gcc.target/mips/mult-3.c

raw
1 /* { dg-options "-mgp64 (-mips16)" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
3 /* { dg-final { scan-assembler "\tdmultu\t" } } */
4 /* { dg-final { scan-assembler "\tmfhi\t" } } */
5 /* { dg-final { scan-assembler "\tmflo\t" } } */
6
7 typedef unsigned int TI __attribute__((mode(TI)));
8 typedef unsigned int DI __attribute__((mode(DI)));
9
10 MIPS16 TI
11 f (DI x, DI y)
12 {
13 return (TI) x * y;
14 }