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

Instruction Execution Method and Processor

An instruction execution and processor technology, applied in the field of instruction execution methods and processors, can solve the problems of low efficiency, complexity, and limited software program scalability and applicability in software program modification.

Active Publication Date: 2021-03-30
LOONGSON TECH CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, pipeline flushing is required when exceptions / interrupts occur and context protection is required, making software program changes inefficient and complex
Moreover, some software programs themselves shield exceptions / interruptions, resulting in software programs that cannot be changed, which greatly limits the scalability and applicability of software programs

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 Execution Method and Processor
  • Instruction Execution Method and Processor
  • Instruction Execution Method and Processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] 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.

[0020] figure 1 It is a flow chart of the instruction execution method provided by Embodiment 1 of the present invention. In the instruction execution method provided in this embodiment, the execution subject may be a processor. like figure 1 As shown, the instruction execution method provided in this embodiment may include:

[0021] S101...

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 present invention provides an instruction execution method and a processor. The instruction execution method comprises the following steps of: obtaining an instruction of program code, wherein thepreset position of the program code is provided with an access memory return pipeline instruction, which is used for acquiring the target data and sending the target data back to the instruction pipeline to execute the target data; instruction decoding of program code; if the instruction of the program code is an access-memory-return pipeline instruction, the access-memory-return pipeline instruction being executed, and the decoding of the instruction to be processed in the instruction pipeline being suspended, wherein the instruction to be processed is an instruction located in the instruction pipeline after the access-return pipeline instruction. The instruction execution method provided by the invention, by setting the access memory return pipeline instruction at a preset position in the software code, the processor executes the access memory return pipeline instruction, thereby improving the expansibility and applicability of the software code.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to an instruction execution method and a processor. Background technique [0002] A software program refers to a computer program developed to run on an operating system in order to complete one or several specific functions. A software program, once compiled, performs a specific function when run on a microprocessor. The software program can also have different functions according to the change of the input data, and the selection of different functions is realized through branch instructions. That is to say, all the functions are preset in the software program, but enter different function branches according to different inputs. [0003] Many times, we need to change the execution function of a software program. For example, when a software program executes an error and needs to be diagnosed, a diagnostic function needs to be inserted. Another example is when patchin...

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/38
CPCG06F9/3867
Inventor 邢金璋郑雅文吴瑞阳
Owner LOONGSON TECH CORP