* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / vaddv-intrinsic.c
blobf6e0829a3e30ada0d914201073c19a318ba840ec
2 /* { dg-do run } */
3 /* { dg-options "-O3" } */
5 #include "arm_neon.h"
7 extern void abort (void);
9 #include "vaddv-intrinsic.x"
11 int
12 main (void)
14 const float32_t pool_v2sf[] = {4.0f, 9.0f};
15 const float32_t pool_v4sf[] = {4.0f, 9.0f, 16.0f, 25.0f};
16 const float64_t pool_v2df[] = {4.0, 9.0};
18 if (test_vaddv_v2sf (pool_v2sf) != 13.0f)
19 abort ();
21 if (test_vaddv_v4sf (pool_v4sf) != 54.0f)
22 abort ();
24 if (test_vaddv_v2df (pool_v2df) != 13.0)
25 abort ();
27 return 0;