Register mapping in emulation of a target system on a host system
AssigneeSony Computer Entertainment Inc.
InventorsStewart Sargaison, Victor Suba
Life of this patent
Estimating the term…
Abstract
Methods and systems for register mapping in emulation of a target system on a host system are disclosed. Statistics for use of a set of registers of a target system processor are determined. Based on the statistics a first subset of the target system registers, including one or more most commonly used registers is determined. The registers in the first subset are directly mapped to a first group of registers of a host system processor. A second subset of the set of target system registers is dynamically mapped to a second group of registers of the host system processor.
Claims16
A method for emulation of a target system on a host system, the method comprising:
- determining statistics for use of a set of registers of a target system processor;
- based on the statistics, determining a first subset of registers of the set of registers, the first subset including one or more most commonly used registers;
- directly mapping the first subset of registers to a first group of registers of a host system processor;
- dynamically mapping a second subset of the set of registers to a second group of registers of the host system processor;
- and
- emulating the target system processor on the host system processor using the first and second groups of registers, wherein some of the registers in the set of registers of the target system processor are larger than the registers in the first and second groups of registers of the host system processor;
- and
- rotating the dynamic mapping of the registers in the second subset to reduce a likelihood of blocking of a target system instruction.
A host system for emulation of a target system, comprising:
- one or more host system processors;
- a memory coupled to the one or more host system processors;
- a set of processor executable instructions embodied in the memory, the processor executable instructions including instructions for implementing a method for emulation of a target system on a host system, the method including:
- determining statistics for use of a set of registers of a target system processor;
- based on the statistics, determining a first subset of registers of the set of registers, the first subset including one or more most commonly used registers;
- directly mapping the first subset of registers to a first group of registers of a host system processor;
- dynamically mapping a second subset of the set of registers to a second group of registers of the host system processor;
- and
- rotating the dynamic mapping of the registers in the second subset to reduce a likelihood of blocking of a target system instruction.
Dependencies are inferred from the claim text.