1 /* { dg-do compile } */
2 /* { dg-options "(HAS_MADD) -mgp32" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler-times "\tmadd\t" 3 } } */
7 f1 (int x
, int y
, long long z
)
9 return (long long) x
* y
+ z
;
13 f2 (int x
, int y
, long long z
)
15 return z
+ (long long) y
* x
;
19 f3 (int x
, int y
, long long z
)
21 long long t
= (long long) x
* y
;