Dissecting Conditional Branch Predictors of Apple Firestorm and Qualcomm Oryon for Software Optimization and Architectural Analysis
Jiajie Chen, Peng Qu, Youhui Zhang

TL;DR
This paper develops a generalized reverse engineering pipeline to accurately model and analyze the branch predictors of Apple Firestorm and Qualcomm Oryon processors, revealing new insights and improving prediction accuracy.
Contribution
It introduces a more flexible method for reverse engineering branch predictors, enabling detailed modeling of Apple and Qualcomm architectures and uncovering previously unknown effects.
Findings
Up to 14% reduction in MPKI
7% performance improvement in applications
Deeper understanding of CBP behavior
Abstract
Branch predictor (BP) is a critical component of modern processors, and its accurate modeling is essential for compilers and applications. However, processor vendors have disclosed limited details about their BP implementations. Recent advancements in reverse engineering the BP of general-purpose processors have enabled the creation of more accurate BP models. Nonetheless, we have identified critical deficiencies in the existing methods. For instance, they impose strong assumptions on the branch history update function and the index/tag functions of key BP components, limiting their applicability to a broader range of processors, including those from Apple and Qualcomm. In this paper, we design a more general branch prediction reverse engineering pipeline that can additionally recover the conditional branch predictors (CBPs) of Apple Firestorm and Qualcomm Oryon microarchitectures,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques
