I'm converting a variable width set of bit packed instructions (2 bits per symbol, but some symbols take two consecutive codepoints).
I'd like to convert this into a 3-bit fixed width code (there are 6 possible symbols) so I can do lookup table decoding.
Is there an efficient way to do this with SIMD? Most options seem to operate at the byte level.