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-mips-options "-O2 -march=vr5400" } */
5int f1 (int a, int b, int c) { return a + b * c; }
6int f2 (int a, int b, int c) { return a - b * c; }
7/* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */
8