Design, Implementation and Performance Comparison of Different Branch Predictors on Pipelined-CPU

Syed Ali Imran Quadri, Mohd Ziauddin Jahangir
{"title":"Design, Implementation and Performance Comparison of Different Branch Predictors on Pipelined-CPU","authors":"Syed Ali Imran Quadri, Mohd Ziauddin Jahangir","doi":"10.1109/ICCECE.2017.8526196","DOIUrl":null,"url":null,"abstract":"Branch predictors are implemented on pipelined CPUs having different types of instructions. Both unconditional and conditional branches are implemented utilizing different instruction set formats of the CPU. A basic pipelined CPU consists of three stages Fetch, Decode, and Execute. All the instructions are executed in parallel, hence every stage is busy with an instruction which saves the wastage of time and increases the performance. Hazards will occur because of Conditional branches in the pipeline which changes the sequential flow of execution. To overcome these hazards, the pipeline should be made empty and loaded with appropriate instruction which avoids the wastage of time. Hence Branch predictors are essential in CPUs as it saves the wastage of time by guessing the correct sequence of instruction as the conditional branches changes the sequence of instructions. Three types of Branch Predictors are implemented on pipelined CPUs separately which are simulated, synthesized and bit-files are generated using Xilinx ISE tool, the bit-files are later dumped on Xilinx SPARTAN-6 board and the results are analyzed using CHIPSCOPE.","PeriodicalId":325599,"journal":{"name":"2017 International Conference on Computer, Electrical & Communication Engineering (ICCECE)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 International Conference on Computer, Electrical & Communication Engineering (ICCECE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCECE.2017.8526196","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Branch predictors are implemented on pipelined CPUs having different types of instructions. Both unconditional and conditional branches are implemented utilizing different instruction set formats of the CPU. A basic pipelined CPU consists of three stages Fetch, Decode, and Execute. All the instructions are executed in parallel, hence every stage is busy with an instruction which saves the wastage of time and increases the performance. Hazards will occur because of Conditional branches in the pipeline which changes the sequential flow of execution. To overcome these hazards, the pipeline should be made empty and loaded with appropriate instruction which avoids the wastage of time. Hence Branch predictors are essential in CPUs as it saves the wastage of time by guessing the correct sequence of instruction as the conditional branches changes the sequence of instructions. Three types of Branch Predictors are implemented on pipelined CPUs separately which are simulated, synthesized and bit-files are generated using Xilinx ISE tool, the bit-files are later dumped on Xilinx SPARTAN-6 board and the results are analyzed using CHIPSCOPE.
流水线cpu上不同分支预测器的设计、实现及性能比较
分支预测器在具有不同类型指令的流水线cpu上实现。无条件分支和条件分支都是利用CPU的不同指令集格式来实现的。一个基本的流水线CPU由三个阶段组成:读取、解码和执行。所有的指令都是并行执行的,因此每个阶段都忙于一条指令,从而节省了时间的浪费并提高了性能。由于管道中的条件分支改变了执行的顺序流,因此会发生危险。为了克服这些危险,管道应该清空并装载适当的指令,以避免浪费时间。因此,分支预测器在cpu中是必不可少的,因为当条件分支改变指令序列时,它通过猜测正确的指令序列来节省时间浪费。三种分支预测器分别在流水线cpu上实现,采用Xilinx ISE工具进行模拟、合成并生成位文件,将位文件转储到Xilinx SPARTAN-6板上,并使用CHIPSCOPE对结果进行分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信