arXiv · 2609.34263
Improving Indirect Branch Prediction in Interpreters via Hardware/Software Co-Design
Abstract
Interpreters have a large indirect-branch footprint, requiring large predictor capacity for accurate prediction. We propose a hardware/software co-design in which a hardware lookahead engine, running ahead of the pipeline with software-provided bytecode metadata, supplies interpreter dispatch targets to the frontend. The engine requires only 1.3 KB of on-chip storage and changes to about 50 lines of CPython code. On 15 CPython server workloads, a 14 KB ITTAGE augmented with the engine reduces bytecode jump MPKI by 73.7% relative to a 16 KB ITTAGE baseline, yielding a 3.2% harmonic-mean IPC speedup.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Linfeng Zheng, Hiroshi Sasaki. 2026-09-28. Improving Indirect Branch Prediction in Interpreters via Hardware/Software Co-Design. https://doi.org/10.1109/lca.2026.3738406
Cite the original work for its findings. Save a collection to share your selection of sources.