News for hackers. Stuff that matters.
Re:Farbfeld – A suckless image format by nightcracker on Friday January 15, 2016 @08:56AM (#10909278)
For SIMD you can use _mm<width>_shuffle_epi8 to swap endianness in a single cycle.
Re:Farbfeld – A suckless image format by mtklein on Friday January 15, 2016 @09:29AM (#10909471)
(Just FYI, this only works with SSSE3+, which to be fair is essentially all x86 machines. It's also >1 cycle on mobile x86 chips, which is very frustrating.)