(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
msub-7.c
       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
       8  f1 (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  }