(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
dspr2-MULT.c
       1  /* Test MIPS32 DSP REV 2 MULT instruction.  Tune for a CPU that has
       2     pipelined mult.  */
       3  /* { dg-do compile } */
       4  /* This test requires widening_mul */
       5  /* { dg-options "-mgp32 -mdspr2 -mtune=74kc -fexpensive-optimizations" } */
       6  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
       7  
       8  /* See PR target/51729 for the reason behind the XFAILs.  */
       9  /* { dg-final { scan-assembler "\tmult\t" } } */
      10  /* { dg-final { scan-assembler "\\\$ac1" { xfail *-*-* } } } */
      11  /* { dg-final { scan-assembler "\\\$ac2" { xfail *-*-* } } } */
      12  
      13  typedef long long a64;
      14  
      15  NOMIPS16 a64 test (a64 *a, int *b, int *c)
      16  {
      17    a[0] = (a64) b[0] * c[0];
      18    a[1] = (a64) b[1] * c[1];
      19  }