Skip to main content
Filter by
Sorted by
Tagged with
4 votes
0 answers
91 views

"Repacking" 64 to 40 bits in AVX2

I have an array of 64-bit words, which I need to compact by removing the most significant 24 bits of each 64-bit word. Essentially this code in pure C: void repack1(uint8_t* out, uint64_t* in) { ...
swineone's user avatar
  • 2,960