The central processing unit of the calculation group: 7. The basic conceptual performance indicators and influencing factors of the instruction pipeline

Basic concepts of instruction pipeline

Definition of instruction pipeline

Insert picture description here

In different stages of instruction execution, the hardware used is different, and the control signals are different; when the hardware and control signals are different, can we execute multiple instructions in parallel at different stages of the instruction? Such a solution is called pipeline. Graphically represented:
Insert picture description here

How the instruction is executed

Insert picture description here

The representation method of the pipeline

Insert picture description here

Performance indicators of the pipeline

1. Throughput

Insert picture description here

2. Speedup

Insert picture description here

3. Efficiency

Insert picture description here

Influencing factors of instruction pipeline

Five-stage instruction pipeline

Insert picture description here

For details, please refer to the central processing unit of the calculation group: 8, five-stage instruction pipeline

Influencing factors

Insert picture description here

1. Structure related (mutual exclusion issues)

Insert picture description here

1. Method 1: Block instruction 3
2. Method 2: Divide the memory into data memory and instruction memory, that is, divide Reg into data memory and instruction memory

2. Data related (synchronization issues)

Insert picture description here

1. Suspend
2. Add nop
Insert picture description here
3. Data bypass technology
Insert picture description here

Example:
Insert picture description here
Insert picture description here

3. Control related

Insert picture description here

Classification of pipelines

Insert picture description here
Insert picture description here

Multi-send technology in pipeline

Insert picture description here

Space Division Multiplexing Technology

Insert picture description here

Time division multiplexing

Guess you like

Origin blog.csdn.net/qq_41587740/article/details/109163615
Recommended