Home
last modified time | relevance | path

Searched refs:vsum (Results 1 – 13 of 13) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_sse2.c26 __m128i vsum = _mm_setzero_si128(); in vpx_get_mb_ss_sse2() local
31 vsum = _mm_add_epi32(vsum, _mm_madd_epi16(v, v)); in vpx_get_mb_ss_sse2()
35 return add32x4_sse2(vsum); in vpx_get_mb_ss_sse2()
56 static INLINE void variance_final_128_pel_sse2(__m128i vsse, __m128i vsum, in variance_final_128_pel_sse2() argument
61 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in variance_final_128_pel_sse2()
62 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 4)); in variance_final_128_pel_sse2()
63 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 2)); in variance_final_128_pel_sse2()
64 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in variance_final_128_pel_sse2()
68 static INLINE void variance_final_256_pel_sse2(__m128i vsse, __m128i vsum, in variance_final_256_pel_sse2() argument
73 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in variance_final_256_pel_sse2()
[all …]
Dvariance_avx2.c62 __m128i vsum, in variance_final_from_32bit_sum_avx2() argument
70 const __m128i sse_sum_lo = _mm_unpacklo_epi32(sse_reg_128, vsum); in variance_final_from_32bit_sum_avx2()
71 const __m128i sse_sum_hi = _mm_unpackhi_epi32(sse_reg_128, vsum); in variance_final_from_32bit_sum_avx2()
81 __m256i vsum, in variance_final_from_16bit_sum_avx2() argument
85 const __m128i sum_reg_128 = _mm_add_epi16(_mm256_castsi256_si128(vsum), in variance_final_from_16bit_sum_avx2()
86 _mm256_extractf128_si256(vsum, 1)); in variance_final_from_16bit_sum_avx2()
125 __m256i *const vsum) { in variance16_avx2() argument
127 *vsum = _mm256_setzero_si256(); in variance16_avx2()
131 variance16_kernel_avx2(src, src_stride, ref, ref_stride, vsse, vsum); in variance16_avx2()
140 __m256i *const vsum) { in variance32_avx2() argument
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c29 __m128i vsum = _mm_setzero_si128(); in aom_get_mb_ss_sse2() local
34 vsum = _mm_add_epi32(vsum, _mm_madd_epi16(v, v)); in aom_get_mb_ss_sse2()
38 vsum = _mm_add_epi32(vsum, _mm_srli_si128(vsum, 8)); in aom_get_mb_ss_sse2()
39 vsum = _mm_add_epi32(vsum, _mm_srli_si128(vsum, 4)); in aom_get_mb_ss_sse2()
40 return _mm_cvtsi128_si32(vsum); in aom_get_mb_ss_sse2()
79 static INLINE void variance_final_128_pel_sse2(__m128i vsse, __m128i vsum, in variance_final_128_pel_sse2() argument
84 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in variance_final_128_pel_sse2()
85 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 4)); in variance_final_128_pel_sse2()
86 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 2)); in variance_final_128_pel_sse2()
87 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in variance_final_128_pel_sse2()
[all …]
Dvariance_avx2.c48 static INLINE int variance_final_from_32bit_sum_avx2(__m256i vsse, __m128i vsum, in variance_final_from_32bit_sum_avx2() argument
54 const __m128i sse_sum_lo = _mm_unpacklo_epi32(sse_reg_128, vsum); in variance_final_from_32bit_sum_avx2()
55 const __m128i sse_sum_hi = _mm_unpackhi_epi32(sse_reg_128, vsum); in variance_final_from_32bit_sum_avx2()
65 static INLINE int variance_final_512_avx2(__m256i vsse, __m256i vsum, in variance_final_512_avx2() argument
68 const __m128i vsum_128 = mm256_add_hi_lo_epi16(vsum); in variance_final_512_avx2()
75 static INLINE int variance_final_1024_avx2(__m256i vsse, __m256i vsum, in variance_final_1024_avx2() argument
78 const __m128i vsum_128 = mm256_add_hi_lo_epi16(vsum); in variance_final_1024_avx2()
93 static INLINE int variance_final_2048_avx2(__m256i vsse, __m256i vsum, in variance_final_2048_avx2() argument
95 vsum = sum_to_32bit_avx2(vsum); in variance_final_2048_avx2()
96 const __m128i vsum_128 = mm256_add_hi_lo_epi32(vsum); in variance_final_2048_avx2()
[all …]
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc24 __m128i vsum = _mm_setzero_si128(); in Get8x8varSse2() local
40 vsum = _mm_add_epi16(vsum, diff0); in Get8x8varSse2()
41 vsum = _mm_add_epi16(vsum, diff1); in Get8x8varSse2()
47 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in Get8x8varSse2()
48 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 4)); in Get8x8varSse2()
49 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 2)); in Get8x8varSse2()
50 *sum = static_cast<int16_t>(_mm_extract_epi16(vsum, 0)); in Get8x8varSse2()
/external/u-boot/cmd/
Dmd5sum.c42 static int parse_verify_sum(char *verify_str, u8 *vsum) in parse_verify_sum() argument
48 memcpy(vsum, ptr, 16); in parse_verify_sum()
66 *(u8 *)(vsum + i) = in parse_verify_sum()
79 u8 vsum[16]; in do_md5sum() local
116 if (parse_verify_sum(verify_str, vsum)) { in do_md5sum()
121 if (memcmp(output, vsum, 16) != 0) { in do_md5sum()
128 printf("%02x", vsum[i]); in do_md5sum()
/external/libmpeg2/common/x86/
Dicv_variance_ssse3.c94 __m128i vsum, vsum_sqr; in icv_variance_8x4_ssse3() local
128 vsum = _mm_add_epi64(sum_r0, sum_r1); in icv_variance_8x4_ssse3()
129 vsum = _mm_add_epi64(vsum, _mm_srli_si128(vsum, 8)); in icv_variance_8x4_ssse3()
131 sum = _mm_cvtsi128_si32(vsum); in icv_variance_8x4_ssse3()
/external/u-boot/common/
Dhash.c326 uint8_t *vsum, int allow_env_vars) in parse_verify_sum() argument
344 memcpy(vsum, buf, algo->digest_size); in parse_verify_sum()
365 hash_parse_string(algo->name, vsum_str, vsum); in parse_verify_sum()
393 uint8_t vsum[HASH_MAX_DIGEST_SIZE]; local
421 if (parse_verify_sum(algo, *argv, vsum,
427 if (memcmp(output, vsum, algo->digest_size) != 0) {
433 printf("%02x", vsum[i]);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Daddcarry2.ll233 %vsum = add i8 %vx, %cc_off
234 store i8 %vsum, i8* %x
262 %vsum = add i16 %vx, %cc_off
263 store i16 %vsum, i16* %x
293 %vsum = add i16 %vx, %cc_off
294 store i16 %vsum, i16* %x
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/SystemZ/
Dinsn-good-z13.s6338 #CHECK: vsum %v0, %v0, %v0, 0 # encoding: [0xe7,0x00,0x00,0x00,0x00,0x64]
6339 #CHECK: vsum %v0, %v0, %v0, 15 # encoding: [0xe7,0x00,0x00,0x00,0xf0,0x64]
6340 #CHECK: vsum %v0, %v0, %v31, 0 # encoding: [0xe7,0x00,0xf0,0x00,0x02,0x64]
6341 #CHECK: vsum %v0, %v31, %v0, 0 # encoding: [0xe7,0x0f,0x00,0x00,0x04,0x64]
6342 #CHECK: vsum %v31, %v0, %v0, 0 # encoding: [0xe7,0xf0,0x00,0x00,0x08,0x64]
6343 #CHECK: vsum %v18, %v3, %v20, 11 # encoding: [0xe7,0x23,0x40,0x00,0xba,0x64]
6345 vsum %v0, %v0, %v0, 0
6346 vsum %v0, %v0, %v0, 15
6347 vsum %v0, %v0, %v31, 0
6348 vsum %v0, %v31, %v0, 0
[all …]
/external/v8/src/s390/
Dconstants-s390.h522 V(vsum, VSUM, 0xE764) /* type = VRR_C VECTOR SUM ACROSS WORD */ \
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Disassembler/SystemZ/
Dinsns-z13.txt4256 # CHECK: vsum %v0, %v0, %v0, 11
4259 # CHECK: vsum %v18, %v3, %v20, 11
4262 # CHECK: vsum %v31, %v31, %v31, 11
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZInstrVector.td758 def VSUM : BinaryVRRcGeneric<"vsum", 0xE764>;