Study of Register Value Branch Predictor Based on CNN

In modern processor architecture, a branch predictor is an important module whose design influences the performance of the processor. Nowadays, the factors affecting the performance of branch predictors have changed from common branches to hard-to-predict branches, which rarely show up but have low prediction accuracy. In particular, the data-related branches are a difficult problem to be handled by the current predictors. In this paper, we continue to study Zangeneh’s BranchNet CNN neural network branch predictor to explore the solution. Due to the observation that some data-related branches are associated with register values, we add BranchNet, a sub-network that handles register values in the offline training phase and modify the above sub-network according to the feedback from the preliminary experiments by adjusting the network parameters and redesigning the network structure. Through that process, it can better learn the relationship between register values and branch results. The experiments were carried out on the SPEC 2017 integer benchmarks. The network was trained and validated on the top five H2P branches of all benchmarks. The results show that the addition of register information reduces the MPKI rate of the top five H2P branches on average, compared to the BranchNet, by 17.32%. Analyzing the results, we find that the network with the addition of register value information has significantly improved the prediction accuracy of certain H2P branches, indicating that the addition of register values is effective in H2P branch prediction.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2025-03-04
DOI
https://doi.org/10.3390/app15052725
Citations
1
Primary Topic
Image Processing and 3D Reconstruction
Type
article
Field-Weighted Citation Impact
1.28
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Study of Register Value Branch Predictor Based on CNN

Zhangjin Chen, Wenying Fang, Y. Tang
1 citations
Applied Sciences
Image Processing and 3D Reconstruction
1.28
article

Study of Register Value Branch Predictor Based on CNN

Zhangjin Chen, Wenying Fang, Y. Tang
article en
1 citations

Abstract

In modern processor architecture, a branch predictor is an important module whose design influences the performance of the processor. Nowadays, the factors affecting the performance of branch predictors have changed from common branches to hard-to-predict branches, which rarely show up but have low prediction accuracy. In particular, the data-related branches are a difficult problem to be handled by the current predictors. In this paper, we continue to study Zangeneh’s BranchNet CNN neural network branch predictor to explore the solution. Due to the observation that some data-related branches are associated with register values, we add BranchNet, a sub-network that handles register values in the offline training phase and modify the above sub-network according to the feedback from the preliminary experiments by adjusting the network parameters and redesigning the network structure. Through that process, it can better learn the relationship between register values and branch results. The experiments were carried out on the SPEC 2017 integer benchmarks. The network was trained and validated on the top five H2P branches of all benchmarks. The results show that the addition of register information reduces the MPKI rate of the top five H2P branches on average, compared to the BranchNet, by 17.32%. Analyzing the results, we find that the network with the addition of register value information has significantly improved the prediction accuracy of certain H2P branches, indicating that the addition of register values is effective in H2P branch prediction.

Applied SciencesVol. 15(5)
Shanghai University (CN)
Openalex Percentile: Top 23%
Image Processing and 3D Reconstruction
1.28
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.