gpt4 book ai didi

x86 - x86 是 RISC 还是 CISC?

转载 作者:行者123 更新时间:2023-12-03 07:24:30 26 4
gpt4 key购买 nike

根据维基百科,x86 是 CISC 设计,但我也听说/读到它是 RISC。什么是正确的?我还想知道为什么它是 CISC 或 RISC。什么决定了设计是 RISC 还是 CISC? 仅仅是微处理器所具有的机器语言指令的数量,还是还有其他决定架构的特征?

最佳答案

x86 是 CISC 架构。指令数量是一个重要因素,因为所有 cisc 架构都具有更多指令。此外,由于 cisc 中的指令很复杂,它们可能需要 >1 个周期才能完成,而在 RISC 中它们应该是单周期。主要区别如下:

+------------------------------+------------------------------+
| CISC | RISC |
+------------------------------+------------------------------+
| Emphasis on hardware | Emphasis on software |
| . | |
| Includes multi-clock | Single-clock, |
| complex instructions | reduced instruction only |
| . | |
| Memory-to-memory: | Register to register: |
| "LOAD" and "STORE" | "LOAD" and "STORE" |
| incorporated in instruction | are independent instructions |
| . | |
| Small code sizes, | Low cycles per second, |
| high cycles per second | large code sizes |
| . | |
| Transistors used for storing | Spends more transistors |
| complex instructions | on memory registers |
+------------------------------+------------------------------+

如需进一步研究,请参阅此处: http://www-cs-faculty.stanford.edu/~eroberts/courses/soco/projects/risc/risccisc/

关于x86 - x86 是 RISC 还是 CISC?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13071221/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com