5c1fb0cf09
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/omp-stream@159266 138bc75d-0d04-0410-961f-82ee72b054a4
8 lines
351 B
C
8 lines
351 B
C
/* Make sure that mul/addu is preferred over mtlo/macc and that mul/subu
|
|
is preferred over mtlo/msac. */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O2 -march=vr5500" } */
|
|
NOMIPS16 int f1 (int a, int b, int c) { return a + b * c; }
|
|
NOMIPS16 int f2 (int a, int b, int c) { return a - b * c; }
|
|
/* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */
|