News for hackers. Stuff that matters.
Re:Exploring SIMD performance improvements in WebAssembly (2... by skywal_l on Thursday February 03, 2022 @03:36AM (#30190103)
Wouldn't it be possible to have a binary containing multiple versions of your program compiled optimized for various CPU configuration and have a switch at runtime which would select depending on your CPUid. I think intel have a compiler for that.
Re:Exploring SIMD performance improvements in WebAssembly (2... by janwas on Friday February 04, 2022 @05:53AM (#30205225)
Yes, our github.com/google/highway does that for SSE4/AVX2/AVX-512. It targets at the level of instruction sets, though, not specific microarchitectures.