/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | test_absdiff.cpp | 27 const cl_char *inA = (const cl_char *)p; in verify_absdiff_char() local 33 cl_uchar r = inA[i] - inB[i]; in verify_absdiff_char() 34 if( inB[i] > inA[i] ) in verify_absdiff_char() 35 r = inB[i] - inA[i]; in verify_absdiff_char() 37 …(char%s) 0x%2.2x, (char%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_absdiff_char() 44 const cl_uchar *inA = (const cl_uchar *)p; in verify_absdiff_uchar() local 50 cl_uchar r = inA[i] - inB[i]; in verify_absdiff_uchar() 51 if( inB[i] > inA[i] ) in verify_absdiff_uchar() 52 r = inB[i] - inA[i]; in verify_absdiff_uchar() 54 …char%s) 0x%2.2x, (uchar%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_absdiff_uchar() [all …]
|
D | test_abs.cpp | 29 const cl_char *inA = (const cl_char*) p; in verify_abs_char() local 34 cl_uchar r = inA[i]; in verify_abs_char() 35 if( inA[i] < 0 ) in verify_abs_char() 36 r = -inA[i]; in verify_abs_char() 38 … Failure for abs( (char%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i],r, outptr[i] ); … in verify_abs_char() 46 const cl_short *inA = (const cl_short*) p; in verify_abs_short() local 51 cl_ushort r = inA[i]; in verify_abs_short() 52 if( inA[i] < 0 ) in verify_abs_short() 53 r = -inA[i]; in verify_abs_short() 55 …Failure for abs( (short%s) 0x%4.4x) = *0x%4.4x vs 0x%4.4x\n", i, sizeName, inA[i],r, outptr[i] ); … in verify_abs_short() [all …]
|
D | test_add_sat.cpp | 37 static int verify_addsat_char( const cl_char *inA, const cl_char *inB, const cl_char *outptr, int n… in verify_addsat_char() argument 42 cl_int r = (cl_int) inA[i] + (cl_int) inB[i]; in verify_addsat_char() 47 …(char%s) 0x%2.2x, (char%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_addsat_char() 52 static int verify_addsat_uchar( const cl_uchar *inA, const cl_uchar *inB, const cl_uchar *outptr, i… in verify_addsat_uchar() argument 57 cl_int r = (int) inA[i] + (int) inB[i]; in verify_addsat_uchar() 61 …char%s) 0x%2.2x, (uchar%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_addsat_uchar() 66 static int verify_addsat_short( const cl_short *inA, const cl_short *inB, const cl_short *outptr, i… in verify_addsat_short() argument 71 cl_int r = (cl_int) inA[i] + (cl_int) inB[i]; in verify_addsat_short() 76 …hort%s) 0x%4.4x, (short%s) 0x%4.4x) = *0x%4.4x vs 0x%4.4x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_addsat_short() 81 static int verify_addsat_ushort( const cl_ushort *inA, const cl_ushort *inB, const cl_ushort *outpt… in verify_addsat_ushort() argument [all …]
|
D | test_sub_sat.cpp | 38 static int verify_subsat_char( const cl_char *inA, const cl_char *inB, const cl_char *outptr, int n… in verify_subsat_char() argument 43 cl_int r = (cl_int) inA[i] - (cl_int) inB[i]; in verify_subsat_char() 48 …(char%s) 0x%2.2x, (char%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_subsat_char() 53 static int verify_subsat_uchar( const cl_uchar *inA, const cl_uchar *inB, const cl_uchar *outptr, i… in verify_subsat_uchar() argument 58 cl_int r = (cl_int) inA[i] - (cl_int) inB[i]; in verify_subsat_uchar() 62 …char%s) 0x%2.2x, (uchar%s) 0x%2.2x) = *0x%2.2x vs 0x%2.2x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_subsat_uchar() 67 static int verify_subsat_short( const cl_short *inA, const cl_short *inB, const cl_short *outptr, i… in verify_subsat_short() argument 72 cl_int r = (cl_int) inA[i] - (cl_int) inB[i]; in verify_subsat_short() 77 …hort%s) 0x%4.4x, (short%s) 0x%4.4x) = *0x%4.4x vs 0x%4.4x\n", i, sizeName, inA[i], sizeName, inB[i… in verify_subsat_short() 82 static int verify_subsat_ushort( const cl_ushort *inA, const cl_ushort *inB, const cl_ushort *outpt… in verify_subsat_ushort() argument [all …]
|
D | test_integers.cpp | 722 char *inA = (char *)inDataA; in test_two_param_integer_kernel() local 729 bool test = verifyFn( inA, inB, &expected, vecAType ); in test_two_param_integer_kernel() 737 *( (cl_uchar *)inA ), in test_two_param_integer_kernel() 745 *( (cl_ushort *)inA ), in test_two_param_integer_kernel() 753 *( (cl_uint *)inA ), in test_two_param_integer_kernel() 760 *( (cl_ulong *)inA ), in test_two_param_integer_kernel() 766 inA += get_explicit_type_size( vecAType ); in test_two_param_integer_kernel() 1387 char *inA = (char *)inDataA; in test_three_param_integer_kernel() local 1395 … bool test = verifyFn( inA, inB, inC, &expected, vecAType, vecBType, vecCType, destType ); in test_three_param_integer_kernel() 1403 *( (cl_uchar *)inA ), in test_three_param_integer_kernel() [all …]
|
D | test_popcount.cpp | 42 const __T *inA = (const __T *) p; \ 49 __T x = inA[i]; \
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | sub.ll | 81 define void @v_sub_i64(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %inA, i64 addrspac… 83 %a_ptr = getelementptr i64, i64 addrspace(1)* %inA, i32 %tid 97 define void @v_test_sub_v2i64(<2 x i64> addrspace(1)* %out, <2 x i64> addrspace(1)* noalias %inA, <… 99 %a_ptr = getelementptr <2 x i64>, <2 x i64> addrspace(1)* %inA, i32 %tid 117 define void @v_test_sub_v4i64(<4 x i64> addrspace(1)* %out, <4 x i64> addrspace(1)* noalias %inA, <… 119 %a_ptr = getelementptr <4 x i64>, <4 x i64> addrspace(1)* %inA, i32 %tid
|
D | add_i64.ll | 9 define void @test_i64_vreg(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %inA, i64 addr… 11 %a_ptr = getelementptr i64, i64 addrspace(1)* %inA, i32 %tid 61 …reg(<2 x i64> addrspace(1)* noalias %out, <2 x i64> addrspace(1)* noalias %inA, <2 x i64> addrspac… 63 %a_ptr = getelementptr <2 x i64>, <2 x i64> addrspace(1)* %inA, i32 %tid
|
D | array-ptr-calc-i64.ll | 10 …r_calc(i32 addrspace(1)* noalias %out, [1025 x i32] addrspace(1)* noalias %inA, i32 addrspace(1)* … 13 %a_ptr = getelementptr [1025 x i32], [1025 x i32] addrspace(1)* %inA, i32 %tid, i32 0
|
D | array-ptr-calc-i32.ll | 31 …_array_ptr_calc(i32 addrspace(1)* noalias %out, i32 addrspace(1)* noalias %inA, i32 addrspace(1)* … 35 %a_ptr = getelementptr inbounds i32, i32 addrspace(1)* %inA, i32 %tid
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | add_i64.ll | 9 … @test_i64_vreg(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %inA, i64 addrspace(1)* … 11 %a_ptr = getelementptr i64, i64 addrspace(1)* %inA, i32 %tid 61 …reg(<2 x i64> addrspace(1)* noalias %out, <2 x i64> addrspace(1)* noalias %inA, <2 x i64> addrspac… 63 %a_ptr = getelementptr <2 x i64>, <2 x i64> addrspace(1)* %inA, i32 %tid
|
D | r600.sub.ll | 119 define amdgpu_kernel void @v_sub_i64(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %inA… 121 %a_ptr = getelementptr i64, i64 addrspace(1)* %inA, i32 %tid 131 …t_sub_v2i64(<2 x i64> addrspace(1)* %out, <2 x i64> addrspace(1)* noalias %inA, <2 x i64> addrspac… 133 %a_ptr = getelementptr <2 x i64>, <2 x i64> addrspace(1)* %inA, i32 %tid 143 …t_sub_v4i64(<4 x i64> addrspace(1)* %out, <4 x i64> addrspace(1)* noalias %inA, <4 x i64> addrspac… 145 %a_ptr = getelementptr <4 x i64>, <4 x i64> addrspace(1)* %inA, i32 %tid
|
D | array-ptr-calc-i64.ll | 10 …r_calc(i32 addrspace(1)* noalias %out, [1025 x i32] addrspace(1)* noalias %inA, i32 addrspace(1)* … 13 %a_ptr = getelementptr [1025 x i32], [1025 x i32] addrspace(1)* %inA, i32 %tid, i32 0
|
D | sub.ll | 149 define amdgpu_kernel void @v_sub_i64(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %inA… 151 %a_ptr = getelementptr i64, i64 addrspace(1)* %inA, i32 %tid 175 …t_sub_v2i64(<2 x i64> addrspace(1)* %out, <2 x i64> addrspace(1)* noalias %inA, <2 x i64> addrspac… 177 %a_ptr = getelementptr <2 x i64>, <2 x i64> addrspace(1)* %inA, i32 %tid 213 …t_sub_v4i64(<4 x i64> addrspace(1)* %out, <4 x i64> addrspace(1)* noalias %inA, <4 x i64> addrspac… 215 %a_ptr = getelementptr <4 x i64>, <4 x i64> addrspace(1)* %inA, i32 %tid
|
D | add_i128.ll | 9 …est_i128_vreg(i128 addrspace(1)* noalias %out, i128 addrspace(1)* noalias %inA, i128 addrspace(1)*… 11 %a_ptr = getelementptr i128, i128 addrspace(1)* %inA, i32 %tid
|
D | array-ptr-calc-i32.ll | 27 …_array_ptr_calc(i32 addrspace(1)* noalias %out, i32 addrspace(1)* noalias %inA, i32 addrspace(1)* … 31 %a_ptr = getelementptr inbounds i32, i32 addrspace(1)* %inA, i32 %tid
|
/external/webp/src/dsp/ |
D | enc_sse41.c | 73 static int TTransform_SSE41(const uint8_t* inA, const uint8_t* inB, in TTransform_SSE41() argument 80 const __m128i inA_0 = _mm_loadu_si128((const __m128i*)&inA[BPS * 0]); in TTransform_SSE41() 81 const __m128i inA_1 = _mm_loadu_si128((const __m128i*)&inA[BPS * 1]); in TTransform_SSE41() 82 const __m128i inA_2 = _mm_loadu_si128((const __m128i*)&inA[BPS * 2]); in TTransform_SSE41() 87 const __m128i inA_3 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 3]); in TTransform_SSE41()
|
D | enc_sse2.c | 1097 static int TTransform_SSE2(const uint8_t* inA, const uint8_t* inB, in TTransform_SSE2() argument 1105 const __m128i inA_0 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 0]); in TTransform_SSE2() 1106 const __m128i inA_1 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 1]); in TTransform_SSE2() 1107 const __m128i inA_2 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 2]); in TTransform_SSE2() 1108 const __m128i inA_3 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 3]); in TTransform_SSE2()
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_build_options.cpp | 306 …( cl_context context, cl_command_queue queue, cl_program program, cl_float inA, cl_float inB, cl_f… in get_float_result_from_program() argument 317 error = clSetKernelArg( kernel, 0, sizeof( cl_float ), &inA ); in get_float_result_from_program()
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | inv_txfm_vsx.c | 427 #define IDCT16(in0, in1, in2, in3, in4, in5, in6, in7, in8, in9, inA, inB, \ argument 436 out5 = inA; \ 460 STEP8_0(outA, outD, inA, inD, cospi22_v, cospi10_v); \ 474 outA = vec_sub(inB, inA); \ 475 outB = vec_add(inA, inB); \ 512 inA = vec_packs(temp10, temp11); \ 532 out9 = vec_add(in9, inA); \ 533 outA = vec_sub(in9, inA); \ 551 STEP16_1(outD, outA, inA, inD, cospi16_v); \ 562 out5 = vec_add(in5, inA); \ [all …]
|
/external/skia/tests/ |
D | SkSLInterpreterTest.cpp | 112 float inR, float inG, float inB, float inA, in test() argument 125 p.eval(1, &inR, &inG, &inB, &inA); in test() 127 float actual[4] = { inR, inG, inB, inA }; in test()
|
/external/OpenCL-CTS/test_conformance/relationals/ |
D | test_relationals.cpp | 491 …char *inA = (char *)inDataA, *inB = (char *)inDataB, *inT = (char *)inDataTest, *out = (char *)out… in bitselect_verify_fn() local 497 out[ i ] = ( inA[ i ] & ~inT[ i ] ) | ( inB[ i ] & inT[ i ] ); in bitselect_verify_fn()
|