From 2252dcb06ada29a0bfd859ac986e9f898ce70fdd Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 29 Apr 2018 10:37:36 +0200 Subject: [PATCH] Do not use intrinsics at all for IntHalfbandFilterEO1 --- sdrbase/dsp/inthalfbandfiltereo1.h | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/sdrbase/dsp/inthalfbandfiltereo1.h b/sdrbase/dsp/inthalfbandfiltereo1.h index b2b8f1793..7a1539afc 100644 --- a/sdrbase/dsp/inthalfbandfiltereo1.h +++ b/sdrbase/dsp/inthalfbandfiltereo1.h @@ -26,7 +26,7 @@ #include #include "dsp/dsptypes.h" #include "dsp/hbfiltertraits.h" -#include "dsp/inthalfbandfiltereo1i.h" +//#include "dsp/inthalfbandfiltereo1i.h" #include "export.h" template @@ -681,15 +681,15 @@ protected: int32_t iAcc = 0; int32_t qAcc = 0; -#if defined(USE_SSE4_1) && !defined(NO_DSP_SIMD) - IntHalfbandFilterEO1Intrisics::work( - m_ptr, - m_even, - m_odd, - iAcc, - qAcc - ); -#else +//#if defined(USE_SSE4_1) && !defined(NO_DSP_SIMD) +// IntHalfbandFilterEO1Intrisics::work( +// m_ptr, +// m_even, +// m_odd, +// iAcc, +// qAcc +// ); +//#else int a = m_ptr/2 + m_size; // tip pointer int b = m_ptr/2 + 1; // tail pointer @@ -709,7 +709,7 @@ protected: a -= 1; b += 1; } -#endif +//#endif if ((m_ptr % 2) == 0) { @@ -731,15 +731,15 @@ protected: int32_t iAcc = 0; int32_t qAcc = 0; -#if defined(USE_SSE4_1) && !defined(NO_DSP_SIMD) - IntHalfbandFilterEO1Intrisics::work( - m_ptr, - m_even, - m_odd, - iAcc, - qAcc - ); -#else +//#if defined(USE_SSE4_1) && !defined(NO_DSP_SIMD) +// IntHalfbandFilterEO1Intrisics::work( +// m_ptr, +// m_even, +// m_odd, +// iAcc, +// qAcc +// ); +//#else int a = m_ptr/2 + m_size; // tip pointer int b = m_ptr/2 + 1; // tail pointer @@ -759,7 +759,7 @@ protected: a -= 1; b += 1; } -#endif +//#endif if ((m_ptr % 2) == 0) { iAcc += ((int32_t)m_odd[0][m_ptr/2 + m_size/2]) << (HBFIRFilterTraits::hbShift - 1);