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!
[ Parent
| on HN ]