# 处理器（计算）

处理器是计算机中执行指令的部件：它从存储器中取出程序命令，对其解码，执行指定的算术或逻辑运算，并存储结果。这一术语既涵盖通用计算机的中央处理器（CPU），也涵盖图形处理器（GPU）、神经网络处理器（NPU）、微控制器和专用集成电路（ASIC）等专用引擎。<sup>[1](https://www.ibm.com/think/topics/microprocessor)</sup><sup> • </sup><sup>[2](https://www.intel.com/content/www/us/en/newsroom/tech101/client-computing/processor-guidebook-the-basics-from-cpus-to-asics.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心组件 | 算术逻辑单元（ALU）、控制单元、寄存器、缓存存储器以及总线接口，集成于单一电路之中<sup>[1](https://www.ibm.com/think/topics/microprocessor)</sup> |
| 首款商用微处理器 | 英特尔4004，1971年11月推出：一枚芯片上集成2300个晶体管的4位CPU，为日本计算器制造商Busicom设计<sup>[3](https://www.computerhistory.org/siliconengine/microprocessor-integrates-cpu-function-onto-a-single-chip/?trk=article-ssr-frontend-pulse_little-text-block)</sup> |
| 4004的制造工艺 | 2英寸p沟道硅栅MOS晶圆，芯片面积12平方毫米，最小线宽10微米，16引脚封装<sup>[4](https://www.computerhistory.org/revolution/story/285)</sup> |
| 体系结构与微体系结构 | 指令集体系结构（ISA）定义处理器支持哪些指令；微体系结构定义这些指令如何在硬件中实现<sup>[5](https://www.arm.com/glossary/isa)</sup> |
| 时钟频率 | 以GHz为单位；3.2 GHz的CPU每秒执行32亿个周期，时钟频率仅在相同品牌和代际之间才可比较<sup>[6](https://www.intel.com/content/www/us/en/gaming/resources/cpu-clock-speed.html)</sup> |
| 存储层次 | 在现代服务器核心上，L1缓存访问最多约需10个周期，L2约10至20个周期，共享末级缓存超过20个周期<sup>[7](https://learn.arm.com/learning-paths/servers-and-cloud-computing/performix-memory-access/how-to-0/)</sup> |
| 多线程 | 同时多线程（SMT）让一个物理核心同时执行多个线程，最常见的是每核心两个线程<sup>[8](https://www.amd.com/en/blogs/2025/simultaneous-multithreading-driving-performance-a.html)</sup> |
| 一种ISA的规模 | Arm的RISC架构支撑着超过3500亿枚已出货芯片，从物联网设备到超级计算机<sup>[9](https://www.arm.com/architecture/cpu)</sup> |

## 处理器做什么

处理器运行一个循环往复的周期：从存储器取出一条指令，对其解码，执行所需操作，并存储结果。<sup>[1](https://www.ibm.com/think/topics/microprocessor)</sup> 算术逻辑单元负责计算和数据比较，控制单元解释指令并指挥处理器的基本操作，寄存器则提供小型、快速的存储，在计算过程中保存数据和指令。<sup>[1](https://www.ibm.com/think/topics/microprocessor)</sup> 在传统的计算机框图中，CPU是实际执行计算的部分，它与存储系统通信，存储系统既保存告诉它该做什么的指令，也保存它所操作的数据。<sup>[10](https://computerhistory.org/blog/about-the-computer-history-museums-ibm-1401-machines/)</sup>

**指令集。** 指令集体系结构（ISA）是处理器硬件与其所运行软件之间的抽象接口。它定义了支持的指令、数据类型、寄存器、存储器访问模型和I/O处理方式，使得内部设计不同的处理器能够运行相同的二进制软件。<sup>[5](https://www.arm.com/glossary/isa)</sup> 常见的分类有RISC（精简指令集计算），如Arm和RISC-V，以及CISC（复杂指令集计算），如x86。<sup>[5](https://www.arm.com/glossary/isa)</sup> ISA常被描述为硬件与软件之间的契约：各实现在微体系结构上可自由变化，涉及功耗、性能、面积、流水线长度和缓存层级，而软件兼容性得以保持。<sup>[9](https://www.arm.com/architecture/cpu)</sup>

## 从房间大小的CPU到一枚芯片

整个20世纪60年代，计算机的中央处理器由许多分立元件构成。此后设计者开始致力于将CPU功能集成到少数几枚MOS大规模集成电路芯片上。1969年，李·博伊塞尔（Lee Boysel）创造了四相系统公司的AL-1，这是一个可扩展至32位的8位CPU切片；1970年，加勒特航空研究公司的史蒂夫·盖勒（Steve Geller）和雷·霍尔特（Ray Holt）在六枚金属栅芯片上为F-14A中央大气数据计算机设计了MP944芯片组。<sup>[3](https://www.computerhistory.org/siliconengine/microprocessor-integrates-cpu-function-onto-a-single-chip/?trk=article-ssr-frontend-pulse_little-text-block)</sup>

**英特尔4004。** 决定性的一步来自一份定制芯片合同。当日本计算器制造商Busicom请求定制集成电路时，英特尔的泰德·霍夫（Ted Hoff）提出了一个替代方案：仅用四枚芯片实现一台通用4位计算机。<sup>[4](https://www.computerhistory.org/revolution/story/285)</sup> 霍夫和[斯坦利·马佐尔](https://www.edgepedia.org/zh/stanley-mazor)（Stanley Mazor）将4004构想为MCS-4微型计算机芯片组的成员；1971年，[费德里科·法金](https://www.edgepedia.org/zh/federico-faggin)（Federico Faggin）在[岛正利](https://www.edgepedia.org/zh/masatoshi-shima)（Masatoshi Shima）的协助下，运用硅栅MOS技术将其2300个晶体管压缩进低成本16引脚封装中。<sup>[3](https://www.computerhistory.org/siliconengine/microprocessor-integrates-cpu-function-onto-a-single-chip/?trk=article-ssr-frontend-pulse_little-text-block)</sup> 该芯片在直径2英寸的晶圆上制造，芯片面积12平方毫米，最小线宽10微米。<sup>[4](https://www.computerhistory.org/revolution/story/285)</sup> 英特尔看准了向其他客户销售的可能性，取得了营销权，并于1971年以MCS-4微型计算机套装的名义推出了该系列；微处理器的第一则广告于1971年11月15日刊登在《电子新闻》上。<sup>[4](https://www.computerhistory.org/revolution/story/285)</sup><sup> • </sup><sup>[11](https://www.computerhistory.org/tdih/november/15/)</sup>

与先前的方案相比，4004将处理器更多的基本逻辑元件集成到了单一芯片上：程序计数器、指令解码与控制逻辑、ALU、数据寄存器，以及它们之间的数据通路。<sup>[12](https://computerhistory.org/blog/who-invented-the-microprocessor/)</sup> 英特尔的下一个处理器是专为计算机终端公司设计的8位8008，于1972年2月发布，由此衍生出8080，并最终演化出x86家族。<sup>[12](https://computerhistory.org/blog/who-invented-the-microprocessor/)</sup> 历史学家仍在争论微处理器是谁发明的，因为AL-1和1971年年中交付给CTC的德州仪器TMX1795等相互竞争的多芯片或单芯片设计，早于或平行于英特尔的工作；但通俗用法最终确定了一个定义，要求处理器的多数或全部元件集成于单一芯片之上，而4004正是这一形态的体现。<sup>[12](https://computerhistory.org/blog/who-invented-the-microprocessor/)</sup>

## 让处理器更快

**时钟频率。** 处理器的时钟频率衡量它每秒执行的周期数，以千兆赫兹表示；在每个周期内，数十亿个晶体管开合，以完成指令所包含的计算。<sup>[6](https://www.intel.com/content/www/us/en/gaming/resources/cpu-clock-speed.html)</sup> 时钟频率仅在相同品牌和代际内部才是有用的比较标准，因为当较新CPU的架构能更高效地处理指令时，它即使时钟频率较低，也可能胜过频率更高的旧款CPU。<sup>[6](https://www.intel.com/content/www/us/en/gaming/resources/cpu-clock-speed.html)</sup> 现代处理器还会标出轻负载下的基础频率，以及在功率、电流和温度限制允许时、高负载下达到的最大睿频频率。<sup>[6](https://www.intel.com/content/www/us/en/gaming/resources/cpu-clock-speed.html)</sup>

**流水线。** 处理器在流水线中重叠执行指令。经典的五级RISC流水线——如MIPS R3000中的那样——依次为取指令、读寄存器并解码、执行或计算地址、访问数据存储器、写回结果，理想情况下每个时钟周期完成一条指令。<sup>[13](https://cs.stanford.edu/people/eroberts/courses/soco/projects/risc/pipelining/index.html)</sup> 实际上，数据依赖和分支指令会造成停顿，而超标量执行（复制流水线级以同时发射多条指令）和动态调度等技术可以恢复吞吐量。<sup>[13](https://cs.stanford.edu/people/eroberts/courses/soco/projects/risc/pipelining/index.html)</sup>

**缓存与存储器。** 处理器速度显著超过存储器速度，缓存存储器的存在就是为了弥合这一差距，将频繁访问的信息存储在靠近处理器的地方。<sup>[14](https://redbooks.ibm.com/docs/MD260032/MD260032-02.html)</sup> 这一层次从寄存器开始，经过L1、L2、L3缓存，直到主存储器和存储设备，每下一层都增加延迟；在现代[Arm Neoverse](https://www.edgepedia.org/zh/arm-neoverse)服务器核心上，L1访问最多约需10个周期，私有L2约10至20个周期，共享末级缓存超过20个周期。<sup>[7](https://learn.arm.com/learning-paths/servers-and-cloud-computing/performix-memory-access/how-to-0/)</sup> L1通常分为独立的指令缓存和数据缓存，L2通常为每个核心私有，L3则在核心之间共享，这对多核工作负载尤其有帮助。<sup>[7](https://learn.arm.com/learning-paths/servers-and-cloud-computing/performix-memory-access/how-to-0/)</sup><sup> • </sup><sup>[14](https://redbooks.ibm.com/docs/MD260032/MD260032-02.html)</sup> 工作负载的性能对处理器必须深入存储层次的哪一层才能取回指令和数据十分敏感。<sup>[15](https://www.ibm.com/support/pages/system/files/inline-files/SC28118726.pdf)</sup>

**核心与线程。** 处理核心是处理器内的物理计算单元，线程是核心所执行的虚拟代码执行流；大多数核心最多可处理两个线程。<sup>[16](https://www.intel.com/content/www/us/en/products/docs/processors/xeon/server-processor-overview.html)</sup> [同时多线程](https://www.edgepedia.org/zh/simultaneous-multithreading)允许单个物理核心同时执行多个线程，最常见的是两个，将两个线程的指令交错送入共享的执行资源，这样当一个线程停顿时，核心不会闲置。<sup>[8](https://www.amd.com/en/blogs/2025/simultaneous-multithreading-driving-performance-a.html)</sup> 移动设计则走另一条效率路线：Arm的big.LITTLE异构架构在一个片上系统中结合高性能和高能效两类处理器，由软件将每项任务分配给合适的核心。<sup>[17](https://www.arm.com/technologies/big-little)</sup>

## 处理器的类型

**CPU。** 中央处理器适合延迟或单核性能至关重要的任务，从串行计算到运行数据库，它是一切现代计算系统不可或缺的部件。<sup>[18](https://www.intel.com/content/www/us/en/products/docs/processors/cpu-vs-gpu.html)</sup>

**GPU。** 图形处理器拥有许多更小、更专用的核心，将处理任务同时分配到众多核心上。GPU擅长高度并行的工作，如渲染画面、处理视频和密集的AI工作负载，与CPU相比，它们将更多硅面积用于计算，更少用于缓存和控制。<sup>[18](https://www.intel.com/content/www/us/en/products/docs/processors/cpu-vs-gpu.html)</sup><sup> • </sup><sup>[19](https://www.intel.com/content/www/us/en/developer/articles/technical/comparing-cpus-gpus-and-fpgas-for-oneapi.html)</sup> GPU可以与CPU集成在同一芯片上，从而节省空间、成本和功耗，也可以独立成卡，配备专用存储器。<sup>[20](https://www.intel.com/content/www/us/en/support/articles/000057824/graphics.html)</sup>

**NPU、微控制器、FPGA和ASIC。** 神经网络处理器加速AI所需的高性能推理任务，在同一处理器上与CPU和GPU协同工作。<sup>[18](https://www.intel.com/content/www/us/en/products/docs/processors/cpu-vs-gpu.html)</sup> 微控制器将处理器与内置存储器以及构成功能完整计算机所需的其他组件结合在一起，针对嵌入式应用中的低成本、低功耗或小尺寸进行定制。<sup>[1](https://www.ibm.com/think/topics/microprocessor)</sup><sup> • </sup><sup>[12](https://computerhistory.org/blog/who-invented-the-microprocessor/)</sup> 现场可编程门阵列（FPGA）可在制造后重新编程以执行特定任务，而专用集成电路（ASIC）则是为某一狭窄用途（如网络加密）专门定制的。<sup>[2](https://www.intel.com/content/www/us/en/newsroom/tech101/client-computing/processor-guidebook-the-basics-from-cpus-to-asics.html)</sup>

## 遗产

单片处理器减小了尺寸和成本，同时提高了速度，延续了从真空管到晶体管再到集成电路的演进，并使软件而非硬连线逻辑成为数字电子设计的关键要素。<sup>[21](https://www.computerhistory.org/internethistory/1970s/)</sup><sup> • </sup><sup>[22](https://computerhistory.org/events/35th-anniversary-intel-4004-microprocessor/)</sup> 正如4004的设计者之一岛正利所说：“微处理器最伟大的发明，是用软件取代了硬连线逻辑。”

## References

1. [What is a microprocessor? IBM](https://www.ibm.com/think/topics/microprocessor)
2. [Processor Guidebook: The Basics from CPUs to ASICs, Intel](https://www.intel.com/content/www/us/en/newsroom/tech101/client-computing/processor-guidebook-the-basics-from-cpus-to-asics.html)
3. [1971: Microprocessor Integrates CPU Function onto a Single Chip, Computer History Museum](https://www.computerhistory.org/siliconengine/microprocessor-integrates-cpu-function-onto-a-single-chip/?trk=article-ssr-frontend-pulse_little-text-block)
4. [Intel's Microprocessor, CHM Revolution](https://www.computerhistory.org/revolution/story/285)
5. [What is Instruction Set Architecture (ISA)? Arm](https://www.arm.com/glossary/isa)
6. [CPU Speed: What Is CPU Clock Speed? Intel](https://www.intel.com/content/www/us/en/gaming/resources/cpu-clock-speed.html)
7. [Understand CPU memory hierarchy and address translation, Arm Learning Paths](https://learn.arm.com/learning-paths/servers-and-cloud-computing/performix-memory-access/how-to-0/)
8. [Simultaneous Multithreading: Driving Performance and Efficiency on AMD EPYC CPUs, AMD](https://www.amd.com/en/blogs/2025/simultaneous-multithreading-driving-performance-a.html)
9. [Arm CPU Architecture, Arm](https://www.arm.com/architecture/cpu)
10. [About the Computer History Museum's IBM 1401 Machines, CHM](https://computerhistory.org/blog/about-the-computer-history-museums-ibm-1401-machines/)
11. [November 15: First Advertisement for Microprocessor Appears, CHM This Day in History](https://www.computerhistory.org/tdih/november/15/)
12. [Who Invented the Microprocessor? CHM](https://computerhistory.org/blog/who-invented-the-microprocessor/)
13. [Pipelining, Stanford University](https://cs.stanford.edu/people/eroberts/courses/soco/projects/risc/pipelining/index.html)
14. [IBM Power11 cache hierarchy and memory access, IBM Redbooks](https://redbooks.ibm.com/docs/MD260032/MD260032-02.html)
15. [LSPR Document SC28-1187, IBM](https://www.ibm.com/support/pages/system/files/inline-files/SC28118726.pdf)
16. [Server Processors: Choosing the Right Server CPU, Intel](https://www.intel.com/content/www/us/en/products/docs/processors/xeon/server-processor-overview.html)
17. [big.LITTLE: Balancing Power Efficiency and Performance, Arm](https://www.arm.com/technologies/big-little)
18. [CPU vs. GPU: What's the Difference? Intel](https://www.intel.com/content/www/us/en/products/docs/processors/cpu-vs-gpu.html)
19. [Compare Benefits of CPUs, GPUs, and FPGAs for oneAPI Workloads, Intel](https://www.intel.com/content/www/us/en/developer/articles/technical/comparing-cpus-gpus-and-fpgas-for-oneapi.html)
20. [Integrated vs. Discrete Graphics, Intel](https://www.intel.com/content/www/us/en/support/articles/000057824/graphics.html)
21. [Internet History of the 1970s, CHM](https://www.computerhistory.org/internethistory/1970s/)
22. [35th Anniversary of the Intel 4004 Microprocessor, CHM](https://computerhistory.org/events/35th-anniversary-intel-4004-microprocessor/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Processors & processor engineering › Processors overview

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/processor-computing

English original: https://www.edgepedia.org/processor-computing
