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

Method and device for realizing flow line of processing instructions and processor

A technology for processing instructions and implementing methods, applied in concurrent instruction execution, machine execution devices, electrical digital data processing, etc., can solve problems such as high hardware overhead and loss of pipeline efficiency, and achieve the effect of saving hardware overhead and improving pipeline efficiency.

Active Publication Date: 2016-09-28
LOONGSON TECH CORP
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] For the first pipeline method of processing instructions, due to the occurrence of "cavitation" in the pipeline, although it can ensure that the processor can correctly fetch instructions, it loses pipeline efficiency;
[0010] For the second pipeline method of processing instructions, since a special branch predictor is required, the hardware overhead is relatively large. In addition, if the jump address prediction is incorrect, additional delay overhead and power consumption overhead will be generated.

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 realizing flow line of processing instructions and processor
  • Method and device for realizing flow line of processing instructions and processor
  • Method and device for realizing flow line of processing instructions and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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 only some 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.

[0029] The present invention provides a method for implementing a pipeline for processing instructions, which is applied to a processor based on a delay slot instruction. The pipeline for processing instructions includes an instruction fetching stage, a decoding stage, and an execution stage. The method includes:

[0030] S11. Obtain a predet...

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 a method and a device for realizing a flow line of processing instructions and a processor. The flow line of the processing instructions comprises an instruction acquisition stage, a decoding stage and an execution stage. The method comprises the following steps of acquiring a predetermined number of to-be-processed instructions from an instruction memory in the instruction acquisition stage; judging an instruction type of each instruction in the predetermined number of instructions, computing a skip target address when judging that the current instruction is a skip instruction, acquiring a skip target instruction from the instruction memory according to the skip target address and decoding a delay slot instruction after the current instruction and the skip target instruction in the decoding stage; and executing the decoded delay slot instruction and the decoded skip target instruction in sequence in the execution stage. According to the method and the device for realizing the flow line of the processing instructions and the processor, the efficiency of the flow line can be improved; and meanwhile, the hardware cost and the possible delay cost and power consumption cost can be saved.

Description

technical field [0001] The invention relates to the technical field of processor architecture, in particular to a method, device and processor for implementing a pipeline for processing instructions. Background technique [0002] A jump instruction is a processor, such as a MIPS processor, an instruction commonly used in an instruction set architecture, which is used to convert program execution from executing a first sequence of instructions to executing a second sequence of instructions, when the processor fetches a jump instruction from memory , which jumps to the target address and begins execution of the second sequence of instructions. It can be seen that the execution result of the jump instruction directly affects where the subsequent operation obtains the instruction. In addition, the MIPS instruction set stipulates that all jump instructions must have a delay slot instruction. The delay slot instruction is the next instruction immediately after the jump instructio...

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/38
CPCG06F9/3806G06F9/3844
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