
ALT Those scary mnemonics vpmovzxbd, vmovmskpd, vpermps… have you seen these sometimes and felt your brain immediately shut down? I sure have. The mnemonics of the original x86 instruction set are simple, like mov and add, because their descriptions are also simple. With these vector instructions, whole complex sentences get compressed into less than a dozen letters. To make them less scary, you have to learn how to quickly parse them. They unpack like a matryoshka doll. For example, in vpmovzxbd: the core is mov: "move" (actually copy) values zx means "with zero extension" (as opposed to sign extension) movzx is a pre-existing x86 mnemonic p stands for "packed", and means the values are placed right next to each other, without any padding v means "vector" and signals an AVX instruction b is for "byte", an 8-bit integer d is for "double word", a 32-bit integer























