SVE Intrinsics: Change return type of redirect_call to gcall.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-bic-bitmask-12.c
blob70e609a3326db7826a19dcb33ffc5494b675ee47
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3 -fdump-tree-dce -w" } */
3 /* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
5 #include <stdint.h>
7 typedef unsigned int v4si __attribute__ ((vector_size (16)));
9 __attribute__((noinline, noipa))
10 void fun(v4si *x, int n)
12 for (int i = 0; i < (n & -16); i++)
13 x[i] = (x[i]&(~255)) == 0;
16 /* { dg-final { scan-tree-dump {<=\s*.+\{ 255,.+\}} dce7 { target vect_int } } } */
17 /* { dg-final { scan-tree-dump-not {&\s*.+\{ 4294967290,.+\}} dce7 { target vect_int } } } */
18 /* { dg-final { scan-tree-dump-not {\s+bic\s+} dce7 { target { aarch64*-*-* } } } } */