- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Lecture 4
ILP:ILP: BranchBranch PredictionPrediction
2011Fall_Ad Computer Architecture
Review
Structural Hazard
Separate/replicate function unit, fully-
pipelinedpipelined functionfunction unitsunits
Data Hazard
RAWRAW: ddoublble-bbump, fforwardiding pathth, siimplle
compiler scheduling
WAR, WAW: implicit register renaming
Control Hazard
Resolve branch asap, Flushing, Predict-not-
taken,taken, PredictPredict-taken,taken, DelayedDelayed-BranchBranch
2/26
2011Fall_Ad Computer Architecture
ControlControl HazardHazard (example(example PPAA-2525))
Flushing: stall until the branch is resolved.
StStallll XX cyclles ifif ddellay sllotts=x
Predict-not-taken:
HHarddware ttakkes allll bbranchhes as nott-ttakken, compililer
need to put frequent case in the not-taken branch
StallStall 00 cyclescycles ifif notnot--takentaken, stallstall XX cyclescycles ifif takentaken
Predict-taken:
HardwareHardware takestakes allall branchesbranches asas takentaken, cancan gogo forwardforward
only when get the branch target . Compiler need to put
frequent case in the taken branch
Stall y cycles waiting for branch target; stall X cycles if
not taken.
DDellayedd BBranchh:
3/26
2011Fall_Ad Computer Architecture
StaticStatic branchbranch predictionprediction
SStallll ffor controll hhazardds
= ff ((branchbranch frequencyfrequency,, predictionprediction accuracyaccuracy,,
misprediction penalty )
Predict accordingg to statistics : (p(predict taken))
Mispredition: 9% ~ 59%, average 34%
4/26
2011Fall_Ad Computer Architecture
PredictPredict basedbased onon prof
您可能关注的文档
- L1_Intro高级数据库技术.pdf
- L2_Storage高级数据库技术.pdf
- L3_Indexes高级数据库技术.pdf
- L6-Websearch (1)高级数据库技术.pdf
- massive graph triangulation研究生英文论文.pdf
- note_on_counting_eulerian_circuits研究生英文论文.pdf
- processing theta-join using mapreduce研究生英文论文.pdf
- query optimization for massively parrallel data processing研究生英文论文.pdf
- 01_Intro_AI人工智能导论浙江大学.pptx
- 02_Bayesian人工智能导论浙江大学.pptx
- Lect_Lec_6_Speculation浙江大学体系结构.pdf
- Lect_Lec_7_Multiple_Issue浙江大学体系结构.pdf
- Lect_Lec_8_GlobleScheduling浙江大学体系结构.pdf
- Lect_Lec_10_VectorProcessing浙江大学体系结构.pdf
- Lect_Lec_11_MultiProcessor浙江大学体系结构.pdf
- Lect_Lec_13_Synchronization浙江大学体系结构.pdf
- 第1讲课件 中国的国情.ppt
- 第5讲课件 中国特色社会主义社会建设.ppt
- 第7讲课件 中国共产党的建设.ppt
- AI-CH1人工智能引论.pdf
最近下载
- 小学数学教学中生成式AI辅助下的几何图形认知与构造教学研究课题报告.docx
- 2025年社区工作者招聘考试试卷及.docx VIP
- 江苏省苏州市2023-2024学年七年级上学期期中考试语文试卷(解析版).doc VIP
- 1000Basic English Words1000核心单词单词表.pdf VIP
- 21BJ12-1 无障碍设施_北京通用图集建筑工程图集.docx VIP
- 《智能网联汽车概论》高职PPT完整全套教学课件.pptx
- 2024年乐山新沐投资运营集团有限公司人员招聘笔试备考题库及答案解析.docx VIP
- 2026年初级经济师之初级经济师人力资源管理考试题库500道附完整答案(各地真题).docx VIP
- 新22J02 屋面建筑图集.docx VIP
- 舆论学(自考08257)复习必备题库资料(含真题、典型题).pdf VIP
原创力文档


文档评论(0)