Lines Matching refs:sum
42 __m128 sum = _mm_setzero_ps(); in inner_prod() local
45 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+0), _mm_loadu_ps(b+0))); in inner_prod()
46 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+4), _mm_loadu_ps(b+4))); in inner_prod()
50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in inner_prod()
51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_prod()
52 _mm_store_ss(&ret, sum); in inner_prod()
76 __m128 sum, *xx, *yy; in pitch_xcorr() local
77 sum = _mm_setzero_ps(); in pitch_xcorr()
82 sum = _mm_add_ps(sum, _mm_mul_ps(xx[0], yy[0])); in pitch_xcorr()
83 sum = _mm_add_ps(sum, _mm_mul_ps(xx[1], yy[1])); in pitch_xcorr()
87 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in pitch_xcorr()
88 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in pitch_xcorr()
89 _mm_store_ss(corr+nb_pitch-1-(i<<2)-offset, sum); in pitch_xcorr()