gcc/testsuite/gcc.target/mips/mult-18.c
raw| 1 | /* { dg-options "-mgp32 (-mips16)" } */ |
| 2 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 3 | /* { dg-final { scan-assembler "\tmultu?\t" } } */ |
| 4 | /* { dg-final { scan-assembler "\tmflo\t" } } */ |
| 5 | /* { dg-final { scan-assembler-not "\tmfhi\t" } } */ |
| 6 | |
| 7 | typedef int SI __attribute__((mode(SI))); |
| 8 | |
| 9 | MIPS16 SI |
| 10 | f (SI x, SI y) |
| 11 | { |
| 12 | return x * y; |
| 13 | } |