Shuffle / Permute cleanup
Lokathor opened this issue · 1 comments
Lokathor commented
Difference between them:
- Shuffle is actually
a = shuf(a, b, imm)
(destructive) - Permute is
a = perm(b, imm)
(immutable)
So permute
has a lot less register pressure, and should be preferred when possible, if it's available.
Lokathor commented
Also the interfacing of these things is kinda bad right now and we could probably make it easier to use.