发明名称 |
Custom chaining stubs for instruction code translation |
摘要 |
A processing system includes a microprocessor, a hardware decoder arranged within the microprocessor, and a translator operatively coupled to the microprocessor. The hardware decoder is configured to decode instruction code non-native to the microprocessor for execution in the microprocessor. The translator is configured to form a translation of the instruction code in an instruction set native to the microprocessor and to connect a branch instruction in the translation to a chaining stub. The chaining stub is configured to selectively cause additional instruction code at a target address of the branch instruction to be received in the hardware decoder without causing the processing system to search for a translation of additional instruction code at the target address. |
申请公布号 |
US9384001(B2) |
申请公布日期 |
2016.07.05 |
申请号 |
US201213586700 |
申请日期 |
2012.08.15 |
申请人 |
NVIDIA CORPORATION |
发明人 |
Hertzberg Ben;Tuck Nathan |
分类号 |
G06F9/44;G06F9/30;G06F9/40;G06F9/32;G06F9/38 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method of executing instruction code in a processing system comprising a microprocessor comprising a hardware decoder, the method comprising:
translating instruction code in a form non-native to the microprocessor into a translated instruction set native to the microprocessor using a translator, wherein the translated instruction set comprises a branch instruction with a target address external to the translation; connecting the branch instruction to a chaining stub operable to selectively allow additional instruction code at the target address to be directly received and decoded in a hardware decoder, wherein the hardware decoder is operable to decode instruction code for execution in the microprocessor; executing the translated instruction set until the chaining stub is reached; and decoding and executing the additional instruction code at the target address using the hardware decoder. |
地址 |
Santa Clara CA US |