Using the most unhinged AVX-512 instruction to make fastest phrase search algo
gab-menezes.github.io
Using the most unhinged AVX-512 instruction to make fastest phrase search algo
1–10 of 62 posts
Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#2Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#3Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#4Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#5The most unhinged AVX-512 instruction is GF2P8AFFINEQB.
Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#6The most unhinged AVX-512 instruction is GF2P8AFFINEQB.
Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#7The most unhinged AVX-512 instruction is GF2P8AFFINEQB.
Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#8Spoiler if you don’t want to read through the (wonder but many) paragraphs of exposition: the instruction is `vp2intersectq k, zmm, zmm`.
Meaning... this entire effort was for something that's faster on only a single kind of CPU (Zen 5).
This article is honestly one of the best I've read in a long time. It's esoteric and the result is 99.5% pointless objectively, but in reality it's incredibly useful and a wonderful guide to low-level x86 optimization end to end. The sections on cache alignment and uiCA + analysis notes are a perfect illustration of "how it's done."
Re: Using the most unhinged AVX-512 instruction to make fastest phrase search algo
#9Imo the most "unhinged" cpus for AVX-512 are early batches of Alder Lakes which is the only cpu family that has nearly full coverage of all existing avx-512 subsets.