第三章 instruction-level parallelism and its dynamic exploitation

Download 第三章 Instruction-Level Parallelism and Its Dynamic Exploitation

Post on 31-Dec-2015

81 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

第三章 Instruction-Level Parallelism and Its Dynamic Exploitation. 浙大计算机 陈文智 chenwz@zju.edu.cn. 有几种竞争? 结构竞争有几种情况 ?如何 解决 数据竞争有几种情况 ?如何 解决 控制竞争如何解决 ?如何 解决? 多周期以后引进何种新竞争?. 3.5 Instruction-Level Parallelism: Concepts and Challenges. 3.5.1 提高流水线性能的思路 直观思路 : 缩小流水线的 CPI - PowerPoint PPT Presentation

TRANSCRIPT

3.2

2011/10/101 Instruction-Level Parallelism and Its Dynamic Exploitation

chenwz@zju.edu.cn2011/10/102

2011/10/1033.5 Instruction-Level Parallelism: Concepts and Challenges 3.5.1 : CPI CPIunpipelinedSpeedup= ----------------------------- CPIpipelinedCPIpipelined = Ideal pipeline CPI+ pipelined stall cycles per instruction=1+ Structual stalls + RAW stalls + WAR stalls + WAW stalls + Control stalls2011/10/104: CPIpipelined: CPI2011/10/105:

4THA.2A.2A.72.42.32.7,2.82.62.4,2.62.2A.2,2.2G.2,G.3G.4,G.52011/10/1063.5.2 Instruction-Level ParallelismBasic Block ILP is quite small 6-7,15%~25%4~762011/10/107ILP loop-level parallelrism--LLP)[] for (i=1; I

Recommended

View more >