Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve2/bitsel_2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-details --save-temps" } */
3
4 #define OP(x,y,z) (~(((x) & (z)) | ((y) & ~(z))))
5
6 #include "bitsel_1.c"
7
8 /* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 4 "vect" } } */
9
10 /* { dg-final { scan-assembler-not {\teor\tz[0-9]+\.[bhsd]} } } */
11 /* { dg-final { scan-assembler-not {\tand\tz[0-9]+\.[bhsd]} } } */
12 /* { dg-final { scan-assembler-not {\tnot\tz[0-9]+\.[bhsd]} } } */
13
14 /* { dg-final { scan-assembler-times {\tnbsl\tz[0-9]+\.d, z[0-9]+\.d, z[0-9]+\.d, z[0-9]+\.d\n} 4 } } */