Register allocation method for super block in dynamic binary translation system.

A register allocation and dynamic binary technology, applied in the field of multi-source and multi-target binary translation platforms, can solve the problem that the register usage efficiency is not enough to make up for the allocation overhead, and achieve the effect of good allocation results and small allocation overhead.

Inactive Publication Date: 2012-01-04
SHANGHAI JIAO TONG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The last method makes full use of the collected information and will be the best method for static compilers. In the field of dynamic binary translation, within a superblock, the increase in register usage efficiency obtained by this allocation method is not enough. to make up for the allocation overhead to achieve this effect

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to better understand the technical solutions of the present invention, further description will be given below in conjunction with the accompanying drawings and through specific embodiments. The following examples are not intended to limit the present invention.

[0035] CrossBit is a dynamic binary translation system, which can provide execution environments under heterogeneous architectures by means of translation and optimization for source programs executed on various architectures. In order to achieve multi-source and multi-target, CrossBit uses an intermediate code layer, which reduces translation paths. A binary translator can be formed by only translating the front-end binary imaging program (front-end) into intermediate code blocks, and then translating the intermediate code blocks into corresponding target platform codes (back-end). If the target platform changes, only one backend needs to be changed. Currently, CrossBit supports SimpleScalar, MIPS,...

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 register allocation method for a super block in a dynamic binary translation system. The method is a simplified graph coloring register allocation method according to the characteristic of the super block of the binary translation system. An interference graph is constructed by activity information of variables in the super block; and then a register allocation problem is converted into an interference graph simplification problem to make an object code of the super block use an object platform register maximally and has the characteristic of high object code execution efficiency. During the allocation, the variables in a basic block are allocated with registers according to the different demands in the field of dynamic binary translation; and the allocation comprises common allocation, mandatory specified register allocation, and mandatory non-specific register allocation. The register allocation method has the characteristic of retargetability and the characteristics of good allocation effect and low allocation expense for the super block. The register allocation method is suitable for a plurality of object platforms, particularly for a multi-source multi-objective binary translation platform.

Description

technical field [0001] The invention relates to a method for allocating registers of a super block in a dynamic binary translation system, which has redirection characteristics and is applicable to various target platforms, especially multi-source and multi-target binary translation platforms. Background technique [0002] Dynamic binary translation is the most widely used method in virtual execution technology. It is an effective means to provide portability for legacy code and improve the platform adaptability of software. It can Dynamically convert the binary program on the source machine platform to run on other target machine platforms. For the dynamic binary translator itself, execution performance is a very important measure. The so-called execution performance means that, taking the efficiency of the source program running under the original architecture as a reference, the lower the efficiency loss of the source program in the operating environment provided by the ...

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 Patents(China)
IPC IPC(8): G06F9/45
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