2 #include "arm-neon-ref.h"
3 #include "compute-ref-data.h"
5 #define INSN_NAME vsubw
6 #define TEST_MSG "VSUBW"
8 /* Expected results. */
9 VECT_VAR_DECL(expected
,int,16,8) [] = { 0xfffd, 0xfffe, 0xffff, 0x0,
11 VECT_VAR_DECL(expected
,int,32,4) [] = { 0xfffffffe, 0xffffffff, 0x0, 0x1 };
12 VECT_VAR_DECL(expected
,int,64,2) [] = { 0x0, 0x1 };
13 VECT_VAR_DECL(expected
,uint
,16,8) [] = { 0xfefd, 0xfefe, 0xfeff, 0xff00,
14 0xff01, 0xff02, 0xff03, 0xff04 };
15 VECT_VAR_DECL(expected
,uint
,32,4) [] = { 0xfffeffff, 0xffff0000,
16 0xffff0001, 0xffff0002 };
17 VECT_VAR_DECL(expected
,uint
,64,2) [] = { 0xffffffff00000000,