silicon atlasTHE HARDWARE REFERENCE
العربية
Reference/Inside the CPU
CPU & cores

Out-of-order execution & renaming

Run ready work early, then commit the results in program order.

The order you write is the contract for results, not always the order of execution.
Rename map

Maps names to physical registers.

LIVE EXPERIMENT

Follow an instruction

Runs on your device
12345678910
I1
F
D
E
M
W
I2
F
D
E
M
W
I3
F
D
E
M
W
I4
F
D
E
M
W
I5
F
D
E
M
W
I6
F
D
E
M
W
F · FetchD · DecodeE · ExecuteM · MemoryW · Writeback
Instructions6
Total cycles10
Visible cycle1

Overlap improves throughput. Dependencies introduce bubbles unless the implementation can forward or do independent work.

What this model includes

Five-stage, single-issue teaching model. Dependent mode inserts two idle issue cycles per instruction; real forwarding and hazards vary.

FOLLOW THE MECHANISM

What happens inside

1

Remove false dependencies

Writing the same architectural register twice can create name dependencies unrelated to data flow. Renaming maps architectural names onto physical registers, removing write-after-read and write-after-write constraints. A true read-after-write dependency remains: the consumer still needs the producer’s value.

2

Schedule and retire

Ready operations issue when operands and resources are available. A reorder buffer tracks in-flight operations; retirement commits architectural effects in order. Load/store queues track memory dependencies and may speculate on addresses. A full queue, a long miss, or an unresolved branch bounds the look-ahead window.

PUT IT TO WORK

What this means for your code

Low-level engineer

Watch instruction-window limits, register pressure, and dependency chains. More unrolling can expose parallelism but also cause spills or instruction-cache pressure.

Software developer

Expose independent computations and use compact data. The core cannot discover unlimited parallelism beyond a blocking dependency or its finite queues.

GO TO THE SOURCE

Read the actual specifications

These references supply the underlying contracts and implementation details. The diagrams here are simplified teaching models.

Intel · Optimization reference manualsIntel
Linux · Memory barriersLinux kernel documentation

Keep following the connection

Understood the idea? Keep a note of your progress.