1 #include <arm_neon.h> 2 #include "arm-neon-ref.h" 3 #include "compute-ref-data.h" 4 5 #define INSN_NAME vqdmlsl 6 #define TEST_MSG "VQDMLSL" 7 8 /* Expected values of cumulative_saturation flag. */ 9 int VECT_VAR(expected_cumulative_sat,int,32,4) = 0; 10 int VECT_VAR(expected_cumulative_sat,int,64,2) = 0; 11 12 /* Expected results. */ 13 VECT_VAR_DECL(expected,int,32,4) [] = { 0xffff83c2, 0xffff83c3, 14 0xffff83c4, 0xffff83c5 }; 15 VECT_VAR_DECL(expected,int,64,2) [] = { 0xffffffffffff83c2, 16 0xffffffffffff83c3 }; 17 18 /* Expected values of cumulative_saturation flag when saturation 19 occurs. */ 20 int VECT_VAR(expected_cumulative_sat2,int,32,4) = 1; 21 int VECT_VAR(expected_cumulative_sat2,int,64,2) = 1; 22 23 /* Expected results when saturation occurs. */ 24 VECT_VAR_DECL(expected2,int,32,4) [] = { 0x80000000, 0x80000000, 25 0x80000000, 0x80000000 }; 26 VECT_VAR_DECL(expected2,int,64,2) [] = { 0x8000000000000000, 27 0x8000000000000000 }; 28 29 #include "vqdmlXl.inc" 30