Mill Computing, Inc. › Forums › The Mill › Architecture › pdep and pext instructions › Reply To: pdep and pext instructions
These instructions are such that it’s pointless to try to emulate them in software. Instead one would choose a different algorithm altogether if the instructions are not available. They’re quite useful for all sorts of things such as Morton order data layouts for better cache usage, quad tree construction, VLQ encoding, and many others no doubt.