Emulation system that uses dynamic binary translation and permits the safe speculation of trapping operations
AssigneeHewlett-Packard Development Company, L.P.
InventorBich-Cau Le
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Development Company, L.P.
InventorBich-Cau Le
Estimating the term…
The inventive emulator dynamically translates instructions in code written for a first architecture into code for a second architecture. The emulator designates various checkpoints in the original code, and speculatively reorders the placement of the translated code instructions according to optimization procedures. If during the execution of the reordered code, a trap should occur, then the emulator resets the original code to the most recent checkpoint and begins executing the original code sequentially in a line-by-line manner until the section is completed or branched out of. The original code is reset by changing the program counter to the checkpoint, and reversing the effects of each instruction which has been executed subsequent to the checkpoint. Thus, any native instructions which correspond to original instructions which occur sequentially prior to the checkpoint have been executed, and any native instructions which correspond to original instructions which occur sequentially subsequent to the checkpoint have not been executed.
A method for dynamically translating instructions in original code written for a first architecture into native code for a second architecture, the method comprising the steps of:
A method for dynamically translating instructions in original code written fore first architecture into native code for a second architecture, the method comprising the steps of:
A system for dynamically translating instructions in original code written for a first architecture into native code for a second architecture, the system comprising:
A system for dynamically translating instructions in original code written for a first architecture into native code for a second architecture, the system comprising:
Dependencies are inferred from the claim text.