- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话: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
您可能关注的文档
最近下载
- Asprova高精度排程软件Ver.5.0用户手册.pdf
- 义务教育劳动课程标准(2022年版).pdf VIP
- 群文阅读:《硝烟中的爱国者》PPT课件38页.pptx
- 江苏省南京市联合体2024-2025学年九年级(上)期末物理试卷(含答案).pdf VIP
- 《六度人脉》导读.ppt VIP
- 2024年执业药师(药学四科合一)考试真题.pdf VIP
- 2025初中英语语法思维导图+练习(详细).docx
- 新疆克拉玛依市独山子区综合基础知识历年真题汇总 (含答案解析).docx VIP
- 【德科地产频道·万科杭州】启动:超级底盘(上).pdf VIP
- 2024年江苏省普通高中学业水平合格性考试调研学生物试题(解析版).docx VIP
原创力文档


文档评论(0)