1 /* { dg-do compile } */
2 /* { dg-options "-O2 isa_rev>=1 -mgp32" } */
3 /* { dg-final { scan-assembler-times "\tmadd\t" 3 } } */
6 f1 (int x
, int y
, long long z
)
8 return (long long) x
* y
+ z
;
12 f2 (int x
, int y
, long long z
)
14 return z
+ (long long) y
* x
;
18 f3 (int x
, int y
, long long z
)
20 long long t
= (long long) x
* y
;