News for hackers. Stuff that matters.
Re:A note on mask registers (AVX-512) by BeeOnRope on Thursday December 05, 2019 @02:33PM (#21715600)
Author here, happy to answer any questions or for any feedback!
Re:A note on mask registers (AVX-512) by fluffything on Friday December 06, 2019 @03:28AM (#21720083)
Is zeroing a mask register a common operation? I'd suspect that setting all mask bits would be much more common.

I mean, if you are going to zero the register, the real optimization would be to completely skip emitting any instructions for the operation you are going to perform, since it probably isn't going to do anything if the mask is cleared.

Re:A note on mask registers (AVX-512) by ylk1 on Thursday December 05, 2019 @03:31PM (#21716161)
Great article as usual! Nice analysis. btw, just wondering, were you a processor architect in your previous roles?
Re:A note on mask registers (AVX-512) by BeeOnRope on Thursday December 05, 2019 @03:51PM (#21716343)
No, my training and background is on the software side and so the hardware stuff is only a hobby.