Enable gcc.dg/vect/vect-early-break_21.c on x86_64
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vsubw.c
blob7de1fe9ac56b3c6c1c1caadb764cc18185061606
1 #include <arm_neon.h>
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,
10 0x1, 0x2, 0x3, 0x4 };
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,
18 0xffffffff00000001 };
20 #include "vXXXw.inc"