1 /* { dg-options "-march=5kc" } */ 2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ 3 /* { dg-skip-if "requires -fira-region=all or =mixed" { *-*-* } { "-Os" } { "" } } */ 4 /* { dg-final { scan-assembler-not "\tmul\t" } } */ 5 /* { dg-final { scan-assembler "\tmsub\t" } } */ 6 7 NOMIPS16 int f1(int * a,int * b,int n)8f1 (int *a, int *b, int n) 9 { 10 int x, i; 11 12 x = 100; 13 for (i = 0; i < n; i++) 14 x -= a[i] * b[i]; 15 return x; 16 } 17