ref: fa3344e8254ac3df3764a1ac8b534d5d9559c816
parent: aecebff9bebfc5090a30e5e84a2963757a579eee
author: Jean-Marc Valin <[email protected]>
date: Thu Jun 27 00:15:44 EDT 2013
Avoid name clash with y0 Bessel function
--- a/celt/x86/pitch_sse.h
+++ b/celt/x86/pitch_sse.h
@@ -46,14 +46,14 @@
for (j = 0; j < len-3; j += 4)
{
__m128 x0 = _mm_loadu_ps(x+j);
- __m128 y0 = _mm_loadu_ps(y+j);
+ __m128 yj = _mm_loadu_ps(y+j);
__m128 y3 = _mm_loadu_ps(y+j+3);
- xsum1 = _mm_add_ps(xsum1,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0x00),y0));
+ xsum1 = _mm_add_ps(xsum1,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0x00),yj));
xsum2 = _mm_add_ps(xsum2,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0x55),
- _mm_shuffle_ps(y0,y3,0x49)));
+ _mm_shuffle_ps(yj,y3,0x49)));
xsum1 = _mm_add_ps(xsum1,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0xaa),
- _mm_shuffle_ps(y0,y3,0x9e)));
+ _mm_shuffle_ps(yj,y3,0x9e)));
xsum2 = _mm_add_ps(xsum2,_mm_mul_ps(_mm_shuffle_ps(x0,x0,0xff),y3));
}
if (j < len)