3 ms·
Do you recall which machines VPCOMPRESSB works on? I think it's next generation Icelake? Or is it there already on Cannonlake? And along the same lines, is the
by nkurz 8y ago
Do you recall which machines VPCOMPRESSB works on? I think it's next generation Icelake? Or is it there already on Cannonlake? And along the same lines, is there a good general way of looking this up?
Coincidentally, searching for this, I found Geoff Langdale's blog post where in addition to describing VPCOMPRESSB as 'dynamiting the trout stream', he also describes something very close to zwegner's PEXT approach: https://branchfree.org/2018/05/22/bits-to-indexes-in-bmi2-and-avx-512/ https://branchfree.org/2018/05/22/bits-to-indexes-in-bmi2-an...
- BeeOnRope 8y agoIt's not in Cannonlake (nor the W variants). The D and Q versions are in SKX though and they are 4L2T IIRC. You need a CPU with VBMI2 for the B variant, can't remember off the top of my head if Icelake has that.