Re:Stream VByte: breaking new speed records for integer comp...
by kwillets on Wednesday September 27, 2017 @04:48PM
(#15352180)
This is indeed fast and simple, since the pshufb instruction allows unpacking of bytes into multiple zero-padded words in one step. This technique uses a precomputed table of shuffle patterns, so it's a short sequence of instructions to fetch control information for each 4-word sequence and apply the shuffle given.
[ Parent
| on HN ]
There are no comments on this comment yet.