wide icon indicating copy to clipboard operation
wide copied to clipboard

move_mask for integer types

Open Lokathor opened this issue 4 years ago • 2 comments

The only hardware move mask instruction is for i8, so it's unclear what we should do for the other integer types. They could just not support move mask at all, or we could try to... just have them give 16 bits of into even if they're less lanes wide? That's weird, but it is fast.

Something to think about I guess.

Lokathor avatar Aug 19 '20 04:08 Lokathor

Any reason you implement i32x8::move_mask but not i8x32::move_mask? Since as you said, i8x32 is the one for which the instruction exists.

tzcnt avatar Jun 15 '22 04:06 tzcnt

Separate people worked on those types and they each added mostly just what they needed for their own stuff to work. Should be fine enough to add more methods if someone wants to.

Lokathor avatar Jun 15 '22 07:06 Lokathor

This is implemented now, can close the issue

mcroomp avatar Sep 28 '23 20:09 mcroomp