/external/arm-neon-tests/ |
D | ref_vcreate.c | 46 VECT_VAR(vector_res, T1, W, N) = vcreate_##T2##W(VECT_VAR(val, T1, W, N)); \ in FNNAME() 47 vst1_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector_res, T1, W, N)) in FNNAME() 53 uint64_t VECT_VAR(VAR, T1, W, N) in FNNAME() 88 VECT_VAR(val, int, 8, 8) = 0x123456789abcdef0LL; in FNNAME() 89 VECT_VAR(val, int, 16, 4) = 0x123456789abcdef0LL; in FNNAME() 90 VECT_VAR(val, int, 32, 2) = 0x123456789abcdef0LL; in FNNAME() 91 VECT_VAR(val, int, 64, 1) = 0x123456789abcdef0LL; in FNNAME() 92 VECT_VAR(val, float, 32, 2) = 0x123456789abcdef0LL; in FNNAME() 94 VECT_VAR(val, float, 16, 4) = 0x123456789abcdef0LL; in FNNAME() 96 VECT_VAR(val, uint, 8, 8) = 0x123456789abcdef0ULL; in FNNAME() [all …]
|
D | ref_vcvt.c | 42 VECT_VAR(vector_res, T1, W, N) = \ in exec_vcvt() 43 vcvt##Q##_##T2##W##_##TS2##W(VECT_VAR(vector, TS1, W, N)); \ in exec_vcvt() 44 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \ in exec_vcvt() 45 VECT_VAR(vector_res, T1, W, N)); \ in exec_vcvt() 49 VECT_VAR(vector_res, T1, W, N) = \ in exec_vcvt() 50 vcvt##Q##_##T2##W##_##TS2##W(VECT_VAR(vector, TS1, W, N)); \ in exec_vcvt() 51 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \ in exec_vcvt() 52 VECT_VAR(vector_res, T1, W, N)); \ in exec_vcvt() 57 VECT_VAR(vector_res, T1, W1, N) = \ in exec_vcvt() 58 vcvt_##T2##W1##_##T2##W2(VECT_VAR(vector, T1, W2, N)); \ in exec_vcvt() [all …]
|
D | ref_vtbX.c | 45 VECT_VAR(table_vector, T1, W, N) = \ in exec_vtbX() 48 VECT_VAR(vector_res, T1, W, N) = \ in exec_vtbX() 49 vtbl1_##T2##W(VECT_VAR(table_vector, T1, W, N), \ in exec_vtbX() 50 VECT_VAR(vector, T3, W, N)); \ in exec_vtbX() 51 vst1_##T2##W(VECT_VAR(result, T1, W, N), \ in exec_vtbX() 52 VECT_VAR(vector_res, T1, W, N)); in exec_vtbX() 58 VECT_VAR(vector_res, T1, W, N) = \ in exec_vtbX() 60 VECT_VAR(vector, T3, W, N)); \ in exec_vtbX() 61 vst1_##T2##W(VECT_VAR(result, T1, W, N), \ in exec_vtbX() 62 VECT_VAR(vector_res, T1, W, N)); in exec_vtbX() [all …]
|
D | ref_vstX_lane.c | 49 memset (VECT_VAR(buffer_src, T1, W, N), 0xAA, \ in exec_vstX_lane() 50 sizeof(VECT_VAR(buffer_src, T1, W, N))); \ in exec_vstX_lane() 51 memset (VECT_VAR(result_bis_##X, T1, W, N), 0, \ in exec_vstX_lane() 52 sizeof(VECT_VAR(result_bis_##X, T1, W, N))); \ in exec_vstX_lane() 55 vld##X##Q##_##T2##W(VECT_VAR(buffer_src, T1, W, N)); \ in exec_vstX_lane() 59 vld##X##Q##_lane_##T2##W(VECT_VAR(buffer_vld##X##_lane, T1, W, X), \ in exec_vstX_lane() 62 vst##X##Q##_lane_##T2##W(VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vstX_lane() 65 memcpy(VECT_VAR(result, T1, W, N), VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vstX_lane() 66 sizeof(VECT_VAR(result, T1, W, N))); in exec_vstX_lane() 70 memcpy(VECT_VAR(result, T1, W, N), \ in exec_vstX_lane() [all …]
|
D | ref_vqdmlal.c | 48 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W, N)); \ in FNNAME() 49 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 50 INSN##_##T2##W2(VECT_VAR(vector, T1, W, N), \ in FNNAME() 51 VECT_VAR(vector3, T1, W2, N), \ in FNNAME() 52 VECT_VAR(vector4, T1, W2, N)); \ in FNNAME() 53 vst1q_##T2##W(VECT_VAR(result, T1, W, N), \ in FNNAME() 54 VECT_VAR(vector_res, T1, W, N)); \ in FNNAME()
|
D | ref_vcombine.c | 39 VECT_VAR(vector128, T1, W, N2) = \ in exec_vcombine() 40 vcombine_##T2##W(VECT_VAR(vector64_a, T1, W, N), \ in exec_vcombine() 41 VECT_VAR(vector64_b, T1, W, N)); \ in exec_vcombine() 42 vst1q_##T2##W(VECT_VAR(result, T1, W, N2), VECT_VAR(vector128, T1, W, N2)) in exec_vcombine() 78 VECT_VAR(vector64_b, float, 16, 4) = in exec_vcombine() 79 vreinterpret_f16_u16(VECT_VAR(vector64_b_init, uint, 16, 4)); in exec_vcombine()
|
D | ref_vdup.c | 41 VECT_VAR(vector, T1, W, N) = \ in exec_vdup() 42 vdup##Q##_n_##T2##W(VECT_VAR(buffer_dup, T1, W, N)[i]); \ in exec_vdup() 43 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector, T1, W, N)) in exec_vdup() 47 VECT_VAR(vector, T1, W, N) = \ in exec_vdup() 48 vmov##Q##_n_##T2##W(VECT_VAR(buffer_dup, T1, W, N)[i]); \ in exec_vdup() 49 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector, T1, W, N)) in exec_vdup()
|
D | ref_vld1_lane.c | 39 memset (VECT_VAR(buffer_src, T1, W, N), 0xAA, W/8*N); \ in exec_vld1_lane() 40 VECT_VAR(vector_src, T1, W, N) = \ in exec_vld1_lane() 41 vld1##Q##_##T2##W(VECT_VAR(buffer_src, T1, W, N)); \ in exec_vld1_lane() 42 VECT_VAR(vector, T1, W, N) = \ in exec_vld1_lane() 43 vld1##Q##_lane_##T2##W(VECT_VAR(buffer, T1, W, N), \ in exec_vld1_lane() 44 VECT_VAR(vector_src, T1, W, N), L); \ in exec_vld1_lane() 45 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector, T1, W, N)) in exec_vld1_lane()
|
D | ref_vqdmlal_lane.c | 47 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W, N)); \ in FNNAME() 48 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 49 INSN##_##T2##W2(VECT_VAR(vector, T1, W, N), \ in FNNAME() 50 VECT_VAR(vector3, T1, W2, N), \ in FNNAME() 51 VECT_VAR(vector4, T1, W2, N), \ in FNNAME() 53 vst1q_##T2##W(VECT_VAR(result, T1, W, N), \ in FNNAME() 54 VECT_VAR(vector_res, T1, W, N)); \ in FNNAME()
|
D | stm-arm-neon-ref.h | 63 #define VECT_VAR(V,T,W,N) xNAME(V,VECT_NAME(T,W,N)) macro 64 #define VECT_VAR_DECL(V, T, W, N) T##W##_t VECT_VAR(V,T,W,N) 67 #define PAD(V, T, W, N) char VECT_VAR(V,T,W,N)=42; 80 STR(VECT_VAR(result, T, W, N))); \ 83 fprintf(ref_file, "%" FMT ", ", VECT_VAR(result, T, W, N)[i]); \ 91 STR(VECT_VAR(result, T, W, N))); \ 95 (uint##W##_t)VECT_VAR(result, T, W, N)[i]); \ 102 STR(VECT_VAR(result, T, W, N))); \ 109 tmp.f = VECT_VAR(result, T, W, N)[i]; \ 121 uint32_t tmp = (uint##W##_t) VECT_VAR(result, T, W, N)[i]; \ [all …]
|
D | ref_vuzp.c | 57 INSN##Q##_##T2##W(VECT_VAR(vector1, T1, W, N), \ in FNNAME() 58 VECT_VAR(vector2, T1, W, N)); \ in FNNAME() 59 vst2##Q##_##T2##W(VECT_VAR(result_bis, T1, W, N), \ in FNNAME() 61 memcpy(VECT_VAR(result, T1, W, N), VECT_VAR(result_bis, T1, W, N), \ in FNNAME() 62 sizeof(VECT_VAR(result, T1, W, N))); in FNNAME() 66 memcpy(VECT_VAR(result, T1, W, N), &(VECT_VAR(result_bis, T1, W, N)[X*N]), \ in FNNAME() 67 sizeof(VECT_VAR(result, T1, W, N))); in FNNAME()
|
D | ref_vqdmlal_n.c | 47 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W, N)); \ in FNNAME() 48 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 49 INSN##_##T2##W2(VECT_VAR(vector, T1, W, N), \ in FNNAME() 50 VECT_VAR(vector3, T1, W2, N), \ in FNNAME() 52 vst1q_##T2##W(VECT_VAR(result, T1, W, N), \ in FNNAME() 53 VECT_VAR(vector_res, T1, W, N)); \ in FNNAME()
|
D | ref_vldX_lane.c | 49 memset (VECT_VAR(buffer_src, T1, W, N), 0xAA, \ in exec_vldX_lane() 50 sizeof(VECT_VAR(buffer_src, T1, W, N))); \ in exec_vldX_lane() 53 vld##X##Q##_##T2##W(VECT_VAR(buffer_src, T1, W, N)); \ in exec_vldX_lane() 57 vld##X##Q##_lane_##T2##W(VECT_VAR(buffer_vld##X##_lane, T1, W, X), \ in exec_vldX_lane() 60 vst##X##Q##_##T2##W(VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vldX_lane() 62 memcpy(VECT_VAR(result, T1, W, N), VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vldX_lane() 63 sizeof(VECT_VAR(result, T1, W, N))) in exec_vldX_lane() 67 memcpy(VECT_VAR(result, T1, W, N), \ in exec_vldX_lane() 68 &(VECT_VAR(result_bis_##X, T1, W, N)[Y*N]), \ in exec_vldX_lane() 69 sizeof(VECT_VAR(result, T1, W, N))); in exec_vldX_lane()
|
D | ref_vqdmull.c | 43 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W2, N)); \ in FNNAME() 44 VECT_VAR(vector_res, T1, W2, N) = \ in FNNAME() 45 INSN##_##T2##W(VECT_VAR(vector, T1, W, N), \ in FNNAME() 46 VECT_VAR(vector2, T1, W, N)); \ in FNNAME() 47 vst1q_##T2##W2(VECT_VAR(result, T1, W2, N), \ in FNNAME() 48 VECT_VAR(vector_res, T1, W2, N)); \ in FNNAME()
|
D | ref_vldX_dup.c | 49 vld##X##Q##_dup_##T2##W(&VECT_VAR(buffer_dup, T1, W, N)[0]); \ in exec_vldX_dup() 51 vst##X##Q##_##T2##W(VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vldX_dup() 53 memcpy(VECT_VAR(result, T1, W, N), VECT_VAR(result_bis_##X, T1, W, N), \ in exec_vldX_dup() 54 sizeof(VECT_VAR(result, T1, W, N))); in exec_vldX_dup() 59 memcpy(VECT_VAR(result, T1, W, N), \ in exec_vldX_dup() 60 &(VECT_VAR(result_bis_##X, T1, W, N)[Y*N]), \ in exec_vldX_dup() 61 sizeof(VECT_VAR(result, T1, W, N))); in exec_vldX_dup()
|
D | ref_vqdmull_lane.c | 45 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W2, N)); \ in FNNAME() 46 VECT_VAR(vector_res, T1, W2, N) = \ in FNNAME() 47 INSN##_lane_##T2##W(VECT_VAR(vector, T1, W, N), \ in FNNAME() 48 VECT_VAR(vector2, T1, W, N), \ in FNNAME() 50 vst1q_##T2##W2(VECT_VAR(result, T1, W2, N), \ in FNNAME() 51 VECT_VAR(vector_res, T1, W2, N)); \ in FNNAME()
|
D | ref_vmlal_lane.c | 47 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 48 INSN##_##T2##W2(VECT_VAR(vector, T1, W, N), \ in FNNAME() 49 VECT_VAR(vector3, T1, W2, N), \ in FNNAME() 50 VECT_VAR(vector4, T1, W2, N), \ in FNNAME() 52 vst1q_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector_res, T1, W, N)) in FNNAME()
|
D | ref_vmull_lane.c | 39 VECT_VAR(vector_res, T1, W2, N) = \ in exec_vmull_lane() 40 vmull##_lane_##T2##W(VECT_VAR(vector, T1, W, N), \ in exec_vmull_lane() 41 VECT_VAR(vector2, T1, W, N), \ in exec_vmull_lane() 43 vst1q_##T2##W2(VECT_VAR(result, T1, W2, N), VECT_VAR(vector_res, T1, W2, N)) in exec_vmull_lane()
|
D | ref_vqdmulh_lane.c | 43 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W, N)); \ in FNNAME() 44 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 45 INSN##Q##_lane_##T2##W(VECT_VAR(vector, T1, W, N), \ in FNNAME() 46 VECT_VAR(vector2, T1, W, N2), \ in FNNAME() 48 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \ in FNNAME() 49 VECT_VAR(vector_res, T1, W, N)); \ in FNNAME()
|
D | ref_vmull.c | 39 VECT_VAR(vector_res, T1, W2, N) = \ in exec_vmull() 40 vmull_##T2##W(VECT_VAR(vector, T1, W, N), \ in exec_vmull() 41 VECT_VAR(vector, T1, W, N)); \ in exec_vmull() 42 vst1q_##T2##W2(VECT_VAR(result, T1, W2, N), VECT_VAR(vector_res, T1, W2, N)) in exec_vmull()
|
D | ref_vbsl.c | 39 VECT_VAR(vector_res, T1, W, N) = \ in exec_vbsl() 40 vbsl##Q##_##T2##W(VECT_VAR(vector_first, T3, W, N), \ in exec_vbsl() 41 VECT_VAR(vector, T1, W, N), \ in exec_vbsl() 42 VECT_VAR(vector2, T1, W, N)); \ in exec_vbsl() 43 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector_res, T1, W, N)) in exec_vbsl()
|
D | ref_vqdmulh.c | 44 Set_Neon_Cumulative_Sat(0, VECT_VAR(vector_res, T1, W, N)); \ in FNNAME() 45 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 46 INSN##Q##_##T2##W(VECT_VAR(vector, T1, W, N), \ in FNNAME() 47 VECT_VAR(vector2, T1, W, N)); \ in FNNAME() 48 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), \ in FNNAME() 49 VECT_VAR(vector_res, T1, W, N)); \ in FNNAME()
|
D | expected_input4gcc-nofp16.txt | 339 int VECT_VAR(expected_cumulative_sat,int,32,4) = 0; 340 int VECT_VAR(expected_cumulative_sat,int,64,2) = 0; 365 int VECT_VAR(expected_cumulative_sat,int,32,4) = 0; 366 int VECT_VAR(expected_cumulative_sat,int,64,2) = 0; 391 int VECT_VAR(expected_cumulative_sat,int,32,4) = 1; 392 int VECT_VAR(expected_cumulative_sat,int,64,2) = 1; 417 int VECT_VAR(expected_cumulative_sat,int,32,4) = 0; 418 int VECT_VAR(expected_cumulative_sat,int,64,2) = 0; 443 int VECT_VAR(expected_cumulative_sat,int,32,4) = 0; 444 int VECT_VAR(expected_cumulative_sat,int,64,2) = 0; [all …]
|
D | ref_vabdl.c | 39 VECT_VAR(vector_res, T1, W2, N) = \ in exec_vabdl() 40 vabdl_##T2##W(VECT_VAR(vector1, T1, W, N), \ in exec_vabdl() 41 VECT_VAR(vector2, T1, W, N)); \ in exec_vabdl() 42 vst1q_##T2##W2(VECT_VAR(result, T1, W2, N), VECT_VAR(vector_res, T1, W2, N)) in exec_vabdl()
|
D | ref_v_binary_op.c | 43 VECT_VAR(vector_res, T1, W, N) = \ in FNNAME() 44 INSN##Q##_##T2##W(VECT_VAR(vector, T1, W, N), \ in FNNAME() 45 VECT_VAR(vector2, T1, W, N)); \ in FNNAME() 46 vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector_res, T1, W, N)) in FNNAME()
|