ref: 66d060c7734c9b780d0183f6565d474fc246b84b
parent: 12a356e431d1b2d3531d3d73de330bf9ee9be48b
author: Tom Denton <tomdenton@google.com>
date: Thu Jan 6 04:35:12 EST 2022
Initialize non-zero test arrays. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
--- a/celt/x86/pitch_sse4_1.c
+++ b/celt/x86/pitch_sse4_1.c
@@ -118,7 +118,10 @@
__m128i initSum;
#ifdef OPUS_CHECK_ASM
- opus_val32 sum_c[4]={0,0,0,0};
+ opus_val32 sum_c[4];
+ for (j=0;j<4;j++) {
+ sum_c[j] = sum[j];
+ }
xcorr_kernel_c(x, y, sum_c, len);
#endif