2 ms·
Swizzles are among the most powerful instructions in all CPUs or GPUs. AVX "vpshufb", CUDA PTX's "shfl.sync", and AMD's DPP / ds_permute / ds_bpermute instruct
by dragontamer 8y ago
Swizzles are among the most powerful instructions in all CPUs or GPUs.
AVX "vpshufb", CUDA PTX's "shfl.sync", and AMD's DPP / ds_permute / ds_bpermute instructions can very quickly, and efficiently, move data around.
Its not so much that these instructions are hard: its that these instructions are so flexible. Everyone who studies them instinctively knows that they are among the best operators for data movement ever invented.
It seems like this "Sizzle Inventor" provides computer-based optimization, to search for ideal swizzles. That's really cool.