@[TOC]
CISC versus RISC
CISC: Complex Instruction Set RISC: |
RISC: Reduced Instruction Set Computer |
|
---|---|---|
analogy | C language with many library functions | C without library functions |
Design ideas | A single instruction performs a complex basic function. | A command to complete a basic “action”; Multiple instructions combine to perform a complex basic function. |
CISC Ideas: in addition to provide integer addition, subtraction and multiplication instructions in addition, also provide matrix addition instructions, matrix subtraction instructions, matrix multiplication instructions |
RISC Provide only integer addition, subtraction and multiplication instructions |
|
On behalf of | The x86 architecture is mainly used for notebook and desktop computers | ARM architecture, mainly used in mobile phones, tablets, etc |
Instruction and circuit | An instruction can be done by a special circuit | One instruction per circuit, the circuit design is relatively simple, lower power consumption |
implementation | Some complex instructions with pure hardware implementation is very difficult to use the “stored program” design idea, by a more general circuit with storage components to complete an instruction | “Parallel”, “pipeline” |
Divide the above into smaller pieces, as shown in the table below
Take a chestnut
For example, if you forget the previous schematic of how a computer works, you can click on the link below to see it again:Blog.csdn.net/weixin_4552… Among them, the multiplication instruction can access, which must be CISC