US2017024212A1PendingUtilityA1

Hardware acceleration components for translating guest instructions to native instructions

56
Assignee: SOFT MACHINES INCPriority: Jan 27, 2011Filed: Feb 11, 2016Published: Jan 26, 2017
Est. expiryJan 27, 2031(~4.5 yrs left)· nominal 20-yr term from priority
G06F 9/45516G06F 9/3879G06F 9/3844G06F 2212/452G06F 9/30174G06F 9/3861G06F 15/8007G06F 9/3842G06F 9/30021G06F 9/3863G06F 9/3802G06F 9/3814G06F 9/30098G06F 9/3867G06F 9/30029G06F 9/30189G06F 12/0875G06F 9/30018G06F 9/30038G06F 9/3854G06F 9/3858
56
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A hardware based translation accelerator. The hardware includes a guest fetch logic component for accessing guest instructions; a guest fetch buffer coupled to the guest fetch logic component and a branch prediction component for assembling guest instructions into a guest instruction block; and conversion tables coupled to the guest fetch buffer for translating the guest instruction block into a corresponding native conversion block. The hardware further includes a native cache coupled to the conversion tables for storing the corresponding native conversion block, and a conversion look aside buffer coupled to the native cache for storing a mapping of the guest instruction block to corresponding native conversion block, wherein upon a subsequent request for a guest instruction, the conversion look aside buffer is indexed to determine whether a hit occurred, wherein the mapping indicates the guest instruction has a corresponding converted native instruction in the native cache.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A hardware based translation accelerator, comprising:
 a guest fetch logic component for accessing a plurality of guest instructions;   a guest fetch buffer coupled to the guest fetch logic component and a branch prediction component for assembling the plurality of guest instructions into a guest instruction block;   a plurality of conversion tables coupled to the guest fetch buffer for translating the guest instruction block into a corresponding native conversion block;   a native cache coupled to the conversion tables for storing the corresponding native conversion block;   a conversion look aside buffer coupled to the native cache for storing a mapping of a guest far branch in the guest instruction block to a corresponding native instruction;   wherein upon a subsequent request for the guest far branch, the conversion look aside buffer is indexed to determine whether a hit occurred, wherein the mapping indicates the guest far branch has a corresponding converted native instruction in the native cache; and   in response to the hit the conversion look aside buffer forwards the translated native instruction for execution.   
     
     
         2 . The hardware based translation accelerator of  claim 1 , wherein a hardware fetch logic component prefetches the plurality of guest instructions independent of the processor. 
     
     
         3 . The hardware based translation accelerator of  claim 1 , wherein the conversion look aside buffer comprises a cache that uses a replacement policy to maintain most frequently encountered mappings stored therein. 
     
     
         4 . The hardware based translation accelerator of  claim 1 , wherein a conversion buffer is maintained within a system memory and cache coherency is maintained between the conversion look aside buffer and the conversion buffer. 
     
     
         5 . The hardware based translation accelerator of  claim 4 , wherein the conversion buffer is larger than the conversion look aside buffer, and a write back policy is used to maintain coherency between the conversion buffer and the conversion look aside buffer. 
     
     
         6 . The hardware based translation accelerator of  claim 1 , wherein the conversion look aside buffer is implemented as a high-speed low latency cache memory coupled to a pipeline of the processor. 
     
     
         7 . A system for accelerating the translation of guest instructions to native instructions for a processor, comprising:
 a guest fetch logic component for accessing a plurality of guest instructions;   a guest fetch buffer coupled to the guest fetch logic component and a branch prediction component for assembling the plurality of guest instructions into a guest instruction block;   a plurality of conversion tables coupled to the guest fetch buffer for translating the guest instruction block into a corresponding native conversion block;   a native cache coupled to the conversion tables for storing the corresponding native conversion block;   a conversion look aside buffer coupled to the native cache for storing a mapping of a guest far branch in the guest instruction block to a corresponding native instruction;   wherein upon a subsequent request for the guest far branch, the conversion look aside buffer is indexed to determine whether a hit occurred, wherein the mapping indicates the guest far branch has a corresponding converted native instruction in the native cache; and   in response to the hit the conversion look aside buffer forwards the translated native instruction for execution.   
     
     
         8 . The system of  claim 7 , wherein a hardware fetch logic component prefetches the plurality of guest instructions independent of the processor. 
     
     
         9 . The system of  claim 7 , wherein the conversion look aside buffer comprises a cache that uses a replacement policy to maintain most frequently encountered mappings stored therein. 
     
     
         10 . The system of  claim 7 , wherein a conversion buffer is maintained within a system memory and cache coherency is maintained between the conversion look aside buffer and the conversion buffer. 
     
     
         11 . The system of  claim 10 , wherein the conversion buffer is larger than the conversion look aside buffer, and a write back policy is used to maintain coherency between the conversion buffer and the conversion look aside buffer. 
     
     
         12 . The system of  claim 7 , wherein the conversion look aside buffer is implemented as a high-speed low latency cache memory coupled to a pipeline of the processor. 
     
     
         13 . A microprocessor that implements a method of translating instructions, said microprocessor comprises:
 a microprocessor pipeline;   a hardware accelerator module coupled to the microprocessor pipeline, wherein the hardware accelerator module further comprises:   a guest fetch logic component for accessing a plurality of guest instructions;   a guest fetch buffer coupled to the guest fetch logic component and a branch prediction component for assembling the plurality of guest instructions into a guest instruction block;   a plurality of conversion tables coupled to the guest fetch buffer for translating the guest instruction block into a corresponding first native conversion block;   a native cache coupled to the conversion tables for storing the first corresponding native conversion block;   a conversion look aside buffer coupled to the native cache for storing a mapping of a guest far branch in the guest instruction block to a corresponding native instruction, wherein the corresponding native instruction is a first instruction in a second native conversion block;   wherein upon a subsequent request for the guest far branch, the conversion look aside buffer is indexed to determine whether a hit occurred, wherein the mapping indicates the guest far branch has the second native conversion block in the native cache; and   in response to the hit the conversion look aside buffer forwards the second native conversion block for execution.   
     
     
         14 . The microprocessor of  claim 13 , wherein a hardware fetch logic component prefetches the plurality of guest instructions independent of the processor. 
     
     
         15 . The microprocessor of  claim 13 , wherein the conversion look aside buffer comprises a cache that uses a replacement policy to maintain most frequently encountered mappings stored therein. 
     
     
         16 . The microprocessor of  claim 13 , wherein a conversion buffer is maintained within a system memory and cache coherency is maintained between the conversion look aside buffer and the conversion buffer. 
     
     
         17 . The microprocessor of  claim 16 , wherein the conversion buffer is larger than the conversion look aside buffer, and a write back policy is used to maintain coherency between the conversion buffer and the conversion look aside buffer. 
     
     
         18 . The microprocessor of  claim 13 , wherein the conversion look aside buffer is implemented as a high-speed low latency cache memory coupled to a pipeline of the processor. 
     
     
         19 . The microprocessor of  claim 13 , wherein the hardware accelerator module functions comprises a parallel guest instruction fetch pipeline that functions in parallel to a native microprocessor fetch pipeline. 
     
     
         20 . A microprocessor that implements a method of translating instructions, said microprocessor comprises:
 a microprocessor pipeline;   an accelerator module comprising high speed memory coupled to the microprocessor pipeline, wherein the accelerator module further comprises:
 a guest fetch logic for accessing a plurality of guest instructions; 
 a guest fetch memory coupled to the guest fetch logic for assembling the plurality of guest instructions into a guest instruction block; 
 a plurality of conversion tables for translating the guest instruction block into a corresponding native conversion block, wherein the guest instruction block comprises a guest far branch instruction; 
 a native conversion buffer for storing the corresponding native conversion block; 
 wherein upon a subsequent request for the guest far branch, a conversion look aside buffer storing a mapping of the guest far branch in the guest instruction block to a corresponding native instruction is indexed to determine whether a hit occurred, wherein the mapping indicates the guest far branch has a corresponding converted native instruction in the native cache; and 
 in response to the hit the conversion look aside buffer forwards the translated native instruction for execution. 
   
     
     
         21 . The microprocessor of  claim 20 , wherein the high speed memory comprises an L0 cache of the microprocessor. 
     
     
         22 . The microprocessor of  claim 20 , wherein the accelerator module further comprises a load store instruction fetch path of the microprocessor.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.