diff options
author | Jean-Marc Valin <jmvalin@amazon.com> | 2023-11-21 00:18:13 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-11-21 00:18:13 +0300 |
commit | 108512604942682df1b37c4264c13eeeab56ed13 (patch) | |
tree | 9dc88806986bf95d6e2bac576dbe1bbdbc1800b1 | |
parent | 161358d6c47dd95dea64ebc09500a54024b79d74 (diff) |
Remove AVX pitch code for fixed-point
-rw-r--r-- | celt/x86/pitch_avx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/celt/x86/pitch_avx.c b/celt/x86/pitch_avx.c index 7bb4ac18..f731762d 100644 --- a/celt/x86/pitch_avx.c +++ b/celt/x86/pitch_avx.c @@ -33,6 +33,8 @@ #include "x86cpu.h" #include "pitch.h" +#if defined(OPUS_X86_MAY_HAVE_AVX2) && !defined(FIXED_POINT) + /* Like the "regular" xcorr_kernel(), but computes 8 results at a time. */ static void xcorr_kernel_avx(const float *x, const float *y, float sum[8], int len) { @@ -95,3 +97,5 @@ void celt_pitch_xcorr_avx2(const float *_x, const float *_y, float *xcorr, int l xcorr[i] = celt_inner_prod(_x, _y+i, len, arch); } } + +#endif |