1 /* Make sure that mul/addu is preferred over mtlo/macc and that mul/subu
2    is preferred over mtlo/msac.  */
3 /* { dg-do compile } */
4 /* { dg-options "-march=vr5500 -fpeephole2" } */
5 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
f1(int a,int b,int c)6 NOMIPS16 int f1 (int a, int b, int c) { return a + b * c; }
f2(int a,int b,int c)7 NOMIPS16 int f2 (int a, int b, int c) { return a - b * c; }
8 /* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */
9