Question

I have to invert the contents of a 128-bit XMM register.

I've tried it in many different ways, but all I get is a not-so-nice error message.

I'm thankful for all kinds of help.

Was it helpful?

Solution

First, PCMPEQD on some register (passing it as both operands) to load all ones into it. Then, PXOR that register with the input register.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top