0

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.

General Grievance
  • 4,259
  • 21
  • 28
  • 43
pichlbaer
  • 853
  • 1
  • 9
  • 18

1 Answers1

3

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

Sneftel
  • 37,635
  • 11
  • 65
  • 100