Home
last modified time | relevance | path

Searched refs:_mm_srli_epi32 (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/opts/
DSkColor_opts_SSE2.h39 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8)); in SkAlphaMulAlpha_SSE2()
40 prod = _mm_srli_epi32(prod, 8); in SkAlphaMulAlpha_SSE2()
85 return _mm_srli_epi32(src, 24); // You'd hope the compiler would remove the left shift then, in SkGetPackedA32_SSE2()
88 return _mm_srli_epi32(a, 24); in SkGetPackedA32_SSE2()
94 return _mm_srli_epi32(r, 24); in SkGetPackedR32_SSE2()
99 return _mm_srli_epi32(g, 24); in SkGetPackedG32_SSE2()
104 return _mm_srli_epi32(b, 24); in SkGetPackedB32_SSE2()
140 __m128i r = _mm_srli_epi32(src, SK_R16_SHIFT); in SkPacked16ToR32_SSE2()
143 _mm_srli_epi32(r, (2 * SK_R16_BITS - 8))); in SkPacked16ToR32_SSE2()
149 __m128i g = _mm_srli_epi32(src, SK_G16_SHIFT); in SkPacked16ToG32_SSE2()
[all …]
DSkBlitRow_opts_SSE2.cpp103 __m128i alpha = _mm_srli_epi32(src_pixel, 24); in S32A_Opaque_BlitRow32_SSE2()
319 #define SkPackedR16x5ToUnmaskedR32x5_SSE2(x) (_mm_srli_epi32(x, -SK_R16x5_R32x5_SHIFT))
327 #define SkPackedG16x5ToUnmaskedG32x5_SSE2(x) (_mm_srli_epi32(x, -SK_G16x5_G32x5_SHIFT))
335 #define SkPackedB16x5ToUnmaskedB32x5_SSE2(x) (_mm_srli_epi32(x, -SK_B16x5_B32x5_SHIFT))
745 sa1 = _mm_srli_epi32(sa1, 24); in S32A_D565_Opaque_SSE2()
747 sa2 = _mm_srli_epi32(sa2, 24); in S32A_D565_Opaque_SSE2()
752 sr1 = _mm_srli_epi32(sr1, 24); in S32A_D565_Opaque_SSE2()
754 sr2 = _mm_srli_epi32(sr2, 24); in S32A_D565_Opaque_SSE2()
759 sg1 = _mm_srli_epi32(sg1, 24); in S32A_D565_Opaque_SSE2()
761 sg2 = _mm_srli_epi32(sg2, 24); in S32A_D565_Opaque_SSE2()
[all …]
DSkBitmapProcState_opts_SSE2.cpp327 wide_i = _mm_max_epi16(_mm_srli_epi32(wide_fx, 16), in ClampX_ClampY_filter_scale_SSE2()
332 wide_lo = _mm_srli_epi32(wide_fx, 12); in ClampX_ClampY_filter_scale_SSE2()
342 wide_fx1 = _mm_max_epi16(_mm_srli_epi32(wide_fx1, 16), in ClampX_ClampY_filter_scale_SSE2()
406 __m128i wide_out_low = _mm_srli_epi32(wide_low, 16); in ClampX_ClampY_nofilter_scale_SSE2()
407 __m128i wide_out_high = _mm_srli_epi32(wide_high, 16); in ClampX_ClampY_nofilter_scale_SSE2()
449 __m128i wide_out_low = _mm_srli_epi32(wide_low, 16); in ClampX_ClampY_nofilter_scale_SSE2()
450 __m128i wide_out_high = _mm_srli_epi32(wide_high, 16); in ClampX_ClampY_nofilter_scale_SSE2()
508 __m128i wide_i = _mm_max_epi16(_mm_srli_epi32(wide_f, 16), in ClampX_ClampY_filter_affine_SSE2()
513 __m128i wide_lo = _mm_srli_epi32(wide_f, 12); in ClampX_ClampY_filter_affine_SSE2()
523 wide_f1 = _mm_max_epi16(_mm_srli_epi32(wide_f1, 16), in ClampX_ClampY_filter_affine_SSE2()
[all …]
DSk4px_SSE2.h77 as = _mm_max_epu8(as, _mm_srli_epi32(as, 8)); // 33xx 22xx 11xx 00xx in alphas()
78 as = _mm_max_epu8(as, _mm_srli_epi32(as, 16)); // 3333 2222 1111 0000 in alphas()
DSkBitmapFilter_opts_SSE2.cpp381 __m128i a = _mm_srli_epi32(accum0, 8); in convolveVertically_SSE2()
385 a = _mm_srli_epi32(accum0, 16); in convolveVertically_SSE2()
447 __m128i a = _mm_srli_epi32(accum0, 8); in convolveVertically_SSE2()
451 a = _mm_srli_epi32(accum0, 16); in convolveVertically_SSE2()
DSkBitmapProcState_opts_SSSE3.cpp62 const __m128i x0_wide = _mm_srli_epi32(xx, 18); in PrepareConstantsTwoPixelPairs()
69 __m128i all_x = _mm_and_si128(_mm_srli_epi32(xx, 14), mask_000F); in PrepareConstantsTwoPixelPairs()
107 __m128i xy0_wide = _mm_srli_epi32(xy_wide, 18); in PrepareConstantsTwoPixelPairsDXDY()
119 __m128i all_xy = _mm_and_si128(_mm_srli_epi32(xy_wide, 14), mask_000F); in PrepareConstantsTwoPixelPairsDXDY()
DSkBlurImageFilter_opts.h42 p = _mm_srli_epi32(p, 24); // 000A 000R 000G 000B in repack()
/external/opencv3/modules/core/include/opencv2/core/
Dsse_utils.hpp391 __m128i layer3_chunk2 = _mm_packus_epi32(_mm_srli_epi32(v_r0, 16), _mm_srli_epi32(v_r1, 16)); in _mm_interleave_epi16()
393 __m128i layer3_chunk3 = _mm_packus_epi32(_mm_srli_epi32(v_g0, 16), _mm_srli_epi32(v_g1, 16)); in _mm_interleave_epi16()
396 …__m128i layer2_chunk2 = _mm_packus_epi32(_mm_srli_epi32(layer3_chunk0, 16), _mm_srli_epi32(layer3_… in _mm_interleave_epi16()
398 …__m128i layer2_chunk3 = _mm_packus_epi32(_mm_srli_epi32(layer3_chunk2, 16), _mm_srli_epi32(layer3_… in _mm_interleave_epi16()
401 …__m128i layer1_chunk2 = _mm_packus_epi32(_mm_srli_epi32(layer2_chunk0, 16), _mm_srli_epi32(layer2_… in _mm_interleave_epi16()
403 …__m128i layer1_chunk3 = _mm_packus_epi32(_mm_srli_epi32(layer2_chunk2, 16), _mm_srli_epi32(layer2_… in _mm_interleave_epi16()
406 v_g0 = _mm_packus_epi32(_mm_srli_epi32(layer1_chunk0, 16), _mm_srli_epi32(layer1_chunk1, 16)); in _mm_interleave_epi16()
408 v_g1 = _mm_packus_epi32(_mm_srli_epi32(layer1_chunk2, 16), _mm_srli_epi32(layer1_chunk3, 16)); in _mm_interleave_epi16()
417 __m128i layer3_chunk3 = _mm_packus_epi32(_mm_srli_epi32(v_r0, 16), _mm_srli_epi32(v_r1, 16)); in _mm_interleave_epi16()
419 __m128i layer3_chunk4 = _mm_packus_epi32(_mm_srli_epi32(v_g0, 16), _mm_srli_epi32(v_g1, 16)); in _mm_interleave_epi16()
[all …]
/external/scrypt/lib/crypto/
Dcrypto_scrypt-sse.c100 X1 = _mm_xor_si128(X1, _mm_srli_epi32(T, 25)); in salsa20_8()
103 X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23)); in salsa20_8()
106 X3 = _mm_xor_si128(X3, _mm_srli_epi32(T, 19)); in salsa20_8()
109 X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14)); in salsa20_8()
119 X3 = _mm_xor_si128(X3, _mm_srli_epi32(T, 25)); in salsa20_8()
122 X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23)); in salsa20_8()
125 X1 = _mm_xor_si128(X1, _mm_srli_epi32(T, 19)); in salsa20_8()
128 X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14)); in salsa20_8()
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c275 temp0 = _mm_srli_epi32(temp0,u4_qbits); in ih264_resi_trans_quant_4x4_sse42()
276 temp1 = _mm_srli_epi32(temp1,u4_qbits); in ih264_resi_trans_quant_4x4_sse42()
277 temp2 = _mm_srli_epi32(temp2,u4_qbits); in ih264_resi_trans_quant_4x4_sse42()
278 temp3 = _mm_srli_epi32(temp3,u4_qbits); in ih264_resi_trans_quant_4x4_sse42()
558 temp0 = _mm_srli_epi32(temp0,u4_qbits); in ih264_resi_trans_quant_chroma_4x4_sse42()
559 temp1 = _mm_srli_epi32(temp1,u4_qbits); in ih264_resi_trans_quant_chroma_4x4_sse42()
560 temp2 = _mm_srli_epi32(temp2,u4_qbits); in ih264_resi_trans_quant_chroma_4x4_sse42()
561 temp3 = _mm_srli_epi32(temp3,u4_qbits); in ih264_resi_trans_quant_chroma_4x4_sse42()
789 …temp0 = _mm_srli_epi32(temp0,u4_qbits); //RIght shift by qbits, unsigned variable,… in ih264_hadamard_quant_4x4_sse42()
790 temp1 = _mm_srli_epi32(temp1,u4_qbits); in ih264_hadamard_quant_4x4_sse42()
[all …]
/external/webp/src/dsp/
Dlossless_enc_sse2.c65 const __m128i G = _mm_srli_epi32(F, 16); // 0 0 x db2 in TransformColor()
107 const __m128i F0 = _mm_srli_epi32(C0, 16); // 0 0 | x db in CollectColorBlueTransforms()
108 const __m128i F1 = _mm_srli_epi32(C1, 16); in CollectColorBlueTransforms()
147 const __m128i B0 = _mm_srli_epi32(in0, 16); // 0 0 | x r in CollectColorRedTransforms()
148 const __m128i B1 = _mm_srli_epi32(in1, 16); in CollectColorRedTransforms()
Dlossless_sse2.c199 const __m128i H = _mm_srli_epi32(G, 8); // 0 x db2 0 in TransformColorInverse()
/external/boringssl/src/crypto/chacha/
Dchacha_vec.c90 (vec)(_mm_slli_epi32((__m128i)x, 7) ^ _mm_srli_epi32((__m128i)x, 25))
92 (vec)(_mm_slli_epi32((__m128i)x, 12) ^ _mm_srli_epi32((__m128i)x, 20))
103 (vec)(_mm_slli_epi32((__m128i)x, 8) ^ _mm_srli_epi32((__m128i)x, 24))
105 (vec)(_mm_slli_epi32((__m128i)x, 16) ^ _mm_srli_epi32((__m128i)x, 16))
/external/skia/src/core/
DSkHalf.h108 __m128i h = _mm_srli_epi32(_mm_castps_si128(_mm_mul_ps(fs.fVec, rebias)), 13); in SkFloatToHalf_01()
/external/jemalloc/test/include/test/
DSFMT-sse2.h68 y = _mm_srli_epi32(*b, SR1); in mm_recursion()
/external/opencv3/modules/imgproc/src/
Dpyramids.cpp223 __m128i v_dst0 = _mm_srli_epi32(_mm_add_epi32(_mm_add_epi32(v_r00, v_r10), v_delta), 8); in operator ()()
228 __m128i v_dst1 = _mm_srli_epi32(_mm_add_epi32(_mm_add_epi32(v_r01, v_r11), v_delta), 8); in operator ()()
450 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst00, v_delta), 6), in operator ()()
451 _mm_srli_epi32(_mm_add_epi32(v_dst01, v_delta), 6))); in operator ()()
453 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst10, v_delta), 6), in operator ()()
454 _mm_srli_epi32(_mm_add_epi32(v_dst11, v_delta), 6))); in operator ()()
468 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst0, v_delta), 6), v_zero)); in operator ()()
470 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst1, v_delta), 6), v_zero)); in operator ()()
Dimgwarp.cpp2144 __m128i s0 = _mm_add_epi32(_mm_srli_epi32(r0, 16), _mm_and_si128(r0, masklow)); in operator ()()
2145 __m128i s1 = _mm_add_epi32(_mm_srli_epi32(r1, 16), _mm_and_si128(r1, masklow)); in operator ()()
2147 s0 = _mm_srli_epi32(s0, 2); in operator ()()
2167 s0 = _mm_packus_epi32(_mm_srli_epi32(s0, 2), zero); in operator ()()
2186 s0 = _mm_packus_epi32(_mm_srli_epi32(s0, 2), zero); in operator ()()
5050 …__m128i v_dst2 = _mm_or_si128(_mm_srli_epi32(_mm_and_si128(v_src0, v_y_mask), 16 - INTER_BITS), //… in convertMaps()
5119 … _mm_mul_ps(v_scale, _mm_cvtepi32_ps(_mm_srli_epi32(v_fxy_p, INTER_BITS))))); in convertMaps()
5124 … _mm_mul_ps(v_scale, _mm_cvtepi32_ps(_mm_srli_epi32(v_fxy_p, INTER_BITS))))); in convertMaps()
5131 … _mm_mul_ps(v_scale, _mm_cvtepi32_ps(_mm_srli_epi32(v_fxy_p, INTER_BITS))))); in convertMaps()
5136 … _mm_mul_ps(v_scale, _mm_cvtepi32_ps(_mm_srli_epi32(v_fxy_p, INTER_BITS))))); in convertMaps()
/external/opencv3/modules/hal/src/
Dmathfuncs.cpp1116 …__m128i yi0 = _mm_sub_epi32(_mm_and_si128(_mm_srli_epi32(h0, 23), _mm_set1_epi32(255)), _mm_set1_e… in log()
1122 … h0 = _mm_and_si128(_mm_srli_epi32(h0, 23 - LOGTAB_SCALE - 1), _mm_set1_epi32(LOGTAB_MASK*2)); in log()
1282 __m128i yi0 = _mm_sub_epi32(_mm_and_si128(_mm_srli_epi32(h0, 20), in log()
1287 … h0 = _mm_and_si128(_mm_srli_epi32(h0, 20 - LOGTAB_SCALE - 1), _mm_set1_epi32(LOGTAB_MASK * 2)); in log()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_avg_intrin_sse2.c307 val = _mm_srli_epi32(sum, 16); in vp9_satd_sse2()
413 v0 = _mm_srli_epi32(sum, 16); in vp9_vector_var_sse2()
/external/eigen/Eigen/src/Core/arch/SSE/
DMathFunctions.h59 emm0 = _mm_srli_epi32(_mm_castps_si128(x), 23);
/external/opencv3/3rdparty/libwebp/dsp/
Dlossless.c727 const __m128i in_000g = _mm_srli_epi32(in_00g0, 8); // 000g|000g|... in VP8LSubtractGreenFromBlueAndRed()
755 const __m128i in_000g = _mm_srli_epi32(in_00g0, 8); // 000g|000g|... in AddGreenToBlueAndRed()
/external/libhevc/common/x86/
Dihevc_deblk_ssse3_intr.c427 const2_8x16b = _mm_srli_epi32(tmp1_const_8x16b, 31); in ihevc_deblk_luma_vert_ssse3()
864 const2_8x16b = _mm_srli_epi32(tmp2_const_8x16b, 31); in ihevc_deblk_luma_horz_ssse3()
/external/clang/test/CodeGen/
Dsse2-builtins.c858 return _mm_srli_epi32(A, 1); in test_mm_srli_epi32()
/external/opencv3/modules/hal/include/opencv2/hal/
Dintrin_sse.hpp404 __m128i a1 = _mm_sub_epi32(_mm_srli_epi32(_mm_add_epi32(a.val, delta), n), delta32); in v_rshr_pack()
405 __m128i b1 = _mm_sub_epi32(_mm_srli_epi32(_mm_add_epi32(b.val, delta), n), delta32); in v_rshr_pack()
413 __m128i a1 = _mm_sub_epi32(_mm_srli_epi32(_mm_add_epi32(a.val, delta), n), delta32); in v_rshr_pack_store()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_tri.c375 c_inc = _mm_srli_epi32(c_inc_mask, 31); in do_triangle_ccw()

12