On Sun, Feb 25, 2024 at 10:56 AM Ronald S. Bultje wrote: > Hi, > > On Sun, Feb 25, 2024 at 3:28 AM J. Dekker wrote: > >> Weak filter can overflow in delta0 calculation before >> 4 in int16. >> >> Signed-off-by: J. Dekker >> --- >> >> I do not know x86 simd at all, so this is just an attempt to fix >> the implementation rather than write extremely performant code. >> >> Suggestions welcome. >> > > https://pastebin.com/KvcbQ2nK > Attached a slightly adjusted version which does sse2 in 16bit also. Ronald