Unlock instant, AI-driven research and patent intelligence for your innovation.

Simulation method and device for extended instruction

A simulation method and instruction technology, applied in the field of computer technology and processors, can solve problems such as reducing the efficiency of testing and increasing the time of testing

Active Publication Date: 2019-11-05
LOONGSON TECH CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for simulating extended instructions, which are used to solve the problem in the prior art that before testing each extended instruction of a binary executable program, it is necessary to first scan the code program of the binary executable program, and then complete the test. The test process of each extended instruction increases the time for testing the extended instructions of the binary executable program and reduces the efficiency of the test.

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
  • Simulation method and device for extended instruction
  • Simulation method and device for extended instruction
  • Simulation method and device for extended instruction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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 and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] figure 1 The flow chart of the simulation method of the extended instruction provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method of the present embodiment includes:

[0027] Step 101: Determine the memory location of the instruction simulation program corresponding to the extended instruction acco...

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 provides an expansion instruction simulation method and apparatus. The method comprises the steps of determining a memory position of an instruction simulation program corresponding to an expansion instruction according to a user-mode software interruption instruction in a binary executable program, wherein the user-mode software interruption instruction corresponds to the expansion instruction in the binary executable program; and calling and executing the instruction simulation program corresponding to the expansion instruction according to the memory position. The binary executable program can be subjected to simulative execution without changing the number of instructions in the binary executable program, so that addresses of the instructions in the binary executable program are not changed, a code program of the binary executable program does not need to be re-scanned, the simulative execution time of the expansion instruction in the binary executable program is shortened, and the simulative execution efficiency is improved.

Description

technical field [0001] The invention relates to computer technology and processor technology, in particular to a method and device for simulating extended instructions. Background technique [0002] In the process of upgrading and updating the processor, it is necessary to expand the instructions in the binary executable program, thus forming the extended instructions. After the instructions in the instruction set of the processor are expanded, it is necessary to simulate and execute the extended instructions of the binary executable program, and the content of the simulated execution includes the simulation of the extended instructions and the verification of the extended instructions. [0003] In the prior art, when testing the expansion instructions of the binary executable program, it is necessary to place multiple test codes or multiple test instructions at the location of the expansion instructions, and then re-scan the code program of the binary executable program , ...

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/455
CPCG06F9/45558G06F2009/45583
Inventor 薛双百屈秋雯
Owner LOONGSON TECH CORP