[AArch64] SVE tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / vbslq_u64_1.c
blobe781ed056b33de1d5ac41879825a770cfd84c13e
1 /* Test if a BSL-like instruction can be generated from a C idiom. */
2 /* { dg-do assemble } */
3 /* { dg-options "--save-temps -O3" } */
5 #include <arm_neon.h>
7 /* Folds to BIF. */
9 uint32x4_t
10 vbslq_dummy_u32 (uint32x4_t a, uint32x4_t b, uint32x4_t mask)
12 return (mask & a) | (~mask & b);
15 /* { dg-final { scan-assembler-times "bif\\tv" 1 } } */