1 /* { dg-do compile } */
2 /* This test requires widening_mul */
3 /* { dg-options "-mdspr2 -mgp32 -fexpensive-optimizations" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
5 /* { dg-final { scan-assembler-times "\tmsubu\t\\\$ac" 2 } } */
7 typedef unsigned int ui
;
8 typedef unsigned long long ull
;
11 f1 (ui x
, ui y
, ull z
)
13 return z
- (ull
) y
* x
;
17 f2 (ui x
, ui y
, ull z
)