2 #include "arm-neon-ref.h"
3 #include "compute-ref-data.h"
5 #if defined(__cplusplus)
11 #define INSN_NAME vrsubhn
12 #define TEST_MSG "VRSUBHN"
14 /* Expected results. */
15 VECT_VAR_DECL(expected
,int,8,8) [] = { 0x31, 0x31, 0x31, 0x31,
16 0x31, 0x31, 0x31, 0x31 };
17 VECT_VAR_DECL(expected
,int,16,4) [] = { 0x31, 0x31, 0x31, 0x31 };
18 VECT_VAR_DECL(expected
,int,32,2) [] = { 0x17, 0x17 };
19 VECT_VAR_DECL(expected
,uint
,8,8) [] = { 0x2, 0x2, 0x2, 0x2,
21 VECT_VAR_DECL(expected
,uint
,16,4) [] = { 0x36, 0x36, 0x36, 0x36 };
22 VECT_VAR_DECL(expected
,uint
,32,2) [] = { 0x2, 0x2 };