Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mult-17.c
blob84baff8cd8cf52d02731449f433eed33d78ade28
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-not "\tmflo\t" } } */
5 /* { dg-final { scan-assembler "\tmfhi\t" } } */
7 typedef unsigned int DI __attribute__((mode(DI)));
8 typedef unsigned int SI __attribute__((mode(SI)));
10 MIPS16 SI
11 f (SI x, SI y)
13 return ((DI) x * y) >> 32;