Article Directory
5.5.1 Basic concepts of instruction pipeline
Reference: Knowing the order of
指令流水定义:
taking instructions, analyzing, and executing
1)
:T=3nt
2)
One overlapping execution method:T=(1+2n)t
3)
Second overlap execution method:T=(2+N)t
流水线的特点:
5.5.2 Classification of pipelines 了解
5.5.3 Factors affecting the pipeline
条件转移指令
TriggerControl related
5.5.4 Performance indicators of the pipeline
1.流水线的吞吐率
: The number of tasks completed by the pipeline per unit time
TP=n/Tk #Tk是处理完n个任务所需时间
TP=n/(k+n-1)Δt
lim(n->∞)TP=1/Δt
2.流水线的加速比
: To complete the same task, the ratio of the time used without the pipeline to the time used by the pipeline
S=T0/Tk #T0表示不用流水线的时间,Tk表示使用流水线时间
S=nkΔt/(k+n-1)Δt
lim(n->∞)S=k
3.流水线的效率
: The ratio of the effective area of the space-time area occupied by completing n tasks to the time used by the n tasks and the total area of the space-time area enclosed by k flow sections.
E=mnΔt/m(m+n-1)Δt #m条指令n段
5.5.5 Basic concepts of superscalar pipeline
1. Superscalar pipeline technology
2. Ultra-pipeline technology 一个时钟周期内一个功能部件使用多次
3. Ultra-long instruction words
with parallelism
例题