Simplified run-time program translation for emulating complex processor pipelines
First Claim
Patent Images
1. A method for program translation in a processor pipeline, the method comprising:
- determining a current target address and pipeline signature, the pipeline signature including a state of the processor pipeline, the pipeline signature allowing one program address to correspond to multiple cached translations, each cached translation keyed by a different pipeline signature;
requesting a translation based at least in part on the current target address and the pipeline signature, the translation including instructions translated for a processor; and
generating the translation when the translation is unavailable, the translation valid for only a single address and pipeline signature pair.
4 Assignments
0 Petitions
Accused Products
Abstract
Simplification of run-time program translation for emulating complex processor pipelines is disclosed. 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.
-
Citations
16 Claims
-
1. A method for program translation in a processor pipeline, the method comprising:
-
determining a current target address and pipeline signature, the pipeline signature including a state of the processor pipeline, the pipeline signature allowing one program address to correspond to multiple cached translations, each cached translation keyed by a different pipeline signature; requesting a translation based at least in part on the current target address and the pipeline signature, the translation including instructions translated for a processor; and generating the translation when the translation is unavailable, the translation valid for only a single address and pipeline signature pair. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for program translation in a processor pipeline, the method comprising:
-
determining a current target address and pipeline signature, the pipeline signature including a state of the processor pipeline, the pipeline signature allowing one program address to correspond to multiple cached translations, each cached translation keyed by a different pipeline signature; requesting a translation based at least in part on the current target address and the pipeline signature, the translation including instructions translated for a processor; and executing the translation when the translation is unavailable, the translation valid for only a single address and pipeline signature pair. - View Dependent Claims (8, 9)
-
-
10. A processor pipeline translation method, comprising:
-
decoding a current target address and pipeline signature, the pipeline signature including a state of a processor pipeline, the pipeline signature allowing one program address to correspond to multiple cached translations, each cached translation keyed by a different pipeline signature; checking for a stall; calling a code generation function to translate instructions for a processor for lower and upper instructions; and updating an address pipeline signature pair, for which a generated translation is valid for only the address pipeline signature pair. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification