(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
advsimd-intrinsics/
vpaddq.c
       1  /* { dg-skip-if "" { arm*-*-* } } */
       2  
       3  #include <arm_neon.h>
       4  #include "arm-neon-ref.h"
       5  #include "compute-ref-data.h"
       6  
       7  #define INSN_NAME vpaddq
       8  #define TEST_MSG "VPADDQ"
       9  
      10  /* Expected results.  */
      11  VECT_VAR_DECL(expected, int, 8, 16) [] = { 0xe1, 0xe5, 0xe9, 0xed,
      12  					   0xf1, 0xf5, 0xf9, 0xfd,
      13  					   0xe1, 0xe5, 0xe9, 0xed,
      14  					   0xf1, 0xf5, 0xf9, 0xfd };
      15  VECT_VAR_DECL(expected, int, 16, 8) [] = { 0xffe1, 0xffe5, 0xffe9, 0xffed,
      16  					   0xffe1, 0xffe5, 0xffe9, 0xffed };
      17  VECT_VAR_DECL(expected, int, 32, 4) [] = { 0xffffffe1, 0xffffffe5,
      18  					   0xffffffe1, 0xffffffe5 };
      19  VECT_VAR_DECL(expected, int, 64, 2) [] = { 0xffffffffffffffe1,
      20  					   0xffffffffffffffe1 };
      21  VECT_VAR_DECL(expected, uint, 8, 16) [] = { 0xe1, 0xe5, 0xe9, 0xed,
      22  					    0xf1, 0xf5, 0xf9, 0xfd,
      23  					    0xe1, 0xe5, 0xe9, 0xed,
      24  					    0xf1, 0xf5, 0xf9, 0xfd };
      25  VECT_VAR_DECL(expected, uint, 16, 8) [] = { 0xffe1, 0xffe5, 0xffe9, 0xffed,
      26  					    0xffe1, 0xffe5, 0xffe9, 0xffed };
      27  VECT_VAR_DECL(expected, uint, 32, 4) [] = { 0xffffffe1, 0xffffffe5,
      28  					    0xffffffe1, 0xffffffe5};
      29  VECT_VAR_DECL(expected, uint, 64, 2) [] = { 0xffffffffffffffe1,
      30  					    0xffffffffffffffe1 };
      31  #if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC)
      32  VECT_VAR_DECL(expected, hfloat, 16, 8) [] = { 0xcfc0, 0xcec0, 0xcdc0, 0xccc0,
      33  					      0xcfc0, 0xcec0, 0xcdc0, 0xccc0 };
      34  #endif
      35  VECT_VAR_DECL(expected, hfloat, 32, 4) [] = { 0xc1f80000, 0xc1d80000,
      36  					      0xc1f80000, 0xc1d80000 };
      37  VECT_VAR_DECL(expected, hfloat, 64, 2) [] = { 0xc03f000000000000,
      38  					      0xc03f000000000000 };
      39  
      40  #include "vpXXXq.inc"