News for hackers. Stuff that matters.
Re:Removing characters from strings faster with AVX-512 by 37ef_ced3 on Sunday May 01, 2022 @10:20AM (#31225206)
AVX-512 is an elegant, powerful, flexible set of masked vector instructions that is useful for many purposes. For example, low-cost neural net inference (https://NN-512.com). To suggest that Intel and AMD should instead make "existing REPB prefixes a lot faster" is missing the big picture. The masked compression instructions (one of which is used in Lemire's article) are endlessly useful, not just for stripping spaces out of a string!
Re:Removing characters from strings faster with AVX-512 by mhh__ on Sunday May 01, 2022 @11:04AM (#31225589)
Many people seem to think AVX-512 is just wider AVX, which is a shame.

NN-512 is cool. I think the Go code is pretty ugly but I like the concept of the compiler a lot.