[committed] ft32 doesn't support trampolines.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mult-10.c
blobc479ebbc553a4aa4e36b163432a38817c9a60307
1 /* This test requires widening_mul */
2 /* { dg-options "-mgp64 (-mips16) -fexpensive-optimizations" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler "\tmult\t" } } */
5 /* { dg-final { scan-assembler-not "\tmflo\t" { xfail *-*-* } } } */
6 /* { dg-final { scan-assembler "\tmfhi\t" } } */
8 typedef int DI __attribute__((mode(DI)));
9 typedef int SI __attribute__((mode(SI)));
11 MIPS16 SI
12 f (SI x, SI y)
14 return ((DI) x * y) >> 32;