State recovery methods and appartus for computing platforms
AssigneeIntel Corporation
InventorsAbhay S. Kanhere, Saurabh Shukla, Suriya Subramanian, Paul Caprioli
Life of this patent
Estimating the term…
Abstract
State recovery methods and apparatus for computing platforms are disclosed. An example method includes inserting a first instruction into optimized code to cause a first portion of a register in a first state to be saved to memory before execution of a region of the optimized code; and maintaining a value indicative of a manner in which a second portion of the register in the first state is to be restored in connection with a state recovery from the optimized code.
Claims22
A method, comprising:
- inserting a first instruction into optimized code to cause a first portion of a register in a first state to be saved to memory before execution of a region of the optimized code;
- and
- maintaining a value indicative of a manner in which a second portion of the register in the first state is to be restored in connection with a state recovery from the optimized code.
A tangible machine readable storage medium comprising instructions that, when executed, cause a machine to at least:
- insert a first instruction into optimized code to cause a first portion of a register in a first state to be saved to memory before execution of a region of the optimized code;
- and
- maintain a value indicative of a manner in which a second portion of the register in the first state is to be restored in connection with a state recovery from the optimized code.
An apparatus, comprising:
- a register having a first size;
- a translator to optimize original code into translated code, the original code being intended for execution in registers of a second size different than the first size;
- and
- a state preserver to:
- save data of an upper portion of the register in a first state to memory before execution of a region of the translated code;
- and
- maintain a value indicative of a location in the register at which data of a lower portion of the register in the first state is relocated in connection with the optimization of the original code.
Dependencies are inferred from the claim text.