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

Method and system for improving direct jumps in processors

A processor and jump technology, applied in the field of data processing, can solve problems such as sub-functions are difficult to inline, achieve the effect of reducing clock overhead and reducing the probability of branch prediction failure

Active Publication Date: 2017-01-18
天津国芯科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But most subroutines are hard to inline into the calling function

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 system for improving direct jumps in processors
  • Method and system for improving direct jumps in processors
  • Method and system for improving direct jumps in processors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0036] Such as figure 1 As shown, the present invention proposes a method and a processor system for improving direct jumps in a processor, and the implementation includes:

[0037] The processor decoding unit decodes and finds an absolute jump instruction, and this jump instruction is not in the branch prediction jump history record.

[0038] The control unit notifies the fetching unit to continue to execute the n (n=1, 2, 3...) instructions following the jump instruction in sequence, without clearing the pipeline while executing the jump instruction thereafter.

[0039] Jump to the destination address for execution.

[0040] In the case of an absolute jump instruction with return address storage, the link register in the processor stores the address of the n+1th (n=1, 2, 3...) instruction following the absolute jump.

[0041] Absolute jump information does not need to be recorded in dynamic branch prediction records.

[0042] by figure 2 Take the processor pipeline stru...

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 a method for improving direct jump in a processor, wherein the method comprises the steps that if an absolute jump instruction which is not recorded in the branch prediction record is found, doing not need to clear the pre-fetched instructions of the absolute jump instruction from a production line, enabling a processor to execute the instructions under the jump instruction in sequence, executing the absolute jump instruction, and fetching an instruction from a destination address. The method and a system for improving the direct jump in the processor have advantages and positive effects that it is not necessary to clear the production line if the absolute jump instruction which is not recorded in the branch prediction record is discovered, and accordingly the clock overhead is reduced, and the branch prediction failure rate is lowered.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and a system for improving direct jump of a processor. Background technique [0002] Currently, branch prediction technology plays an important role in the development of processors, but for absolute jump instructions that are not in the branch prediction history, branch prediction will not play a role. Before jumping to the destination address for execution, the instruction fetch unit will sequentially fetch instructions. In order to execute the program normally, the control unit needs to clear the pipeline, which increases the clock overhead of direct jump and reduces the performance of the processor. [0003] Today's processor frequency is getting higher and higher, the number of processor pipeline stages is increasing, and the control unit's emptying of the pipeline has a greater impact on processor performance. [0004] The branch prediction technology need...

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
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