2 ms·
> writing great asm that is more efficient than your idiomatic C code is going to be a very very challenging task SIMD intrinsics are not idiomatic C, they are
by Const-me 6y ago
> writing great asm that is more efficient than your idiomatic C code is going to be a very very challenging task
SIMD intrinsics are not idiomatic C, they are idiomatic assembly.
Here's an example when they improved by a factor of 3.6: https://stackoverflow.com/a/63759887/126995 https://stackoverflow.com/a/63759887/126995
That's not an unusual outcome.