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

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