System and method for selectively saving and restoring state of branch prediction logic through separate hypervisor-mode and guest-mode and/or user-mode instructions
Abstract
A hypervisor and one or more programs, e.g., guest operating systems and/or user processes or applications hosted by the hypervisor to configured to selectively save and restore the state of branch prediction logic through separate hypervisor-mode and guest-mode and/or user-mode instructions. By doing so, different branch prediction strategies may be employed for different operating systems and user applications hosted thereby to provide finer grained optimization of the branch prediction logic.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of controlling branch prediction logic in a data processing system, the method comprising: saving a first state of branch prediction logic in a processing core in response to a first hypervisor-mode instruction executed by the processing core for a hypervisor resident in the data processing system, wherein saving the first state of the branch prediction logic is performed in association with a context switch away from the hypervisor; restoring the first state of the branch prediction logic in response to a second hypervisor-mode instruction executed by the processing core for the hype
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (2)
- International Search Report and Written Opinion of the ISA dated May 14, 2013-International Application No. PCT/IB2013/050029.
- U.S. Patent Application entitled, "Virtualization Support for Branch Prediction Logic Enable/Disable" filed by Adam J. Muff on Jan. 23, 2012.