3 ms·
Yes use LUTs. But 4-LUT is also called pshufb and you never ever need to touch the relatively slow load/store units. The space of computations you can do with
by dragontamer 3y ago
Yes use LUTs.
But 4-LUT is also called pshufb and you never ever need to touch the relatively slow load/store units.
The space of computations you can do with 4-LUT PSHUFB instructions, followed up with simple bit instructions (add, or, not, xor, multiply) is rather insane.
- tgv 3y agoThe space you can cover in a table with n values is much, much larger, even for small values of n (say 100).