Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.target / mips / vr-mult-2.c
blob9112ed08c829acff9fccefd2a4d16882ffe5be8e
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=vr5500" } */
5 int f1 (int a, int b, int c) { return a + b * c; }
6 int f2 (int a, int b, int c) { return a - b * c; }
7 /* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */