1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3 -fdump-tree-dce -w" } */
3 /* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
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*-*-* } } } } */