• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (8): 1364-1380.

• High Performance Computing • Previous Articles     Next Articles

Comparison and analysis of TAGE-based and neural-based branch predictors

ZHENG Weiwei,ZHENG Zhong,CHEN Wei,LU Hongyi   

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)

  • Received:2024-07-19 Revised:2024-08-23 Online:2025-08-25 Published:2025-08-27

Abstract: With the increasing demand for processor performance,superscalar and deeply pipelined techniques have been widely adopted in modern microprocessors to enhance instruction-level parallelism.However,conditional branch instructions in programs pose a challenge to continuous pipeline execution,limiting the potential for parallel instruction processing.To address this control hazard,branch prediction techniques have been developed,with the core objective of speculatively determining the direction and target address of branch instructions,thereby minimizing pipeline stalls caused by branch instructions.This paper presents a comparative analysis of two mainstream branch predictors—TAGE-based and Neural-based approaches—under a unified performance evaluation framework.Experimental results demonstrate that different branch predictors exhibit distinct preferences for specific traces,suggesting that hybrid prediction mechanisms could further unlock prediction potential.Additionally,the influence of execution context on branch prediction performance cannot be overlooked,particularly in multi-process environments.Furthermore,this paper reveals that current CNN-based predictors exhibit unstable performance when handling complex branch patterns,with their overall accuracy yet to surpass the baseline TAGE-SC-L predictor,indicating a need for further optimization.

Key words: branch prediction, tagged geometric history length(TAGE), neural network, perceptron, convolutional neural network(CNN) model

CLC Number: