arch: x86: Fix convolve optimizations breaking signal
This patch fixes MS failing to even see the network, and only RACHs of 1
zeroed byte being seen in GSMTAP.
The issue seems to only appear on some specific machines; others have
been running fine for weeks without this memset being an issue.
Fixes: 7a52e42ee0
Change-Id: I98ad885a5d71e7775973a4d881c0f1cd665ea711
This commit is contained in:
parent
b7c6f1e83f
commit
0fbdfefebc
|
@ -102,9 +102,9 @@ int convolve_real(const float *x, int x_len,
|
|||
#ifndef __OPTIMIZE__
|
||||
if (bounds_check(x_len, h_len, y_len, start, len) < 0)
|
||||
return -1;
|
||||
|
||||
memset(y, 0, len * 2 * sizeof(float));
|
||||
#endif
|
||||
memset(y, 0, len * 2 * sizeof(float));
|
||||
|
||||
switch (h_len) {
|
||||
case 4:
|
||||
c.conv_real4(x, x_len, h, h_len, y, y_len, start, len);
|
||||
|
@ -142,9 +142,9 @@ int convolve_complex(const float *x, int x_len,
|
|||
#ifndef __OPTIMIZE__
|
||||
if (bounds_check(x_len, h_len, y_len, start, len) < 0)
|
||||
return -1;
|
||||
|
||||
memset(y, 0, len * 2 * sizeof(float));
|
||||
#endif
|
||||
memset(y, 0, len * 2 * sizeof(float));
|
||||
|
||||
if (!(h_len % 8))
|
||||
c.conv_cmplx_8n(x, x_len, h, h_len, y, y_len, start, len);
|
||||
else if (!(h_len % 4))
|
||||
|
|
Loading…
Reference in New Issue