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,555
  • 31
  • 31
  • 45
pichlbaer
  • 923
  • 1
  • 10
  • 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
  • 40,271
  • 12
  • 71
  • 104