Debian Codegraph @

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

raw
1 #include <arm_neon.h>
2 #include "arm-neon-ref.h"
3 #include "compute-ref-data.h"
4
5 #define INSN_NAME vqdmlsl_lane
6 #define TEST_MSG "VQDMLSL_LANE"
7
8 /* Expected results. */
9 VECT_VAR_DECL(expected,int,32,4) [] = { 0xffff83c2, 0xffff83c3,
10 0xffff83c4, 0xffff83c5 };
11 VECT_VAR_DECL(expected,int,64,2) [] = { 0xffffffffffff83c2,
12 0xffffffffffff83c3 };
13
14 /* Expected values when multiplying with 0. */
15 VECT_VAR_DECL(expected2,int,32,4) [] = { 0xfffffff0, 0xfffffff1,
16 0xfffffff2, 0xfffffff3 };
17 VECT_VAR_DECL(expected2,int,64,2) [] = { 0xfffffffffffffff0,
18 0xfffffffffffffff1 };
19
20 /* Expected values when multiplication saturates. */
21 VECT_VAR_DECL(expected3,int,32,4) [] = { 0x80000000, 0x80000000,
22 0x80000000, 0x80000000 };
23 VECT_VAR_DECL(expected3,int,64,2) [] = { 0x8000000000000000,
24 0x8000000000000000 };
25
26 #include "vqdmlXl_lane.inc"