Fix Intel/AMD FMA mix_buffers_with_gain()

see also 1fc8b55314
This commit is contained in:
Robin Gareus 2021-02-13 01:05:01 +01:00
parent 5c4ed8ee2b
commit 01ac384380
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -106,7 +106,7 @@ x86_fma_mix_buffers_with_gain(
// Load destinations
d0 = _mm256_load_ps(dst + 0 );
// dst = dst + (src * gain)
d0 = _mm256_fmadd_ps(g0, d0, s0);
d0 = _mm256_fmadd_ps(g0, s0, d0);
// Store result
_mm256_store_ps(dst, d0);
// Update pointers and counters