Start64!Today we'll look at three instructions, MOVMSKPS, MOVMSKPD and PMOVMSKB. They move the signs of elements in SSE registers into an x86 register. They are especially useful after the SIMD comparison instructions.

I made an error at the end, the final example's first move should be MOVAPS instead of MOVUPS and the data should be aligned to 16 bytes. I fixed this on the slides on the website (I think?) and I'll add an annotation to the video.

x64 Assembly and C++ Tutorial 54: SSE Moving Sign Masks - YouTube