Don't truncate odd IR sizes with SSE
This commit is contained in:
parent
6bc3ae178e
commit
ae09e1f60c
@ -43,7 +43,7 @@ inline void ApplyCoeffs(float2 *RESTRICT Values, const uint_fast32_t IrSize,
|
||||
imp0 = _mm_mul_ps(lrlr, coeffs);
|
||||
vals = _mm_add_ps(imp0, vals);
|
||||
_mm_storel_pi(reinterpret_cast<__m64*>(&Values[0][0]), vals);
|
||||
uint_fast32_t td{(IrSize>>1) - 1};
|
||||
uint_fast32_t td{((IrSize+1)>>1) - 1};
|
||||
size_t i{1};
|
||||
do {
|
||||
coeffs = _mm_load_ps(&Coeffs[i+1][0]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user