summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/madd-6.c
blob: 4e5afadceb25884ae9231c380a12ba5d47b95962 (plain)
1
2
3
4
5
6
/* { dg-options "-O2 -march=5kc" } */
/* { dg-final { scan-assembler-not "\tmadd\t" } } */
/* { dg-final { scan-assembler "\tmul\t" } } */
/* { dg-final { scan-assembler "\taddu\t" } } */

NOMIPS16 void f1 (int *a) { a[0] = a[0] * a[1] + a[2]; }