سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top