0

而超标量 CPU 通常也是流水线的。为什么流水线超标量执行被认为是不同的性能增强技术?

4

1 回答 1

0

A superscalar processor can execute more than one instruction during a clock cycle by simultaneously dispatching multiple instructions to different execution units on the processor. Source: Wikipedia

Instruction pipelining attempts to keep every part of the processor busy with some instruction by dividing incoming instructions into a series of sequential steps (the eponymous "pipeline") performed by different processor units with different parts of instructions processed in parallel. Source: Wikipedia

Simply put, superscalar CPU executes few instruction in parallel (i.e. adds two pairs of numbers), while scalar CPU with pipeline executes different part of instructions in parallel (i.e. adds just one pair of numbers, but also decodes next instruction at the same time).

于 2018-02-26T10:52:09.393 回答