1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_neon_ok } */
3 /* { dg-options "-O2 -ftree-vectorize" } */
4 /* { dg-add-options arm_neon } */
6 void bor (int *__restrict__ c
, int *__restrict__ a
, int *__restrict__ b
)
9 for (i
= 0; i
< 9; i
++)
10 c
[i
] = b
[i
] | (~a
[i
]);
12 void bic (int *__restrict__ c
, int *__restrict__ a
, int *__restrict__ b
)
15 for (i
= 0; i
< 9; i
++)
16 c
[i
] = b
[i
] & (~a
[i
]);
19 /* { dg-final { scan-assembler "vorn\\t" } } */
20 /* { dg-final { scan-assembler "vbic\\t" } } */