Implementation of Branch Prediction Mechanism in X-Microprocessor and Research on the Branch Prediction Algorithm Based on Fuzzy Weight
- Author
- JiaoYong
- Advisor
- ChenYueYue
- School
- National University of Defense Science and Technology
- Major
- Electronic Science and Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 125
- Citations
- 2
- Branch prediction
- Branch history
- Dynamic two adaptive
- collision detection
- Hamming distance
- Fuzzy weighted
Abstract
Branch prediction technology has been the research focus of computer architecture , microprocessor design . A forecast high accuracy branch prediction mechanism idle processor can be reduced to a large extent , improve the operating efficiency of the processor . Branch prediction research focuses on the dynamic branch prediction technology , interdisciplinary perspective , propose new prediction algorithm . The branch prediction algorithm includes branch history information processing , branch instruction address mapping , and state transitions . But also consider the hardware overhead , to achieve the complexity of the problem . The multi-level branch prediction mechanism X microprocessor research , including dynamic branch prediction , static branch prediction and perfect loop exits three levels . The Design and Implementation of the X microprocessor dynamic branch prediction mechanism . So the design is a multi-emitter structure of a multi- branch entry table , needs to be predicted , query and modify ; design a pattern history table with the multi-branch entry table with the completion of a branch prediction and a table update . At the same time , the multi-branch entrance two read two write design due to the limitation of the storage unit , will have to query and modify the logic of conflict and physical conflict . In this paper, this conflict detection . Final design done a lot of simulation and verification , logic synthesis , results show that the correctness or delay to reach the desired design objectives . This article also commonly used dynamic branch prediction algorithm research and improvement . The composite branch prediction selection mechanism is improved , and the introduction of the Hamming distance , and with minimum Hamming distance to determine to choose which one of the prediction results . The improved adaptive dynamic branch prediction mechanism introduced fuzzy weighted branch history plus a different weight , and use of the adjustment factor dynamically change the weights on fuzzy reasoning predict results . The SimpleScalar The simulation results show that the dynamic adaptive algorithm of the fuzzy weighted the gshare prediction algorithm than the classic prediction failure rate of 2% .
Table of contents
Abstract 11-12
ABSTRACT 12-13
first chapter 13-19
the
§ 1.1 branch prediction technology About 13-15
1.1.1 static branch prediction techniques 13-14
1.1.2 dynamic branch prediction technology 14-15
§ 1.2 X microprocessor multi-level branch prediction model design 15-16
1.2.1 dynamic two adaptive branch prediction algorithm 15-16
1.2.2 perfect cycle exit 16
§ 1.3 using fuzzy weighted method of dynamic adaptive branch prediction algorithm 16
§ 1.4 with SIMPLESCALAR simulation algorithm performance 16-17
the
§ 1.5 research objectives, content and meaning 17-18
1.5.1 topics goals 17
1.5.2 topic significance 17
1.5.3 This article structure 17-18
§ 1.6 of this paper research 18-19
dynamic branch prediction technology analysis 19-29
§ 2.1 Introduction 19
§ 2.2 Typical dynamic branch prediction techniques 19-24
a 2.2.1 / two dynamic branch prediction mechanism 19-20
2.2.2 branch prediction mechanism 20-21
2.2.3 two adaptive branch prediction 21-23
2.2.4 gshare and gselect branch prediction method 23
2.2.5 the composite branch prediction technology 23-24
the
§ 2.3 several new branch prediction algorithm 24-28
2.3.1 branch prediction method based on Boolean formulas 24-26
2.3.2 branch prediction algorithm based on Fourier transform (FAB) 26-27
2.3.3 WML branch prediction using machine learning algorithms 27-28
§ 2.4 Summary 28-29
Chapter X microprocessor multi-level branch prediction model 29-37
the
§ 3.1 IA-64 architecture background and goals 29-31
3.1.1 IA-64 architecture background 29-30
3.1.2 IA-64 architecture target 30-31
§ 3.2 X microprocessor branch prediction model 31-36
3.2.1 X microprocessor branch prediction level 31-32
3.2.2 dynamically modify the model of the two-stage adaptive algorithm 32-34
3.2.3 static branch prediction 34
3.2.4 cycle exit model 34-36
§ 3.3 Summary 36-37
of Chapter X microprocessor dynamic branch prediction mechanism to achieve 37-54
§ 4.1 MBPT design 38-40
§ 4.2 PHT design 40-42
the
§ 4.3 two algorithms control module design 42-43
the
§ 4.4 Conflict detection logic design 43-47
the
§ 4.5 mode table query interface and modify the entrance MBPT and PHT 47-49
the
§ 4.6 dynamic branch prediction mechanism logic simulation and comprehensive 49-53
4.6.1 dynamic branch prediction mechanism to verify 49-52
4.6.2 dynamic branch prediction mechanism logic synthesis 52-53
the
§ 4.7 summary 53-54
based the fuzzy weighted dynamic adaptive branch prediction algorithm research 54-65
§ 5.1 composite branch prediction selection algorithm improvement 54-57
two counter weighted method
5.1.1 54-55
5.1.2 Hamming distance-based selection logic 55-57
§ 5.2 weighted fuzzy dynamic adaptive branch prediction 57-63
5.2.1 algorithm theoretical basis 57-60
5.2.2 Fuzzy weighted dynamic adaptive branch prediction algorithm 60-63
§ 5.3 Summary 63-65
-
sixth simulation algorithm performance with SIMPLESCALAR 65-76
§ 6.1 SIMPLESCALAR About 65
§ 6.2 SIMPLESCALAR in the branch prediction module structure 65-67
§ 6.3 for improved simulation of the structure of dual-mode branch prediction 67-70
§ 6.4 weighted fuzzy dynamic adaptive algorithm performance analog 70-74
§ 6.5 combination fuzzy weighted method, branch prediction algorithm performance analog 74-75
§ 6.6 Summary 75-76
Chapter VII Conclusion 76-78
the
§ 7.1 of the full text of the work summarizes 76-77
§ 7.2 Job Outlook 77-78
Acknowledgements 78-79
the
Appendix A: papers published for Master during 79-80
The
Appendix B: involved in the project during the study for master 80-81
the
References 81-84
Related dissertations
- Design and Optimization of X Microprocessor’s Branch Prediction Circuit Structure
- Study on Method of Dual-Robot Coordination
- Security Interaction Strategy of RBAC Based on Reconcile Domain
- Optical Capture Based Development of Virtual Interaction System
- A Professional Technology Institute Virtual Design and Realization of the System
- Research and Develop on the Simulating System for Binocular Stereo Measurement
- Research on Model and Roam Technology of3D Scene Based on WEB
- Motion Simulation of Guide Wire in Virtual Intravascular
- Natural Landscape Simulation Research Based on Particle System
- The Research of Path Planning and Collision Detection Method in Virtual Battlefield
- Design and Implementation of Virtual Campus Roaming System
- Design and Realization of Virtual3D Scene Roaming System
- Research of Collison Detection Algorithm Based on Spatial Domain
- Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back
- Research on Parallel Collision Detection Based on Delta3D
- The 3D dynamic simulation of cloth
- Visualization Technology of Wheat Growth
- Research on the Visual Simulation of Tree Motion in Wind and Rain
- Real time simulation of CUDA fluid and solid interaction based on complex shape
- The Research of Continuous Collision Detection