/* { dg-skip-if "" { arm*-*-* } } */ #include #include "arm-neon-ref.h" #include "compute-ref-data.h" #if defined(__cplusplus) #include #else #include #endif #define INSN_NAME vaddhn_high #define TEST_MSG "VADDHN_HIGH" /* Expected results. */ VECT_VAR_DECL(expected, int, 8, 16) [] = { 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32 }; VECT_VAR_DECL(expected, int, 16, 8) [] = { 0x5, 0x5, 0x5, 0x5, 0x32, 0x32, 0x32, 0x32 }; VECT_VAR_DECL(expected, int, 32, 4) [] = { 0x5, 0x5, 0x18, 0x18 }; VECT_VAR_DECL(expected, uint, 8, 16) [] = { 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3 }; VECT_VAR_DECL(expected, uint, 16, 8) [] = { 0x5, 0x5, 0x5, 0x5, 0x37, 0x37, 0x37, 0x37 }; VECT_VAR_DECL(expected, uint, 32, 4) [] = { 0x5, 0x5, 0x3, 0x3 }; #include "vXXXhn_high.inc"