O'Reilly logo

The Unabridged Pentium 4 IA32 Processor Genealogy by Bob Colwell, Tom Shanley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required