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
您可能关注的文档
最近下载
- 保育员应知应会试题三套(含答案).docx VIP
- 药物合成模拟试卷3.pdf VIP
- 江苏苏州工业园区行政审批局辅助人员招聘4人笔试模拟试题附答案详解.docx
- 药物不良反应的观察及护理.pptx
- GB/T-11896-1989 水质-氯化物的测定-硝酸银滴定法.pdf
- 李廉锟《结构力学》(第6版)课后习题详解(考研真题).docx
- 基于协同过滤的音乐推荐系统的设计与实现.pdf VIP
- 2025年海南英语专升本考试真题及参考答案.docx VIP
- 《拉赫玛尼诺夫升C小调前奏曲钢琴谱》..pdf VIP
- 2024年02月新疆可克达拉市金山街道霍城社区2024年面向社会公开招考1名社区专职工作者笔试历年典型考题及考点剖析附答案详解.docx
原创力文档

文档评论(0)