- 1、本文档共204页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Pipelining and Exploiting Instruction-Level Parallelism (ILP) Pipelining increases performance by overlapping the execution of independent instructions. The CPI of a real-life pipeline is given by (assuming ideal memory): Pipeline CPI = Ideal Pipeline CPI + Structural Stalls + RAW Stalls + WAR Stalls + WAW Stalls + Control Stalls Pipelining and Exploiting Instruction-Level Parallelism (ILP) Pipelining and Exploiting Instruction-Level Parallelism (ILP) Pipelining increases performance by overlapping the execution of independent instructions(ILP). The CPI of a real-life pipeline is given by (assuming ideal memory): Pipeline CPI = Ideal Pipeline CPI + Structural Stalls + RAW Stalls + WAR Stalls + WAW Stalls + Control Stalls A basic instruction block is a straight-line code sequence with no branches in, except at the entry point, and no branches out except at the exit point of the sequence . The amount of parallelism in a basic block is limited by instruction dependence present and size of the basic block. In typical integer code, dynamic branch frequency is about 15% (average basic block size of 7 instructions). Increasing Instruction-Level Parallelism A common way to increase parallelism among instructions is to exploit parallelism among iterations of a loop (i.e Loop Level Parallelism, LLP). This is accomplished by unrolling the loop either statically by the compiler, or dynamically by hardware, which increases the size of the basic block present. In this loop every iteration can overlap with any other iteration. Overlap within each iteration is minimal. for (i=1; i=1000; i=i+1;) x[i] = x[i] + y[i]; In vector machines, utilizing vector instructions is an important alternative to exploit loop-level parallelism, Vector instructions operate on a number of data items. The above loop would requi
您可能关注的文档
- 高危高血压人群抗栓治疗及其抗栓的安全性范例.pptx
- 常用照明灯具素材.ppt
- 高级焊工技能培训浅析.ppt
- 变频离心式冷冻机变频器内部温度过高故障处理研讨.doc
- 高级宏观经济学浅析.ppt
- 变速箱厂总平面布置设计2012研讨.doc
- 变压器的研讨.doc
- 变压器试验技师研讨.doc
- 变压吸附制氮说明书研讨.doc
- 变压吸附制氧技术方案研讨.doc
- 一元一次方程--5.1.2等式的性质(市级优质课赛课公开课一等奖)课件-人教版七年级数学上册.pptx
- 整式--4.2整式的加法与减法--去括号(市级优质课赛课公开课一等奖)课件-人教版七年级数学上册.pptx
- 立体图形与平面图形--从不同方向看立体图形及立体图形的展开图(市级优质课赛课公开课一等奖)课件-人教版七年级数学上册.pptx
- 一元一次方程复习课(上课实用)课件-新人教版七年级数学上册.pptx
- xx公司年产9000吨水泥添加剂和混凝土添加剂项目预评价定稿.doc
- XX化工有限公司50万吨年(一期30万吨)烧碱及25万吨年片碱项目职业病危害控制效果评价报告书.doc
- 畜牧兽医法规(电子版) .pdf
- 掌握社交技巧的关键!2024年最新人际关系指南 .pdf
- 分析化学题库精华版 .pdf
- 答案版-试卷-光网络技术支持-2005年产品技术大比武试卷(含答案).pdf
文档评论(0)