(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
pr99873_3.c
       1  /* { dg-options "-O3" } */
       2  
       3  #include <stdint.h>
       4  
       5  #pragma GCC target "+nosve"
       6  
       7  void __attribute ((noipa))
       8  foo (uint32_t *__restrict x, uint32_t *__restrict y, int n)
       9  {
      10    for (int i = 0; i < n; i += 4)
      11      {
      12        x[i] += y[i];
      13        x[i + 1] += y[i + 1];
      14        x[i + 2] |= y[i + 2];
      15        x[i + 3] |= y[i + 3];
      16      }
      17  }
      18  
      19  /* { dg-final { scan-assembler-times {\tld4\t} 2 } } */
      20  /* { dg-final { scan-assembler-times {\tst4\t} 1 } } */