Home
last modified time | relevance | path

Searched refs:__m128i (Results 1 – 23 of 23) sorted by relevance

/external/webp/src/enc/
Ddsp_sse2.c30 const __m128i max_coeff_thresh = _mm_set1_epi16(MAX_COEFF_THRESH); in CollectHistogramSSE2()
37 const __m128i out0 = _mm_loadu_si128((__m128i*)&out[0]); in CollectHistogramSSE2()
38 const __m128i out1 = _mm_loadu_si128((__m128i*)&out[8]); in CollectHistogramSSE2()
40 const __m128i sign0 = _mm_srai_epi16(out0, 15); in CollectHistogramSSE2()
41 const __m128i sign1 = _mm_srai_epi16(out1, 15); in CollectHistogramSSE2()
43 const __m128i xor0 = _mm_xor_si128(out0, sign0); in CollectHistogramSSE2()
44 const __m128i xor1 = _mm_xor_si128(out1, sign1); in CollectHistogramSSE2()
45 const __m128i abs0 = _mm_sub_epi16(xor0, sign0); in CollectHistogramSSE2()
46 const __m128i abs1 = _mm_sub_epi16(xor1, sign1); in CollectHistogramSSE2()
48 const __m128i v0 = _mm_srai_epi16(abs0, 2); in CollectHistogramSSE2()
[all …]
/external/clang/lib/Headers/
Demmintrin.h34 typedef long long __m128i __attribute__((__vector_size__(16))); typedef
372 _mm_cvtepi32_pd(__m128i a) in _mm_cvtepi32_pd()
377 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
410 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
413 return (__m128i)__builtin_ia32_cvttpd2dq(a); in _mm_cvttpd_epi32()
573 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
574 _mm_add_epi8(__m128i a, __m128i b) in _mm_add_epi8()
576 return (__m128i)((__v16qi)a + (__v16qi)b); in _mm_add_epi8()
579 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
580 _mm_add_epi16(__m128i a, __m128i b) in _mm_add_epi16()
[all …]
Dsmmintrin.h92 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
93 _mm_blendv_epi8 (__m128i __V1, __m128i __V2, __m128i __M) in _mm_blendv_epi8()
95 return (__m128i) __builtin_ia32_pblendvb128 ((__v16qi)__V1, (__v16qi)__V2, in _mm_blendv_epi8()
99 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
100 _mm_blend_epi16 (__m128i __V1, __m128i __V2, const int __M) in _mm_blend_epi16()
102 return (__m128i) __builtin_ia32_pblendw128 ((__v8hi)__V1, (__v8hi)__V2, __M); in _mm_blend_epi16()
106 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
107 _mm_mullo_epi32 (__m128i __V1, __m128i __V2) in _mm_mullo_epi32()
109 return (__m128i) ((__v4si)__V1 * (__v4si)__V2); in _mm_mullo_epi32()
112 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
[all …]
Dtmmintrin.h39 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
40 _mm_abs_epi8(__m128i a) in _mm_abs_epi8()
42 return (__m128i)__builtin_ia32_pabsb128((__v16qi)a); in _mm_abs_epi8()
51 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
52 _mm_abs_epi16(__m128i a) in _mm_abs_epi16()
54 return (__m128i)__builtin_ia32_pabsw128((__v8hi)a); in _mm_abs_epi16()
63 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
64 _mm_abs_epi32(__m128i a) in _mm_abs_epi32()
66 return (__m128i)__builtin_ia32_pabsd128((__v4si)a); in _mm_abs_epi32()
72 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
[all …]
Dwmmintrin.h33 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
34 _mm_aesenc_si128(__m128i __V, __m128i __R) in _mm_aesenc_si128()
36 return (__m128i)__builtin_ia32_aesenc128(__V, __R); in _mm_aesenc_si128()
39 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
40 _mm_aesenclast_si128(__m128i __V, __m128i __R) in _mm_aesenclast_si128()
42 return (__m128i)__builtin_ia32_aesenclast128(__V, __R); in _mm_aesenclast_si128()
45 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
46 _mm_aesdec_si128(__m128i __V, __m128i __R) in _mm_aesdec_si128()
48 return (__m128i)__builtin_ia32_aesdec128(__V, __R); in _mm_aesdec_si128()
51 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
[all …]
Dpmmintrin.h33 static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
34 _mm_lddqu_si128(__m128i const *p) in _mm_lddqu_si128()
36 return (__m128i)__builtin_ia32_lddqu((char const *)p); in _mm_lddqu_si128()
Davxintrin.h241 _mm_permutevar_pd(__m128d a, __m128i c) in _mm_permutevar_pd()
253 _mm_permutevar_ps(__m128 a, __m128i c) in _mm_permutevar_ps()
419 static __inline __m128i __attribute__((__always_inline__, __nodebug__))
422 return (__m128i)__builtin_ia32_vextractf128_si256((__v8si)a, o); in _mm256_extractf128_si256()
469 _mm256_insertf128_si256(__m256i a, __m128i b, const int o) in _mm256_insertf128_si256()
510 _mm256_cvtepi32_pd(__m128i a) in _mm256_cvtepi32_pd()
539 static __inline __m128i __attribute__((__always_inline__, __nodebug__))
542 return (__m128i)__builtin_ia32_cvttpd2dq256((__v4df) a); in _mm256_cvttpd_epi32()
545 static __inline __m128i __attribute__((__always_inline__, __nodebug__))
548 return (__m128i)__builtin_ia32_cvtpd2dq256((__v4df) a); in _mm256_cvtpd_epi32()
[all …]
/external/webp/src/dec/
Ddsp_sse2.c42 const __m128i k1 = _mm_set1_epi16(20091); in TransformSSE2()
43 const __m128i k2 = _mm_set1_epi16(-30068); in TransformSSE2()
44 __m128i T0, T1, T2, T3; in TransformSSE2()
49 __m128i in0, in1, in2, in3; in TransformSSE2()
51 in0 = _mm_loadl_epi64((__m128i*)&in[0]); in TransformSSE2()
52 in1 = _mm_loadl_epi64((__m128i*)&in[4]); in TransformSSE2()
53 in2 = _mm_loadl_epi64((__m128i*)&in[8]); in TransformSSE2()
54 in3 = _mm_loadl_epi64((__m128i*)&in[12]); in TransformSSE2()
60 const __m128i inB0 = _mm_loadl_epi64((__m128i*)&in[16]); in TransformSSE2()
61 const __m128i inB1 = _mm_loadl_epi64((__m128i*)&in[20]); in TransformSSE2()
[all …]
Dio_sse2.c41 const __m128i tmp0 = _mm_avg_epu8(k, (in)); /* (k + in + 1) / 2 */ \
42 const __m128i tmp1 = _mm_and_si128((ij), st); /* (ij) & (s^t) */ \
43 const __m128i tmp2 = _mm_xor_si128(k, (in)); /* (k^in) */ \
44 const __m128i tmp3 = _mm_or_si128(tmp1, tmp2); /* ((ij) & (s^t)) | (k^in) */\
45 const __m128i tmp4 = _mm_and_si128(tmp3, one); /* & 1 -> lsb_correction */ \
51 const __m128i ta = _mm_avg_epu8(a, da); /* (9a + 3b + 3c + d + 8) / 16 */ \
52 const __m128i tb = _mm_avg_epu8(b, db); /* (3a + 9b + c + 3d + 8) / 16 */ \
53 const __m128i t1 = _mm_unpacklo_epi8(ta, tb); \
54 const __m128i t2 = _mm_unpackhi_epi8(ta, tb); \
55 _mm_store_si128(((__m128i*)(out)) + 0, t1); \
[all …]
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp47 const __m128i *s = reinterpret_cast<const __m128i*>(src); in S32_Blend_BlitRow32_SSE2()
48 __m128i *d = reinterpret_cast<__m128i*>(dst); in S32_Blend_BlitRow32_SSE2()
49 __m128i rb_mask = _mm_set1_epi32(0x00FF00FF); in S32_Blend_BlitRow32_SSE2()
50 __m128i src_scale_wide = _mm_set1_epi16(src_scale); in S32_Blend_BlitRow32_SSE2()
51 __m128i dst_scale_wide = _mm_set1_epi16(dst_scale); in S32_Blend_BlitRow32_SSE2()
54 __m128i src_pixel = _mm_loadu_si128(s); in S32_Blend_BlitRow32_SSE2()
55 __m128i dst_pixel = _mm_load_si128(d); in S32_Blend_BlitRow32_SSE2()
58 __m128i dst_rb = _mm_and_si128(rb_mask, dst_pixel); in S32_Blend_BlitRow32_SSE2()
59 __m128i src_rb = _mm_and_si128(rb_mask, src_pixel); in S32_Blend_BlitRow32_SSE2()
62 __m128i dst_ag = _mm_srli_epi16(dst_pixel, 8); in S32_Blend_BlitRow32_SSE2()
[all …]
DSkBitmapProcState_opts_SSE2.cpp39 __m128i sixteen = _mm_cvtsi32_si128(16); in S32_opaque_D32_filter_DX_SSE2()
45 __m128i allY = _mm_cvtsi32_si128(subY); in S32_opaque_D32_filter_DX_SSE2()
51 __m128i negY = _mm_sub_epi16(sixteen, allY); in S32_opaque_D32_filter_DX_SSE2()
60 __m128i zero = _mm_setzero_si128(); in S32_opaque_D32_filter_DX_SSE2()
67 __m128i allX = _mm_cvtsi32_si128((XX >> 14) & 0x0F); in S32_opaque_D32_filter_DX_SSE2()
76 __m128i negX = _mm_sub_epi16(sixteen, allX); in S32_opaque_D32_filter_DX_SSE2()
79 __m128i a00 = _mm_cvtsi32_si128(row0[x0]); in S32_opaque_D32_filter_DX_SSE2()
80 __m128i a01 = _mm_cvtsi32_si128(row0[x1]); in S32_opaque_D32_filter_DX_SSE2()
81 __m128i a10 = _mm_cvtsi32_si128(row1[x0]); in S32_opaque_D32_filter_DX_SSE2()
82 __m128i a11 = _mm_cvtsi32_si128(row1[x1]); in S32_opaque_D32_filter_DX_SSE2()
[all …]
DSkUtils_opts_SSE2.cpp33 __m128i *d = reinterpret_cast<__m128i*>(dst); in sk_memset16_SSE2()
34 __m128i value_wide = _mm_set1_epi16(value); in sk_memset16_SSE2()
62 __m128i *d = reinterpret_cast<__m128i*>(dst); in sk_memset32_SSE2()
63 __m128i value_wide = _mm_set1_epi32(value); in sk_memset32_SSE2()
/external/neven/Embedded/common/src/b_BasicEm/
DMathSSE2.c36 __m128i m_XMM0, m_XMM1, m_XMM2, m_XMM3, m_XMM4, m_XMM5, m_XMM6, m_XMM7, m_XMM8; in bbs_dotProduct_64SSE2()
55 m_XMM0 = _mm_loadl_epi64( (__m128i *)&0[vec1L] ); in bbs_dotProduct_64SSE2()
58 m_XMM1 = _mm_loadl_epi64( (__m128i *)&0[vec2L] ); in bbs_dotProduct_64SSE2()
61 m_XMM2 = _mm_loadl_epi64( (__m128i *)&4[vec1L] ); in bbs_dotProduct_64SSE2()
65 m_XMM3 = _mm_loadl_epi64( (__m128i *)&4[vec2L] ); in bbs_dotProduct_64SSE2()
66 m_XMM4 = _mm_loadl_epi64( (__m128i *)&8[vec1L] ); in bbs_dotProduct_64SSE2()
70 m_XMM5 = _mm_loadl_epi64( (__m128i *)&8[vec2L] ); in bbs_dotProduct_64SSE2()
74 m_XMM6 = _mm_loadl_epi64( (__m128i *)&12[vec1L] ); in bbs_dotProduct_64SSE2()
78 m_XMM8 = _mm_loadl_epi64( (__m128i *)&12[vec2L] ); in bbs_dotProduct_64SSE2()
93 m_XMM0 = _mm_loadl_epi64( (__m128i *)&m_XMM7 ); in bbs_dotProduct_64SSE2()
[all …]
/external/opencv/cv/src/
Dcvstereobm.cpp207 const __m128i d0_8 = _mm_setr_epi16(0,1,2,3,4,5,6,7), dd_8 = _mm_set1_epi16(8); in icvFindStereoCorrespondenceBM_SSE2()
264 __m128i lv = _mm_set1_epi8((char)lval), z = _mm_setzero_si128(); in icvFindStereoCorrespondenceBM_SSE2()
267 __m128i rv = _mm_loadu_si128((const __m128i*)(rptr + d)); in icvFindStereoCorrespondenceBM_SSE2()
268 __m128i hsad_l = _mm_load_si128((__m128i*)(hsad + d)); in icvFindStereoCorrespondenceBM_SSE2()
269 __m128i hsad_h = _mm_load_si128((__m128i*)(hsad + d + 8)); in icvFindStereoCorrespondenceBM_SSE2()
270 __m128i cbs = _mm_load_si128((const __m128i*)(cbuf_sub + d)); in icvFindStereoCorrespondenceBM_SSE2()
271 __m128i diff = _mm_adds_epu8(_mm_subs_epu8(lv, rv), _mm_subs_epu8(rv, lv)); in icvFindStereoCorrespondenceBM_SSE2()
272__m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z)); in icvFindStereoCorrespondenceBM_SSE2()
273 _mm_store_si128((__m128i*)(cbuf + d), diff); in icvFindStereoCorrespondenceBM_SSE2()
277 _mm_store_si128((__m128i*)(hsad + d), hsad_l); in icvFindStereoCorrespondenceBM_SSE2()
[all …]
Dcvimgwarp.cpp1806 __m128i br = _mm_set1_epi32((cols-2) + ((rows-2)<<16)); in icvRemapFixedPt_8u()
1807 __m128i xy2ofs = _mm_set1_epi32(1 + (sstep << 16)); in icvRemapFixedPt_8u()
1808 __m128i z = _mm_setzero_si128(); in icvRemapFixedPt_8u()
1838 __m128i xy0 = _mm_load_si128( (const __m128i*)(xy + x*2)); in icvRemapFixedPt_8u()
1839 __m128i xy1 = _mm_load_si128( (const __m128i*)(xy + x*2 + 8)); in icvRemapFixedPt_8u()
1841 __m128i mask0 = _mm_cmpeq_epi32(_mm_or_si128(_mm_cmpgt_epi16(z, xy0), in icvRemapFixedPt_8u()
1843 __m128i mask1 = _mm_cmpeq_epi32(_mm_or_si128(_mm_cmpgt_epi16(z, xy1), in icvRemapFixedPt_8u()
1845 __m128i ofs0 = _mm_and_si128(_mm_madd_epi16( xy0, xy2ofs ), mask0 ); in icvRemapFixedPt_8u()
1846 __m128i ofs1 = _mm_and_si128(_mm_madd_epi16( xy1, xy2ofs ), mask1 ); in icvRemapFixedPt_8u()
1848 __m128i v0, v1, v2, v3, a0, a1, b0, b1; in icvRemapFixedPt_8u()
[all …]
Dcvsmooth.cpp577 _mm_store_si128( (__m128i*) &y[0], _mm_add_epi16( in histogram_add()
578 _mm_load_si128((__m128i*) &y[0]), _mm_load_si128((__m128i*) &x[0] ))); in histogram_add()
579 _mm_store_si128( (__m128i*) &y[8], _mm_add_epi16( in histogram_add()
580 _mm_load_si128((__m128i*) &y[8]), _mm_load_si128((__m128i*) &x[8] ))); in histogram_add()
612 _mm_store_si128( (__m128i*) &y[0], _mm_sub_epi16( in histogram_sub()
613 _mm_load_si128((__m128i*) &y[0]), _mm_load_si128((__m128i*) &x[0] ))); in histogram_sub()
614 _mm_store_si128( (__m128i*) &y[8], _mm_sub_epi16( in histogram_sub()
615 _mm_load_si128((__m128i*) &y[8]), _mm_load_si128((__m128i*) &x[8] ))); in histogram_sub()
/external/clang/test/CodeGen/
Dvector.c48 unsigned long test_epi8(__m128i x) { return _mm_extract_epi8(x, 4); } in test_epi8()
53 unsigned long test_epi16(__m128i x) { return _mm_extract_epi16(x, 3); } in test_epi16()
/external/chromium/net/tools/flip_server/
Dbalsa_frame.cc570 __m128i header_bytes = in FindColonsAndParseIntoKeyValue()
571 _mm_loadu_si128(reinterpret_cast<const __m128i *>(current)); in FindColonsAndParseIntoKeyValue()
572 __m128i colon_cmp = in FindColonsAndParseIntoKeyValue()
573 _mm_cmpeq_epi8(header_bytes, reinterpret_cast<__m128i>(colons)); in FindColonsAndParseIntoKeyValue()
1026 __m128i msg_bytes = in ProcessHeaders()
1027 _mm_loadu_si128(const_cast<__m128i *>( in ProcessHeaders()
1028 reinterpret_cast<const __m128i *>(message_current))); in ProcessHeaders()
1029 __m128i newline_cmp = in ProcessHeaders()
1030 _mm_cmpeq_epi8(msg_bytes, reinterpret_cast<__m128i>(newlines)); in ProcessHeaders()
/external/clang/test/Sema/
Dx86-builtin-palignr.c11 __m128i white2; in test2()
/external/webrtc/src/modules/audio_processing/aec/main/source/
Daec_core_sse2.c255 const __m128 n_1 = (__m128)_mm_srli_epi32((__m128i)two_n, in mm_pow_ps()
330 const __m128i x_minus_half_floor = _mm_cvtps_epi32(x_minus_half); in mm_pow_ps()
335 const __m128i two_n_exponent = _mm_add_epi32( in mm_pow_ps()
336 x_minus_half_floor, *((__m128i *)float_exponent_bias)); in mm_pow_ps()
/external/llvm/lib/Target/X86/
DREADME-SSE.txt15 __m128i shift_right(__m128i value, unsigned long offset) {
384 __m128i a;
678 __m128i
/external/clang/test/Analysis/
Dmisc-ps.m120 typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
121 __m128i vec128i(long long __q1, long long __q0) {
124 return __extension__ (__m128i)(__v2di){ __q0, __q1 };
/external/clang/lib/Lex/
DLexer.cpp1702 __m128i Slashes = _mm_set_epi8('/', '/', '/', '/', '/', '/', '/', '/', in SkipBlockComment()
1705 _mm_movemask_epi8(_mm_cmpeq_epi8(*(__m128i*)CurPtr, Slashes)) == 0) in SkipBlockComment()