The Study of Multilevel Branch Prediction
碩士 === 國立交通大學 === 資訊工程系 === 88 === The Study of Multilevel Branch Prediction Student: Gi-Dung Liang Advisor: Dr. Chang-Jiu Chen Department of Computer Science and Information Engineering National Chiao Tung University ABSTRACT...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2000
|
Online Access: | http://ndltd.ncl.edu.tw/handle/91205994043165467234 |
id |
ndltd-TW-088NCTU0392048 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-088NCTU03920482015-10-13T10:59:52Z http://ndltd.ncl.edu.tw/handle/91205994043165467234 The Study of Multilevel Branch Prediction 多層分支預測之研究 Gi-Dung Liang 梁桔端 碩士 國立交通大學 資訊工程系 88 The Study of Multilevel Branch Prediction Student: Gi-Dung Liang Advisor: Dr. Chang-Jiu Chen Department of Computer Science and Information Engineering National Chiao Tung University ABSTRACT Branch instructions are always the performance bottleneck of modern pipelined superscalar processors for their interrupting the steady flow of instruction stream in the pipeline. To resolve the problem, various branch prediction schemes have been proposed. There are three branch prediction schemes widely used today. The simplest one is bimod predictor using 2-bit saturating counters to record the history outcomes of every branch instruction. The 2-level adaptive predictor uses two-level architecture to trace the correlation of nearby branch outcomes. The most complex is the combination predictor, which consists of the bimod and 2-level predictor and uses a meta-table to choose which result to use. Furthermore, it has become necessary to look further ahead in the instruction stream than a single branch for data and instruction prefetching. This approach obviously increases ILP due to the use of trace processors and decoupled-access DRAM. In order for these techniques to be effective they need to have a sufficient lookahead, i.e. to be far enough ahead of processor execution in requesting data. In this thesis, we will propose several multi-level branch prediction mechanisms. In Mubp-Like (Multilevel branch predictor-Like) with not taken BTB (branch target buffer), it uses the last prediction target as the index of the not taken BTB to reduce the predictor size of not taken BTB. In Mubp-Like with taken BTB, it uses the last prediction path as the index of the taken BTB to reduce the predictor size of taken BTB. In Mubp-Like with RIP (reduce interference predictor), we use the auxiliary mechanism, RIP, to reduce the interference of the predictor table due to the loop instructions. We simulate our design using the SimpleScalar tool set. We compare our schemes with the original Mubp scheme proposed by A. Veidenbaum on some of the SPEC95 benchmarks. The simulation result shows that the Mubp-Like with not taken BTB achieves higher accuracy and reduces 30 % hardware cost. In Mubp-Like with taken BTB, it approximately achieves the same accuracy and reduces 60% hardware cost. In Mubp-Like with RIP, the improvement of accuracy is 1% to 2%. Chang-Jiu Chen 陳昌居 2000 學位論文 ; thesis 58 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立交通大學 === 資訊工程系 === 88 === The Study of Multilevel Branch Prediction
Student: Gi-Dung Liang Advisor: Dr. Chang-Jiu Chen
Department of Computer Science and Information Engineering
National Chiao Tung University
ABSTRACT
Branch instructions are always the performance bottleneck of modern pipelined superscalar processors for their interrupting the steady flow of instruction stream in the pipeline. To resolve the problem, various branch prediction schemes have been proposed. There are three branch prediction schemes widely used today. The simplest one is bimod predictor using 2-bit saturating counters to record the history outcomes of every branch instruction. The 2-level adaptive predictor uses two-level architecture to trace the correlation of nearby branch outcomes. The most complex is the combination predictor, which consists of the bimod and 2-level predictor and uses a meta-table to choose which result to use. Furthermore, it has become necessary to look further ahead in the instruction stream than a single branch for data and instruction prefetching. This approach obviously increases ILP due to the use of trace processors and decoupled-access DRAM. In order for these techniques to be effective they need to have a sufficient lookahead, i.e. to be far enough ahead of processor execution in requesting data.
In this thesis, we will propose several multi-level branch prediction mechanisms. In Mubp-Like (Multilevel branch predictor-Like) with not taken BTB (branch target buffer), it uses the last prediction target as the index of the not taken BTB to reduce the predictor size of not taken BTB. In Mubp-Like with taken BTB, it uses the last prediction path as the index of the taken BTB to reduce the predictor size of taken BTB. In Mubp-Like with RIP (reduce interference predictor), we use the auxiliary mechanism, RIP, to reduce the interference of the predictor table due to the loop instructions.
We simulate our design using the SimpleScalar tool set. We compare our schemes with the original Mubp scheme proposed by A. Veidenbaum on some of the SPEC95 benchmarks. The simulation result shows that the Mubp-Like with not taken BTB achieves higher accuracy and reduces 30 % hardware cost. In Mubp-Like with taken BTB, it approximately achieves the same accuracy and reduces 60% hardware cost. In Mubp-Like with RIP, the improvement of accuracy is 1% to 2%.
|
author2 |
Chang-Jiu Chen |
author_facet |
Chang-Jiu Chen Gi-Dung Liang 梁桔端 |
author |
Gi-Dung Liang 梁桔端 |
spellingShingle |
Gi-Dung Liang 梁桔端 The Study of Multilevel Branch Prediction |
author_sort |
Gi-Dung Liang |
title |
The Study of Multilevel Branch Prediction |
title_short |
The Study of Multilevel Branch Prediction |
title_full |
The Study of Multilevel Branch Prediction |
title_fullStr |
The Study of Multilevel Branch Prediction |
title_full_unstemmed |
The Study of Multilevel Branch Prediction |
title_sort |
study of multilevel branch prediction |
publishDate |
2000 |
url |
http://ndltd.ncl.edu.tw/handle/91205994043165467234 |
work_keys_str_mv |
AT gidungliang thestudyofmultilevelbranchprediction AT liángjúduān thestudyofmultilevelbranchprediction AT gidungliang duōcéngfēnzhīyùcèzhīyánjiū AT liángjúduān duōcéngfēnzhīyùcèzhīyánjiū AT gidungliang studyofmultilevelbranchprediction AT liángjúduān studyofmultilevelbranchprediction |
_version_ |
1716835364001284096 |