(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
sve/
pred-not-gen-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O3" } */
       3  
       4  /*
       5  ** f12:
       6  ** ...
       7  ** 	ld1w	z1.s, p0/z, \[x1, x2, lsl 2\]
       8  ** 	cmple	p1.s, p0/z, z1.s, #0
       9  ** 	ld1w	z0.s, p1/z, \[x3, x2, lsl 2\]
      10  ** ...
      11  */
      12  
      13  void f12(int * restrict z, int * restrict w, int * restrict x, int * restrict y, int n)
      14  {
      15      for (int i = 0; i < n; i++) {
      16          z[i] = (w[i] > 0) ? w[i] : y[i];
      17      }
      18  }
      19  
      20  /* { dg-final { scan-assembler-not {\tbic\t} } } */
      21  /* { dg-final { scan-assembler-not {\tnot\tp[0-9]+\.b, p[0-9]+/z, p[0-9]+\.b\n} } } */
      22  /* { dg-final { scan-assembler-times {\tcmple\tp[0-9]+\.s, p[0-9]+/z, z[0-9]+\.s, #0} 1 } } */