(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
p5600-bonding.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-dp isa=p5600 -mtune=p5600 -mno-micromips -mno-mips16" } */
       3  /* { dg-skip-if "Bonding needs peephole optimization." { *-*-* } { "-O0" "-O1" } { "" } } */
       4  typedef int VINT32 __attribute__ ((vector_size((16))));
       5  
       6  void
       7  memory_operation (void * __restrict src, void * __restrict dest, int num)
       8  {
       9    VINT32 *vsrc = (VINT32 *) src;
      10    VINT32 *vdest = (VINT32 *) dest;
      11    int i;
      12  
      13    for (i = 0; i < num - 1; i += 2)
      14    {
      15      vdest[i] = vdest[i] + vsrc[i];
      16      vdest[i + 1] = vdest[i + 1] + vsrc[i + 1];
      17    }
      18  }
      19  /* { dg-final { scan-assembler "join2_" } }  */
      20