Testing which trits are set in a binary representation

后端 未结 0 1642
灰色年华
灰色年华 2020-11-22 06:33

I have a problem for which I have eight elements that can contain 0, 1, or 2. I can easily represent this in 16 bits, but for SIMD efficiency reasons, I need it to occupy 13

相关标签:
回答
  • 消灭零回复
提交回复
热议问题