Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Non-aligning access and storage processing method

A processing method and non-alignment technology, which is applied in the field of binary translation, can solve the problems of poor universality of non-aligned memory access processing and low real-time processing ability, and achieve the effects of reducing times, improving operating efficiency, and saving time overhead

Active Publication Date: 2008-11-05
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to overcome the defects of poor universality and low real-time processing ability of the existing binary translation system for non-aligned memory access processing, the present invention proposes a processing method for non-aligned memory access

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
  • Non-aligning access and storage processing method
  • Non-aligning access and storage processing method
  • Non-aligning access and storage processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] A method for processing non-aligned memory access provided by the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0040] The method provided by the embodiment of the present invention is mainly used in the binary translator with IA-32 as the source architecture, and is used to deal with the non-aligned memory access in the program. In this embodiment, IA-32 is used as the source architecture, and ALPHA is used as the target architecture, that is, the IA-32 executable program is translated to the ALPHA instruction set computer for execution. The applicable target architecture of this method can be extended to MIPS, Itanium and other architectures.

[0041] Figure 1 point In addition, it shows the system composition and method flow for processing unaligned memory access instructions, such as Figure 1aAs shown, the IA-32 executable program translates and interprets unaligned memory access instru...

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

A non-aligned access and memory processing method includes: setting translation threshold according to the objective set structure, executing pitching pile to the access and memory instructions in the translator, to obtain the non-aligned access and memory instruction information; when the implementation number of the translation unit is greater than the translation threshold, the non-aligned access and memory instruction information advises the translator to select a suitable instruction to translate the translation unit into the local code; the non-aligned access and memory instructions undiscovered by the translator pitching pile are generated into the corresponding non-aligned access and memory instruction sequence according to the exception handling mechanism, inserting in the exception handling address, and embedding in the executing code. Adoption of the method can largely reduce the number of exception times of the non-aligned access and memory produced in the binary translator, and improves the efficiency of the binary translator; can better handle the non-aligned access and memory exception appearing in the application program whose code implementation action varies with different input sets, and can effectively improve the operating efficiency of the binary translation system.

Description

technical field [0001] The present invention relates to the technical field of binary translation in the computer field, and more specifically, the present invention relates to a method for processing unaligned memory access in binary translation. Background technique [0002] Binary translation is an important technical means to solve the problem of software transplantation. It can translate an executable program on one instruction set architecture (ISA) to another instruction set architecture computer for execution, and has a high execution performance. efficiency. Binary translation has been used to translate an executable program on one ISA to a higher version of the same ISA, so that the software developed on a low-end machine can be efficiently run on a high-end machine in the same series of computers. Especially with the popularity of virtual machine technology, the importance of binary translation technology is becoming more and more obvious. Many virtual machine so...

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/45
Inventor 李建军武成岗陈龙
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products