Hi Martin, On Thu, Dec 12, 2019 at 1:03 PM Martin Willi <martin@xxxxxxxxxxxxxx> wrote: > Can you provide some numbers to testify that? In my tests, the 32-bit > version gives me exact the same results. On 32-bit, if you only call update() once, then the results are the same. However, as soon as you call it more than once, this new version has increasing gains. Other than that, they should behave pretty much identically. > The 64-bit version is roughly 10% faster. However, what are the > platforms where the 64-bit version matters? Won't any SIMD version > outperform the 64-bit version anyway? Depending on the platform, it's sometimes more than 10% faster. Not all 64-bit platforms have the luxury of a SIMD version. And not all code paths wind up hitting the SIMD version, either. The code is very short and simple -- and compiles shorter than the 32-bit one actually -- and placed side by side with the new 32-bit one, you can pretty easily compare them as clean standalone things. I think there's no good reason for being attached to your old code here; it's all mostly Andrew's stuff anyway. Jason