Y
Hacker News
new
|
ask
|
show
|
jobs
by
pbsd
4710 days ago
In the interest of achieving the simplest instruction sequence, I've also found (AVX2):
key = _pdep_u32(key, 0x03030303); key *= 0x01010101; key >>= 24;