Skip to content
Open access

Improving Indirect Branch Prediction in Interpreters via Hardware/Software Co-Design

Sep 2026 · IEEE computer architecture letters · 0 citations · 14 references
Computer Science

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.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.