Virtualization support for branch prediction logic enable / disable at hypervisor and guest operating system levels
Abstract
A hypervisor and one or more guest operating systems resident in a data processing system and hosted by the hypervisor are configured to selectively enable or disable branch prediction logic through separate hypervisor-mode and guest-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 for different operating scenarios.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of controlling branch prediction logic in a data processing system, the method comprising: selectively setting an enable state of branch prediction logic in at least one processing core in response to a hypervisor running on the processing core; selectively overriding the enable state of the branch prediction logic set by the hypervisor in response to a guest operating system running on the processing core and hosted by the hypervisor such that the guest operating system controls the enable state of the branch prediction logic while the processing core is executing the guest operating
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- International Search Report and Written Opinion of the ISA dated May 14, 2013-International Application No. PCT/IB2013/050029.
- International Search Report and Written Opinion of the ISA dated May 14, 2013—International Application No. PCT/IB2013/050029.
- U.S. Patent and Trademark Office, Notice of Allowance issued in related U.S. Appl. No. 13/355,884, dated Aug. 28, 2014.
- U.S. Patent and Trademark Office, Office Action issued in related U.S. Appl. No. 13/355,884, dated Mar. 10, 2014.
- U.S. Patent Application entitled, "Virtualization Support for Saving and Restoring Branch Prediction Logic States" filed by Adam J. Muff on Jan. 23, 2012.