Method and apparatus for controlling execution of speculations in a processor based on monitoring power consumption
Abstract
In accordance with one embodiment, the invention provides a method comprising monitoring a power consumption of a processor in executing a program while running in a speculative execution mode wherein instructions are speculatively executed; and turning off said speculative execution mode if said power consumption is above a predetermined threshold. According to another embodiment the invention provides a processor comprising a speculative mode wherein instructions are speculatively executed; a non-speculative execution mode wherein instructions are executed non-speculatively; and a speculation control mechanism to selectively cause said processor to operate in said non-speculative mode based on a power consumption criterion.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 14.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: executing a first code a program in a processor having at least one speculation unit to process instructions speculatively, said first code being to detect whether said process is running on battery power; executing a second code in said program to turn off each said speculation unit if said processor is running on battery power, said executing the second code to set a bit in a control register associated with said speculation unit; a control logic of the processor switching off the speculation unit if the bit is set; and executing a remainder of said program after executi
- Claim 2Depends on #1
The method of claim 1 , wherein each said speculation unit is selected from a group consisting of a branch prediction unit; an out-of-order execution unit; and an execution trace building unit.
- Claim 3Independent Claim
The method of claim
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗