blob: f070d2442eb3ae3cae4c78247a3df1948a0e8d70 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mel -mabi=32 -march=mips64r2 -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef int DI __attribute__((mode(DI)));
typedef int SI __attribute__((mode(SI)));
__attribute__((mips16)) SI
f (SI x, SI y)
{
return ((DI) x * y) >> 32;
}
/* { dg-final { scan-assembler-not "\tsw\t" } } */