Comment

Comment by Const-me

Exotic is the most interesting one. For example, I recently needed a fast way to flip order of bits in each byte of a long buffer. Did that in 8 AVX2 instructions / 32 bytes (which include load and store), by using 16-bytes long lookup tables for VPSHUFB.
parent Const-me 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton