A method and apparatus for processor emulation using speculative forward translation are disclosed. A potential candidate for forward translation is identified from one or more portions of target system code. A priority for forward translation is assigned to the potential candidate. It is determined whether the potential candidate is a valid candidate for forward translation. If valid, the potential candidate is translated with a host system to produce one or more corresponding blocks of translated code executable by the host system.
Processor Emulation Using Speculative Forward Translation
A method and apparatus for processor emulation using speculative forward translation are disclosed. A potential candidate for forward translation is identified from one or more portions of target system code. A priority for forward translation is assigned to the potential candidate. It is determined whether the potential candidate is a valid candidate for forward translation. If valid, the potential candidate is translated with a host system to produce one or more corresponding blocks of translated code executable by the host system.
Simplified Run-Time Program Translation For Emulating Complex Processor Pipelines
Victor O.S. Miura - Foster City CA, US Stewart Sargaison - Foster City CA, US
International Classification:
G06F 12/06
US Classification:
711202, 711E12078
Abstract:
Simplification of run-time program translation for emulating complex processor pipelines is disclosed. Problem of dynamic pipeline states are moved into a cache lookup process leaving a code translation process to deal only with static pipeline states. With dynamic pipeline states removed from the translation process, translation becomes more simple and efficient like that of a non-pipelined processor.