Dynamic binary translation method for cooperation design of software and hardware

A technology of dynamic binary and software-hardware collaboration, which is applied in the field of binary translation and process-level virtual machines, can solve the problems of not being suitable for general-purpose processor instruction sets, not having dynamic characteristics, and high hardware overhead, etc., and achieving Misss time mitigation and Tcachemiss rate Reduced, start-up time mitigation effects

Inactive Publication Date: 2009-03-18
SHANGHAI JIAO TONG UNIV
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Intel and AMD's hardware-supported virtualization technologies are aimed at Vmware and Xen's system-level virtual machines, while Transmeta's Crusoe, IBM's Daisy, and Professor James E.Smith's research is to use software and hardware co-designed virtual machines for new For processor design, Kenneth B.Kent aimed at high-level language-oriented virtual machines, which were not suitable for general-purpose processor instruction sets. Gaurav Mittal directly synthesized binary codes to generate underlying hardware, which was expensive to synthesize and generated without with dynamic characteristics

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic binary translation method for cooperation design of software and hardware
  • Dynamic binary translation method for cooperation design of software and hardware
  • Dynamic binary translation method for cooperation design of software and hardware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to better understand the technical solution of the present invention, the following specific examples are used for further description. The following examples are not intended to limit the present invention.

[0023] The present invention selects x86 as the source instruction platform of specific implementation mode, and PowerPC is as the target platform, and the overall structure of the system is divided into three parts as figure 1 Shown: the software layer includes the loader of the x86 executable file, the virtual machine coprocessor driver and the Linux operating system, and the hardware part includes the PowerPC processor, the memory and the virtual machine coprocessor. The virtual machine coprocessor is mainly composed of two parts: a binary translator and a Tcache manager.

[0024] figure 1 is the overall structure of the system, such as figure 1 As shown, the specific steps of the dynamic binary translation method of the software-hardware co-design ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a dynamic binary translating method of software-hardware co-design for realizing a virtual machine coprocessor of a processor chip on a hardware level, which comprises a binary translator unit, a TCache manager unit and the like, wherein management and check of the TCache is realized via the hardware, and fast check of the Tcache is realized in from of instructions, further, as the binary translator unit is realized via the hardware, a master processor executing the object instruction avoids necessary switching to translate, and the start time and the Miss time can be relieved well. The software portion comprises load of heterogeneous executable program, execution of the object instruction, optimization of hot codes and the like. Through tightly coupling of hardware and software, coexistence between the overall virtual machine and the original system can be effectively controlled, thereby achieving internal parallelism. Because single processor supports a plurality of instruction sets, instruction compatibility problem of heterogeneous processors is solved, further, compared with the conventional virtual machine with pure software, properties and transparency are increased, and the speed of the virtual machine can be close to the local execution speed.

Description

technical field [0001] The invention relates to a dynamic binary translation method of software and hardware co-design, which is used to enable a single processor to support multiple instruction sets and solve the instruction compatibility problem of heterogeneous processors. The invention belongs to the technical field of process level virtual machine and binary translation. Background technique [0002] The popularity of a new processor is inseparable from the support of corresponding software. For current processors, compatibility is mainly guaranteed through the instruction set (ISA) interface layer between hardware and software. However, this approach leads to inefficiencies in hardware-software interactions. From a hardware standpoint, processor designers are forced to adapt to the most widely used ISA, regardless of its inefficiencies. Otherwise, there is a risk of being rejected by the market due to software compatibility issues; from a software point of view, sof...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45G06F9/455
Inventor 李庭涛管海兵梁阿磊
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products