Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/simd/vceq_poly_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
3
4 #include <arm_neon.h>
5
6 uint64x2_t
7 foo (poly64x2_t a, poly64x2_t b)
8 {
9 return vceqq_p64 (a, b);
10 }
11
12 /* { dg-final { scan-assembler-times "cmeq\\tv\[0-9\]+\.2d, v\[0-9\]+\.2d, v\[0-9\]+\.2d" 1 } } */
13
14 uint64x1_t
15 fooz (poly64x1_t a)
16 {
17 return vceqz_p64 (a);
18 }
19
20 /* { dg-final { scan-assembler-times "cmeq\\td\[0-9\]+, d\[0-9\]+, #0" 1 } } */
21
22 uint64x2_t
23 fooqz (poly64x2_t a)
24 {
25 return vceqzq_p64 (a);
26 }
27
28 /* { dg-final { scan-assembler-times "cmeq\\tv\[0-9\]+\.2d, v\[0-9\]+\.2d, #0" 1 } } */
29