Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vand.c

raw
1 #define INSN_NAME vand
2 #define TEST_MSG "VAND/VANDQ"
3
4 #include "binary_op.inc"
5
6 /* Expected results. */
7 VECT_VAR_DECL(expected,int,8,8) [] = { 0x0, 0x0, 0x2, 0x2,
8 0x0, 0x0, 0x2, 0x2 };
9 VECT_VAR_DECL(expected,int,16,4) [] = { 0xfff0, 0xfff0, 0xfff0, 0xfff0 };
10 VECT_VAR_DECL(expected,int,32,2) [] = { 0x0, 0x1 };
11 VECT_VAR_DECL(expected,int,64,1) [] = { 0x60 };
12 VECT_VAR_DECL(expected,uint,8,8) [] = { 0x10, 0x10, 0x10, 0x10,
13 0x14, 0x14, 0x14, 0x14 };
14 VECT_VAR_DECL(expected,uint,16,4) [] = { 0x10, 0x10, 0x12, 0x12 };
15 VECT_VAR_DECL(expected,uint,32,2) [] = { 0x20, 0x20 };
16 VECT_VAR_DECL(expected,uint,64,1) [] = { 0x0 };
17 VECT_VAR_DECL(expected,int,8,16) [] = { 0xf0, 0xf0, 0xf2, 0xf2,
18 0xf4, 0xf4, 0xf6, 0xf6,
19 0xf0, 0xf0, 0xf2, 0xf2,
20 0xf4, 0xf4, 0xf6, 0xf6 };
21 VECT_VAR_DECL(expected,int,16,8) [] = { 0xffe0, 0xffe0, 0xffe0, 0xffe0,
22 0xffe4, 0xffe4, 0xffe4, 0xffe4 };
23 VECT_VAR_DECL(expected,int,32,4) [] = { 0xffffffe0, 0xffffffe0,
24 0xffffffe2, 0xffffffe2 };
25 VECT_VAR_DECL(expected,int,64,2) [] = { 0x10, 0x10 };
26 VECT_VAR_DECL(expected,uint,8,16) [] = { 0x0, 0x0, 0x0, 0x0,
27 0x4, 0x4, 0x4, 0x4,
28 0x8, 0x8, 0x8, 0x8,
29 0xc, 0xc, 0xc, 0xc };
30 VECT_VAR_DECL(expected,uint,16,8) [] = { 0x0, 0x1, 0x2, 0x3,
31 0x0, 0x1, 0x2, 0x3 };
32 VECT_VAR_DECL(expected,uint,32,4) [] = { 0x30, 0x31, 0x32, 0x33 };
33 VECT_VAR_DECL(expected,uint,64,2) [] = { 0x0, 0x1 };