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

Method and device for processing memory access instructions by 64-bit virtual machine

A virtual machine, 64-bit technology, applied in the computer field, can solve problems such as program performance loss, compilation process performance impact, time-consuming, etc.

Active Publication Date: 2016-10-19
LOONGSON TECH CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above method is relatively time-consuming in address analysis. For just-in-time compilation, the process of address analysis will be a frequent operation, which will bring performance impact to the compilation process. In addition, for the Java virtual machine, which dynamically generates and executes code The program, when generating memory access code, may not be able to determine the value of the target address, the address may be modified after the code is generated, because the corresponding code must be known only after the value of the target address, and because The variable length of the instruction sequence will increase the complexity of the address refill process and bring performance loss to the entire program

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
  • Method and device for processing memory access instructions by 64-bit virtual machine
  • Method and device for processing memory access instructions by 64-bit virtual machine
  • Method and device for processing memory access instructions by 64-bit virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0019] The method for processing a memory access instruction by a 64-bit virtual machine provided by the embodiment of the present invention can be specifically applied to when a 64-bit virtual machine receives and processes a memory access instruction. The device for processing the memory access instruction of the virtual machine or the just-in-time compiler are executed, a...

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

An embodiment of the invention provides a method and a device for a 64-bit virtual machine to process a memory-reference instrument and relates to the technical field of computers. The problem of the whole program performance loss is solved. The method comprises the steps of obtaining the memory-reference instrument; confirming a low-order address of an accessed target address indicated by the memory-reference instrument according to the memory-reference instrument; generating a first assembly instruction and a second assembly instruction according to the low-order address of the target address to load the low-order address to a first register through the first assembly instruction and the second assembly instruction; generating a third assembly instruction according to the memory-reference instrument, wherein the third assembly instruction is used for accessing and memorizing the low-order address stored in the first register and a high-order address stored in a second register, the target address is superposed, and the high-order address is a global high-order address of a program. The method and the device for the 64-bit virtual machine to process the memory-reference instrument are used for instant compiling in the 64-bit virtual machine.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a method and device for processing memory access instructions by a 64-bit virtual machine. Background technique [0002] In the prior art, when a 64-bit Java virtual machine processes a memory access instruction, it first determines the target address indicated by the memory access instruction, and analyzes the target address, and then compiles an efficient instruction sequence according to the characteristics of the target address, Therefore, the lengths of memory access instruction sequences generated for different address values ​​are different. When the length is high, even 7 instructions can complete a memory access operation. [0003] The above method is relatively time-consuming in address analysis. For just-in-time compilation, the process of address analysis will be a frequent operation, which will bring performance impact to the compilation process. In ad...

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/30G06F9/455
Inventor 敖琪靳国杰高翔
Owner LOONGSON TECH CORP
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