Debian Codegraph @

gcc/testsuite/gcc.target/arm/simd/pr101325-2.c

raw
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_mve_hw } */
3 /* { dg-options "-O3" } */
4 /* { dg-add-options arm_v8_1m_mve } */
5
6 #include <arm_mve.h>
7
8
9 __attribute((noipa))
10 unsigned foo(int8x16_t v, int8x16_t w)
11 {
12 return vcmpeqq (v, w);
13 }
14
15 int main(void)
16 {
17 if (foo (vdupq_n_s8(0), vdupq_n_s8(0)) != 0xffffU)
18 __builtin_abort ();
19 }