1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-07 07:50:32 +00:00

fix sse implementation

This commit is contained in:
Carles Fernandez 2016-01-16 22:49:34 +01:00
parent 3d3a758ef2
commit cd80beb16c

View File

@ -84,7 +84,7 @@ static inline void volk_gnsssdr_8u_x2_multiply_8u_u_sse3(unsigned char* cChar, c
c += 16; c += 16;
} }
for (unsigned int i = 0; i<(num_points % 16); ++i) for (unsigned int i = sse_iters * 16; i < num_points ; ++i)
{ {
*c++ = (*a++) * (*b++); *c++ = (*a++) * (*b++);
} }
@ -169,7 +169,7 @@ static inline void volk_gnsssdr_8u_x2_multiply_8u_a_sse3(unsigned char* cChar, c
c += 16; c += 16;
} }
for (unsigned int i = 0; i<(num_points % 16); ++i) for (unsigned int i = sse_iters * 16; i < num_points; ++i)
{ {
*c++ = (*a++) * (*b++); *c++ = (*a++) * (*b++);
} }