Home
last modified time | relevance | path

Searched refs:_mm_shuffle_ps (Results 1 – 25 of 31) sorted by relevance

12

/external/vulkan-validation-layers/libs/glm/detail/
Dintrinsic_matrix.inl71 __m128 v0 = _mm_shuffle_ps(v, v, _MM_SHUFFLE(0, 0, 0, 0));
72 __m128 v1 = _mm_shuffle_ps(v, v, _MM_SHUFFLE(1, 1, 1, 1));
73 __m128 v2 = _mm_shuffle_ps(v, v, _MM_SHUFFLE(2, 2, 2, 2));
74 __m128 v3 = _mm_shuffle_ps(v, v, _MM_SHUFFLE(3, 3, 3, 3));
118 __m128 e0 = _mm_shuffle_ps(in2[0], in2[0], _MM_SHUFFLE(0, 0, 0, 0));
119 __m128 e1 = _mm_shuffle_ps(in2[0], in2[0], _MM_SHUFFLE(1, 1, 1, 1));
120 __m128 e2 = _mm_shuffle_ps(in2[0], in2[0], _MM_SHUFFLE(2, 2, 2, 2));
121 __m128 e3 = _mm_shuffle_ps(in2[0], in2[0], _MM_SHUFFLE(3, 3, 3, 3));
136 __m128 e0 = _mm_shuffle_ps(in2[1], in2[1], _MM_SHUFFLE(0, 0, 0, 0));
137 __m128 e1 = _mm_shuffle_ps(in2[1], in2[1], _MM_SHUFFLE(1, 1, 1, 1));
[all …]
Dintrinsic_geometric.inl55 __m128 swp0 = _mm_shuffle_ps(mul0, mul0, _MM_SHUFFLE(2, 3, 0, 1));
57 __m128 swp1 = _mm_shuffle_ps(add0, add0, _MM_SHUFFLE(0, 1, 2, 3));
69 __m128 swp1 = _mm_shuffle_ps(add0, add0, 1);
77 __m128 swp0 = _mm_shuffle_ps(v1, v1, _MM_SHUFFLE(3, 0, 2, 1));
78 __m128 swp1 = _mm_shuffle_ps(v1, v1, _MM_SHUFFLE(3, 1, 0, 2));
79 __m128 swp2 = _mm_shuffle_ps(v2, v2, _MM_SHUFFLE(3, 0, 2, 1));
80 __m128 swp3 = _mm_shuffle_ps(v2, v2, _MM_SHUFFLE(3, 1, 0, 2));
Dtype_mat4x4.inl658 __m128 v0 = _mm_shuffle_ps(v.data, v.data, _MM_SHUFFLE(0, 0, 0, 0));
659 __m128 v1 = _mm_shuffle_ps(v.data, v.data, _MM_SHUFFLE(1, 1, 1, 1));
660 __m128 v2 = _mm_shuffle_ps(v.data, v.data, _MM_SHUFFLE(2, 2, 2, 2));
661 __m128 v3 = _mm_shuffle_ps(v.data, v.data, _MM_SHUFFLE(3, 3, 3, 3));
/external/speex/libspeex/
Dfilters_sse.h62 yy = _mm_shuffle_ps(yy, yy, 0); in filter_mem16_10()
66 mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39); in filter_mem16_10()
72 mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39); in filter_mem16_10()
77 mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0xfd); in filter_mem16_10()
86 mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0x55); in filter_mem16_10()
112 yy = _mm_shuffle_ps(yy, yy, 0); in filter_mem16_8()
116 mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39); in filter_mem16_8()
122 mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39); in filter_mem16_8()
167 yy = _mm_shuffle_ps(yy, yy, 0); in iir_mem16_10()
171 mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39); in iir_mem16_10()
[all …]
Dltp_sse.h51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_prod()
88 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in pitch_xcorr()
Dresample_sse.h51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_product_single()
69 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in interpolate_product_single()
/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_rdft_sse2.c27 __m128 a01v = _mm_shuffle_ps(a00v, a08v, _MM_SHUFFLE(1, 0, 1, 0)); in cft1st_128_SSE2()
28 __m128 a23v = _mm_shuffle_ps(a00v, a08v, _MM_SHUFFLE(3, 2, 3, 2)); in cft1st_128_SSE2()
29 __m128 a45v = _mm_shuffle_ps(a04v, a12v, _MM_SHUFFLE(1, 0, 1, 0)); in cft1st_128_SSE2()
30 __m128 a67v = _mm_shuffle_ps(a04v, a12v, _MM_SHUFFLE(3, 2, 3, 2)); in cft1st_128_SSE2()
45 x0w = _mm_shuffle_ps(x0v, x0v, _MM_SHUFFLE(2, 3, 0, 1)); in cft1st_128_SSE2()
53 const __m128 x3w = _mm_shuffle_ps(x3v, x3v, _MM_SHUFFLE(2, 3, 0, 1)); in cft1st_128_SSE2()
56 x0w = _mm_shuffle_ps(x0v, x0v, _MM_SHUFFLE(2, 3, 0, 1)); in cft1st_128_SSE2()
62 x0w = _mm_shuffle_ps(x0v, x0v, _MM_SHUFFLE(2, 3, 0, 1)); in cft1st_128_SSE2()
70 a00v = _mm_shuffle_ps(a01v, a23v, _MM_SHUFFLE(1, 0, 1, 0)); in cft1st_128_SSE2()
71 a04v = _mm_shuffle_ps(a45v, a67v, _MM_SHUFFLE(1, 0, 1, 0)); in cft1st_128_SSE2()
[all …]
Daec_core_sse2.c220 _mm_shuffle_ps(fft0, fft4, _MM_SHUFFLE(2, 0, 2, 0)); in FilterAdaptationSSE2()
222 _mm_shuffle_ps(fft0, fft4, _MM_SHUFFLE(3, 1, 3, 1)); in FilterAdaptationSSE2()
437 sum = _mm_add_ps(sum, _mm_shuffle_ps(sum, sum, _MM_SHUFFLE(0, 0, 3, 2))); in _mm_add_ps_4x1()
439 sum = _mm_add_ps(sum, _mm_shuffle_ps(sum, sum, _MM_SHUFFLE(1, 1, 1, 1))); in _mm_add_ps_4x1()
533 __m128 vec_a = _mm_shuffle_ps(vec_3210, vec_7654, in SmoothedPSD()
535 __m128 vec_b = _mm_shuffle_ps(vec_3210, vec_7654, in SmoothedPSD()
554 __m128 vec_a = _mm_shuffle_ps(vec_3210, vec_7654, in SmoothedPSD()
556 __m128 vec_b = _mm_shuffle_ps(vec_3210, vec_7654, in SmoothedPSD()
632 _mm_shuffle_ps(vec_sqrtHanning_rev, vec_sqrtHanning_rev, in WindowDataSSE2()
647 const __m128 vec_a = _mm_shuffle_ps(vec_fft0, vec_fft4, in StoreAsComplexSSE2()
[all …]
/external/eigen/Eigen/src/LU/arch/
DInverse_SSE.h82 AB = _mm_mul_ps(_mm_shuffle_ps(A,A,0x0F), B);
83 AB = _mm_sub_ps(AB,_mm_mul_ps(_mm_shuffle_ps(A,A,0xA5), _mm_shuffle_ps(B,B,0x4E)));
85 DC = _mm_mul_ps(_mm_shuffle_ps(D,D,0x0F), C);
86 DC = _mm_sub_ps(DC,_mm_mul_ps(_mm_shuffle_ps(D,D,0xA5), _mm_shuffle_ps(C,C,0x4E)));
89 dA = _mm_mul_ps(_mm_shuffle_ps(A, A, 0x5F),A);
92 dB = _mm_mul_ps(_mm_shuffle_ps(B, B, 0x5F),B);
96 dC = _mm_mul_ps(_mm_shuffle_ps(C, C, 0x5F),C);
99 dD = _mm_mul_ps(_mm_shuffle_ps(D, D, 0x5F),D);
103 d = _mm_mul_ps(_mm_shuffle_ps(DC,DC,0xD8),AB);
106 iD = _mm_mul_ps(_mm_shuffle_ps(C,C,0xA0), _mm_movelh_ps(AB,AB));
[all …]
/external/libopus/celt/x86/
Dpitch_sse.h52 xsum1 = _mm_add_ps(xsum1,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0x00),yj)); in xcorr_kernel()
53 xsum2 = _mm_add_ps(xsum2,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0x55), in xcorr_kernel()
54 _mm_shuffle_ps(yj,y3,0x49))); in xcorr_kernel()
55 xsum1 = _mm_add_ps(xsum1,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0xaa), in xcorr_kernel()
56 _mm_shuffle_ps(yj,y3,0x9e))); in xcorr_kernel()
57 xsum2 = _mm_add_ps(xsum2,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0xff),y3)); in xcorr_kernel()
92 xsum1 = _mm_add_ss(xsum1, _mm_shuffle_ps(xsum1, xsum1, 0x55)); in dual_inner_prod()
95 xsum2 = _mm_add_ss(xsum2, _mm_shuffle_ps(xsum2, xsum2, 0x55)); in dual_inner_prod()
127 x2v = _mm_shuffle_ps(x0v, x4v, 0x4e); in comb_filter_const()
128 x1v = _mm_shuffle_ps(x0v, x2v, 0x99); in comb_filter_const()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtVector3.cpp90 float4 z = _mm_shuffle_ps(hi0, hi1, 0x88); in _maxdot_large()
91 float4 x = _mm_shuffle_ps(lo0, lo1, 0x88); in _maxdot_large()
92 float4 y = _mm_shuffle_ps(lo0, lo1, 0xdd); in _maxdot_large()
111 z = _mm_shuffle_ps(hi0, hi1, 0x88); in _maxdot_large()
112 x = _mm_shuffle_ps(lo0, lo1, 0x88); in _maxdot_large()
113 y = _mm_shuffle_ps(lo0, lo1, 0xdd); in _maxdot_large()
132 z = _mm_shuffle_ps(hi0, hi1, 0x88); in _maxdot_large()
133 x = _mm_shuffle_ps(lo0, lo1, 0x88); in _maxdot_large()
134 y = _mm_shuffle_ps(lo0, lo1, 0xdd); in _maxdot_large()
153 z = _mm_shuffle_ps(hi0, hi1, 0x88); in _maxdot_large()
[all …]
DbtMatrix3x3.h225 V2 = _mm_shuffle_ps(NQ, Q, BT_SHUFFLE(0,0,1,3)); // -X -X Y W in ATTRIBUTE_ALIGNED16()
231 V31 = _mm_shuffle_ps(Q, NQ, BT_SHUFFLE(0,2,0,3)); // X Z -X -W in ATTRIBUTE_ALIGNED16()
237 V11 = _mm_shuffle_ps(NQ, Q, BT_SHUFFLE(2,3,1,3)); // -Z -W Y W in ATTRIBUTE_ALIGNED16()
240 V31 = _mm_shuffle_ps(Q, NQ, BT_SHUFFLE(3,3,1,3)); // W W -Y -W in ATTRIBUTE_ALIGNED16()
361 v1 = _mm_shuffle_ps(v0, v2, BT_SHUFFLE(2, 3, 1, 3) ); // y0 y1 y2 0 in ATTRIBUTE_ALIGNED16()
362 v0 = _mm_shuffle_ps(v0, v2, BT_SHUFFLE(0, 1, 0, 3) ); // x0 x1 x2 0 in ATTRIBUTE_ALIGNED16()
1014 v1 = _mm_shuffle_ps(v0, v2, BT_SHUFFLE(2, 3, 1, 3) ); // y0 y1 y2 0 in transpose()
1015 v0 = _mm_shuffle_ps(v0, v2, BT_SHUFFLE(0, 1, 0, 3) ); // x0 x1 x2 0 in transpose()
1067 __m128 r0 = _mm_mul_ps(m0, _mm_shuffle_ps(row, row, 0)); in transposeTimes()
1068 __m128 r1 = _mm_mul_ps(m0, _mm_shuffle_ps(row, row, 0x55)); in transposeTimes()
[all …]
DbtVector3.h44 #define bt_pshufd_ps( _a, _mask ) _mm_shuffle_ps((_a), (_a), (_mask) )
240 __m128 y = _mm_shuffle_ps(vd, vd, 0x55); in ATTRIBUTE_ALIGNED16()
306 __m128 y = _mm_shuffle_ps(vd, vd, 0x55); in ATTRIBUTE_ALIGNED16()
420 __m128 T = _mm_shuffle_ps(v1.mVec128, v1.mVec128, BT_SHUFFLE(1, 2, 0, 3)); // (Y Z X 0) in ATTRIBUTE_ALIGNED16()
421 __m128 V = _mm_shuffle_ps(v2.mVec128, v2.mVec128, BT_SHUFFLE(1, 2, 0, 3)); // (Y Z X 0) in ATTRIBUTE_ALIGNED16()
427 V = _mm_shuffle_ps(V, V, BT_SHUFFLE(1, 2, 0, 3)); in ATTRIBUTE_ALIGNED16()
432 __m128 y = _mm_shuffle_ps(V, V, 0x55); in ATTRIBUTE_ALIGNED16()
656 __m128 V1 = _mm_shuffle_ps(V, V0, 0xCE); in ATTRIBUTE_ALIGNED16()
658 V0 = _mm_shuffle_ps(V0, V, 0xDB); in ATTRIBUTE_ALIGNED16()
659 V2 = _mm_shuffle_ps(V2, V, 0xF9); in ATTRIBUTE_ALIGNED16()
DbtQuaternion.h308 t = _mm_shuffle_ps(vd, vd, 0x55); in dot()
348 t = _mm_shuffle_ps(vd, vd, 0x55); in normalize()
/external/opencv3/modules/core/include/opencv2/core/
Dsse_utils.hpp567 __m128 layer2_chunk0 = _mm_shuffle_ps(v_r0, v_r1, mask_lo); in _mm_interleave_ps()
568 __m128 layer2_chunk2 = _mm_shuffle_ps(v_r0, v_r1, mask_hi); in _mm_interleave_ps()
569 __m128 layer2_chunk1 = _mm_shuffle_ps(v_g0, v_g1, mask_lo); in _mm_interleave_ps()
570 __m128 layer2_chunk3 = _mm_shuffle_ps(v_g0, v_g1, mask_hi); in _mm_interleave_ps()
572 __m128 layer1_chunk0 = _mm_shuffle_ps(layer2_chunk0, layer2_chunk1, mask_lo); in _mm_interleave_ps()
573 __m128 layer1_chunk2 = _mm_shuffle_ps(layer2_chunk0, layer2_chunk1, mask_hi); in _mm_interleave_ps()
574 __m128 layer1_chunk1 = _mm_shuffle_ps(layer2_chunk2, layer2_chunk3, mask_lo); in _mm_interleave_ps()
575 __m128 layer1_chunk3 = _mm_shuffle_ps(layer2_chunk2, layer2_chunk3, mask_hi); in _mm_interleave_ps()
577 v_r0 = _mm_shuffle_ps(layer1_chunk0, layer1_chunk1, mask_lo); in _mm_interleave_ps()
578 v_g0 = _mm_shuffle_ps(layer1_chunk0, layer1_chunk1, mask_hi); in _mm_interleave_ps()
[all …]
/external/vulkan-validation-layers/libs/glm/gtx/
Dsimd_quat.inl123 __m128 mul0 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(0, 1, 2, 3)));
124 __m128 mul1 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(1, 0, 3, 2)));
125 __m128 mul2 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(2, 3, 0, 1)));
136 add0 = _mm_add_ss(add0, _mm_shuffle_ps(add0, add0, 1));
140 add1 = _mm_add_ss(add1, _mm_shuffle_ps(add1, add1, 1));
144 add2 = _mm_add_ss(add2, _mm_shuffle_ps(add2, add2, 1));
148 add3 = _mm_add_ss(add3, _mm_shuffle_ps(add3, add3, 1));
155 //__m128 xxyy = _mm_shuffle_ps(add0, add1, _MM_SHUFFLE(0, 0, 0, 0));
156 //__m128 zzww = _mm_shuffle_ps(add2, add3, _MM_SHUFFLE(0, 0, 0, 0));
158 //return _mm_shuffle_ps(xxyy, zzww, _MM_SHUFFLE(2, 0, 2, 0));
[all …]
Dsimd_mat4.inl552 __m128 Shu0 = _mm_shuffle_ps(r.Data, r.Data, _MM_SHUFFLE(0, 0, 0, 0));
553 __m128 Shu1 = _mm_shuffle_ps(r.Data, r.Data, _MM_SHUFFLE(1, 1, 1, 1));
554 __m128 Shu2 = _mm_shuffle_ps(r.Data, r.Data, _MM_SHUFFLE(2, 2, 2, 2));
555 __m128 Shu3 = _mm_shuffle_ps(r.Data, r.Data, _MM_SHUFFLE(3, 3, 3, 3));
Dsimd_vec4.inl167 __m128 Data = _mm_shuffle_ps(
176 this->Data = _mm_shuffle_ps(
/external/eigen/Eigen/src/Core/arch/SSE/
DPacketMath.h43 (_mm_shuffle_ps( (a), (b), ((s)<<6|(r)<<4|(q)<<2|(p))))
46 …(_mm_castps_si128( (_mm_shuffle_ps( _mm_castsi128_ps(a), _mm_castsi128_ps(b), ((s)<<6|(r)<<4|(q)<<…
419 { return _mm_shuffle_ps(a,a,0x1B); }
489 return pfirst(_mm_add_ss(tmp, _mm_shuffle_ps(tmp,tmp, 1)));
542 return pfirst(_mm_mul_ss(tmp, _mm_shuffle_ps(tmp,tmp, 1)));
562 return pfirst(_mm_min_ss(tmp, _mm_shuffle_ps(tmp,tmp, 1)));
583 return pfirst(_mm_max_ss(tmp, _mm_shuffle_ps(tmp,tmp, 1)));
666 first = _mm_shuffle_ps(first,second,0x93);
689 … first = _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(first),_mm_castsi128_ps(second),0x93));
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_sse.cc53 _mm_store_ss(&result, _mm_add_ss(m_sums2, _mm_shuffle_ps( in Convolve_SSE()
/external/webrtc/webrtc/common_audio/
Dfir_filter_sse.cc73 _mm_store_ss(out + i, _mm_add_ss(m_sum, _mm_shuffle_ps(m_sum, m_sum, 1))); in Filter()
/external/opencv3/modules/imgproc/src/
Dfilter.cpp955 f = _mm_shuffle_ps(f, f, 0); in operator ()()
973 f = _mm_shuffle_ps(f, f, 0); in operator ()()
993 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1003 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1026 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1053 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1234 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1286 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1304 f = _mm_shuffle_ps(f, f, 0); in operator ()()
1327 f = _mm_shuffle_ps(f, f, 0); in operator ()()
[all …]
/external/opencv3/modules/core/src/
Dmatmul.cpp1701 _mm_mul_ps(m0, _mm_shuffle_ps(x0,x0,_MM_SHUFFLE(0,0,0,0))), in transform_16u()
1702 _mm_mul_ps(m1, _mm_shuffle_ps(x0,x0,_MM_SHUFFLE(1,1,1,1)))), in transform_16u()
1703 _mm_mul_ps(m2, _mm_shuffle_ps(x0,x0,_MM_SHUFFLE(2,2,2,2)))), m3); in transform_16u()
1705 _mm_mul_ps(m0, _mm_shuffle_ps(x1,x1,_MM_SHUFFLE(0,0,0,0))), in transform_16u()
1706 _mm_mul_ps(m1, _mm_shuffle_ps(x1,x1,_MM_SHUFFLE(1,1,1,1)))), in transform_16u()
1707 _mm_mul_ps(m2, _mm_shuffle_ps(x1,x1,_MM_SHUFFLE(2,2,2,2)))), m3); in transform_16u()
1709 _mm_mul_ps(m0, _mm_shuffle_ps(x2,x2,_MM_SHUFFLE(0,0,0,0))), in transform_16u()
1710 _mm_mul_ps(m1, _mm_shuffle_ps(x2,x2,_MM_SHUFFLE(1,1,1,1)))), in transform_16u()
1711 _mm_mul_ps(m2, _mm_shuffle_ps(x2,x2,_MM_SHUFFLE(2,2,2,2)))), m3); in transform_16u()
1713 _mm_mul_ps(m0, _mm_shuffle_ps(x3,x3,_MM_SHUFFLE(0,0,0,0))), in transform_16u()
[all …]
Ddxt.cpp391 __m128 neg3_mask = _mm_shuffle_ps(neg0_mask, neg0_mask, _MM_SHUFFLE(0,1,2,3)); in operator ()()
413 t1 = _mm_xor_ps(_mm_shuffle_ps(y01, y23, _MM_SHUFFLE(2,3,3,2)), neg3_mask); in operator ()()
434 … t1 = _mm_mul_ps(_mm_movehdup_ps(x13), _mm_shuffle_ps(w23, w23, _MM_SHUFFLE(2,3,0,1))); in operator ()()
439 x02 = _mm_shuffle_ps(x02, x02, _MM_SHUFFLE(0,0,1,1)); in operator ()()
440 w01 = _mm_shuffle_ps(w01, w01, _MM_SHUFFLE(1,0,0,1)); in operator ()()
448 t1 = _mm_xor_ps(_mm_shuffle_ps(y01, y23, _MM_SHUFFLE(2,3,3,2)), neg3_mask); in operator ()()
/external/opencv3/modules/hal/include/opencv2/hal/
Dintrin_sse.hpp554 __m128 v0 = _mm_mul_ps(_mm_shuffle_ps(v.val, v.val, _MM_SHUFFLE(0, 0, 0, 0)), m0.val); in v_matmul()
555 __m128 v1 = _mm_mul_ps(_mm_shuffle_ps(v.val, v.val, _MM_SHUFFLE(1, 1, 1, 1)), m1.val); in v_matmul()
556 __m128 v2 = _mm_mul_ps(_mm_shuffle_ps(v.val, v.val, _MM_SHUFFLE(2, 2, 2, 2)), m2.val); in v_matmul()
557 __m128 v3 = _mm_mul_ps(_mm_shuffle_ps(v.val, v.val, _MM_SHUFFLE(3, 3, 3, 3)), m3.val); in v_matmul()

12