Lokathor/safe_arch

Shuffle / Permute cleanup

Lokathor opened this issue · 1 comments

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.

Also the interfacing of these things is kinda bad right now and we could probably make it easier to use.