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

Instruction installation method and device, electronic equipment and storage medium

An instruction and jump instruction technology, applied in the computer field, can solve the problem that the jump address space cannot automatically compile the region jump instruction, etc., to avoid security risks, optimize execution performance, and improve quality.

Active Publication Date: 2019-06-21
LOONGSON TECH CORP
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The technical problem to be solved by the embodiments of the present invention is to provide an instruction installation method, device, electronic equipment and readable storage medium, so as to solve the problem that the region jump instruction cannot be automatically compiled due to the limitation of the jump address space

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
  • Instruction installation method and device, electronic equipment and storage medium
  • Instruction installation method and device, electronic equipment and storage medium
  • Instruction installation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0070] refer to figure 1 , which shows a flow chart of the steps of an instruction installation method in Embodiment 1 of the present invention, which may specifically include the following steps:

[0071] Step 101: Allocate at least one fixed area from the memory address space as a buffer according to the comparison result between the maximum value of the fixed area of ​​the processor and the size of the buffer for storing local instruction sequences in the virtual machine.

[0072] In the embodiment of the present invention, the instruction sequence executed on the virtual machine is recorded as a virtual machine instruction sequence, and the virtual machine instruction sequence is compiled into an instruction sequence executabl...

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 embodiment of the invention provides an instruction installation method and device. The method comprises the following steps of: according to the comparison result of the maximum value of the fixed area of the processor and the buffer area size of the local instruction sequence stored in the virtual machine, allocating at least one fixed area as a buffer area from the memory address space, compiling the target jump instruction in the instruction sequence of the virtual machine into an area jump instruction in a local instruction sequence, installing a local instruction sequence into a target fixed area of the buffer area, controlling the distribution of the buffer area by taking the fixed area as a unit; compilation and installation of a local instruction sequence can be controlled. According to the method and the device, the skip instruction address and the skip target address of the regional skip instruction are ensured to be located in the same fixed region, so that the securityrisk caused by generating the regional skip instruction is avoided, the regional skip instruction is automatically compiled and generated, the quality of compiling and generating the skip instructionis further improved, and the execution performance of the skip instruction on the virtual machine is optimized.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an instruction installation method, an instruction installation device, an electronic device and a readable storage medium. Background technique [0002] A virtual machine (VM, Virtual Machine) mainly uses software (or a small amount of hardware support) to virtualize a computer, and this virtual computer usually supports a set of corresponding instruction sets, called the virtual machine instruction set. . The virtual machine relies on the local physical machine (Host Machine), and simulates the execution of the given virtual machine instruction sequence (target program) on the local machine through its execution engine. [0003] The execution engine of the virtual machine can be implemented by an interpreter. Because interpreters have the characteristics of high portability, low implementation cost, and small memory footprint, the execution engines of most virtual machines ...

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/30G06F9/455G06F8/41
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