Menu

Anatomy of a CPU: how every part of a modern CPU works together
📰

Anatomy of a CPU: how every part of a modern CPU works together

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·18 days ago
#vO0IUQ0q
#adafruit#techspot#instruction#units#cache
Reading 0:00
15s threshold

Anatomy of a CPU: how every part of a modern CPU works together

Julio Franco has posted an explainer at TechSpot that walks through the parts of a modern processor and how they work together. It follows the path an instruction takes, from the program counter and the fetch stage, through decode, out to the arithmetic logic units, and back again as results are written and retired.

Along the way it covers the instruction set architecture, with x86, Arm and RISC-V as the examples, plus registers, the cache hierarchy from L1 out to RAM, pipelining, branch prediction and out-of-order execution. The piece also explains how x86 chips break long instructions into micro-ops and cache them, so repeated code skips the decoders.

The second half is about what a CPU has become. Integrated graphics, NPUs, media engines and vector units now take up much of the die. Cores are mixed between performance and efficiency types, chips are split into chiplets or tiles, and the article closes with a tour of AMD’s Zen 5 core as a worked example of the concepts.

See more at techspot.com.