RISC-V branch prediction method and device, electronic equipment and storage medium

A RISC-V and branch prediction technology, applied in machine execution devices, program control design, electrical digital data processing, etc., can solve problems such as waste of computing resources, reduction of processor instruction processing efficiency, and consumption of additional instruction cycles
CN110134441AActive Publication Date: 2019-08-16INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Publication Date
2019-08-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a RISC (Radio Service Station)-V branch prediction method. On the basis of the prior art, the remaining number of jumps of the jump instruction is additionally obtained; according to the difference value of the remaining jumping times during continuous two-time jumping, a single-time jumping step length (the single-time jumping step length is not fixed as 1) is obtained through calculation; therefore, whether the target jump instruction executes the last jump or not can be judged according to the single jump step of the jump instruction in combination with the real-timeresidual jump times, so that whether the subsequent jump times still need to be executed or not can be determined according to the judgment result. By means of the scheme, whether the jump instruction currently jumps to the last time or not can be actively judged, compared with the prior art that the same result is passively obtained, extra computing resources and instruction periods do not needto be consumed, and the processing efficiency of the processed instruction is higher. The invention further discloses the RISC-V-branch prediction device, electronic equipment and a computer readablestorage medium, which have the above beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of RISC-V processors, in particular to a RISC-V branch prediction method, device, electronic equipment, and computer-readable storage medium. Background technique

[0002] With the complexity of the computer system, it is required that the structure of the computer instruction system can make the overall performance of the computer faster and more stable. Initially, the optimization method adopted by people is to set some complex function instructions, and some commonly used functions originally realized by software are replaced by hardware instruction system, so as to improve the execution speed of the computer. This kind of computer system is called It is called complex instruction system computer (CISC, Complex Instruction Set Computer).

[0003] However, with the development of computer technology, many defects were found in the direction of CISC. Therefore, RISC (Reduced Instruction Set Compu...

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