Central Processing Unit
Also known as: CPU, Processor, Microprocessor
Main processor of a computer, which fetches, decodes and executes program instructions and coordinates the operation of other components.
The central processing unit (CPU) is the component that runs software. It repeatedly fetches an instruction from memory, decodes it and executes it, performing arithmetic and logic in its arithmetic logic unit, moving data between memory and its internal registers and deciding which instruction to run next. The set of instructions a CPU understands is defined by its instruction set architecture, such as x86 or ARM. Since the 1970s most CPUs have been microprocessors, a whole processor on a single chip, and since the mid-2000s most have contained several independent cores that can run separate tasks simultaneously.
The first commercially available single-chip microprocessor, the Intel 4004, appeared in 1971. Over the following decades, processors gained performance through higher clock speeds, wider data paths and techniques such as pipelining, which overlaps the stages of successive instructions, superscalar execution, which issues several instructions at once, out-of-order execution and branch prediction. Layers of fast cache memory hide the slower speed of main memory. Around the mid-2000s, power and heat limits stopped clock speeds from rising quickly, and designers turned to multiple cores and specialized units for additional performance.
CPUs remain the general-purpose heart of computers, but much demanding work now runs on specialized processors such as GPUs and NPUs, often combined with CPU cores on a single system on a chip. Performance-boosting techniques have also introduced security problems: the Spectre and Meltdown vulnerabilities disclosed in 2018 showed that speculative execution could leak data between programs. The CPU market is shaped by a small number of designers and manufacturers, by licensing of instruction sets and by the open RISC-V architecture, which allows anyone to build compatible processors.
Key points
- A CPU executes program instructions in a repeating fetch, decode and execute cycle.
- The Intel 4004 of 1971 was the first commercially available single-chip microprocessor.
- Since the mid-2000s, gains have come mainly from more cores and specialized units rather than clock speed.
- Speculative execution flaws such as Spectre and Meltdown showed how performance features can create security risks.
Related entries
Instruction Set Architecture
Abstract specification of the instructions, registers, data types and memory model a processor supports, forming the contract between hardware and software.
x86
Family of instruction set architectures descended from Intel's 8086 processor of 1978, dominant in personal computers and servers for decades.
ARM Architecture
Family of power-efficient RISC instruction set architectures, licensed by Arm Holdings, that runs nearly all smartphones and a growing share of computers.
RISC-V
Open, royalty-free instruction set architecture that anyone may use to design and build processors, created at the University of California, Berkeley.
Graphics Processing Unit
Highly parallel processor originally designed to render images, now also widely used for scientific computing and for training and running AI models.
Transistor
Semiconductor device that amplifies or switches electrical signals and serves as the basic building block of modern electronics and computer chips.
Moore's Law
Observation by Gordon Moore that the number of transistors on an integrated circuit doubles at a regular interval, revised in 1975 to about every two years.
Overclocking
Practice of running a processor, graphics card or memory at a higher clock speed than its manufacturer's rating to gain performance.
Featured in guides
Referenced by
Other entries that discuss or point to Central Processing Unit.
- Application-Specific Integrated Circuit
- Binary Number System
- Boolean Logic
- Computer
- Field-Programmable Gate Array
- Floating-Point Arithmetic
- Gordon Moore
- Hardware
- Integrated Circuit
- Jerry Lawson
- John von Neumann
- Kernel (Operating System)
- Motherboard
- Neural Processing Unit
- Parallel Computing
- Random-Access Memory
- Silicon Lottery
- Steve Wozniak
- System on a Chip
- Trusted Platform Module