Instruction Set Changes

Non-MMX Instructions

CMPXCHG8B

Compare and exchange eight bytes. Compares two 8-byte data objects:

  • Compares 64-bit value in EDX:EAX with a value in memory.

  • If equal, the value in ECX:EBX is stored into the specified memory operand.

  • If unequal, the contents of the memory operand is copied into EDX:EAX.

Can be used with a LOCK prefix to execute it as an atomic operation.

The processor never produces a locked read without producing a subsequent locked write. The destination operand always receives a write regardless of the compare result. The destination operand is written back if the compare fails; otherwise, the source operand is written into the destination.

RDTSC

Loads the current 64-bit TSC value into EDX:EAX (upper 32 ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.