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

Instruction processing method and device

An instruction processing and instruction technology, applied in the field of instruction processing methods and devices, can solve problems such as difficulty in making full use of pipelines, waste of processor resources, etc., and achieve the effect of making full use of pipeline levels and reducing waste of resources

Active Publication Date: 2021-07-13
北京中科晶上科技股份有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides an instruction processing method and device to solve the problem in the related art that it is difficult to make full use of the pipeline level of the pipeline during the working process of the processor, which leads to the waste of resources of the processor

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 processing method and device
  • Instruction processing method and device
  • Instruction processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0026] It should be noted that the terms "first" and "second...

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 discloses an instruction processing method and device. The method comprises the steps: determining the number of delay slots corresponding to a transfer instruction when the transfer instruction in a program is decoded at a decoding stage of a pipeline; when an execution stage of the assembly line executes the transfer instruction, determining a target assembly line stage occupied by the delay slots with the corresponding number in the assembly line, and flushing an instruction in the assembly line stage after the target assembly line stage; after the transfer instruction is executed, transferring to a target address; in the process that the target address obtains the second instruction, executing the first instruction in the execution level in sequence, so that the unoccupied pipeline level before the second instruction is executed is utilized. Through the method and the device, the problem of resource waste of the processor caused by difficulty in fully utilizing the pipeline level of the pipeline in the working process of the processor in the related technology is solved.

Description

technical field [0001] The present application relates to the technical field of processors, and in particular, to an instruction processing method and device. Background technique [0002] In the working process of a processor that includes a pipeline, when the branch and jump instructions are executed, multi-stage pipeline flushing after the branch / jump instruction is often caused, resulting in multiple bubbles after the branch / jump instruction, wasting the processor resource. [0003] In order to solve the resource waste problem of the processor, one or two fixed-length delay slots are set after the branch jump instruction in the related art. However, as the operating frequency of the processor increases, the number of core pipeline stages continues to increase. Stage fixed-length delay slots have been unable to solve the problem of waste of processor pipeline stages. [0004] In addition, in the related art, branch prefetch cache is also used to predict the target of b...

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
IPC IPC(8): G06F9/38G06F9/30
CPCG06F9/3867G06F9/3005Y02D10/00
Inventor 田昱王磊胡金龙
Owner 北京中科晶上科技股份有限公司
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