Hardware/software system for instruction profiling and trace selection using branch history information for branch predictions
Abstract
The inventive mechanism provides fast profiling and effective trace selection. The inventive mechanism partitions the work between hardware and software. The hardware automatically detects which code is executed very frequently, e.g. which code is hot code. The hardware also maintains the branch history information. When the hardware determines that a section or block of code is hot code, the hardware sends a signal to the software. The software then forms the trace from the hot code, and uses the branch history information in making branch predictions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 41.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for profiling instructions of a program and for selecting a trace of a portion of the instructions of the program, the system comprising: a hardware portion for detecting which instructions of the program are more frequently executed and for maintaining a history of targets chosen by branch instructions of the program; and a software portion for forming the trace of the most frequently executed instructions and using the history in making branch predictions for branch instructions encountered in forming the trace; wherein the hardware portion comprises: a plurality of counters, with o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 41 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (1)
- Rothenberg, E., S. Bennett, and J.E. Smith. "Trace Cache: A Low LatencyApproach to High-Bandwidth Instruction Fetching," Proc. Int'l Symp. Micro Architecture, IEEE CS Press. Los Alamitos, CA. (1996).