Conditional jump instruction processing method and system and related device

A technology of conditional jump and processing method, applied in concurrent instruction execution, machine execution device, electrical digital data processing, etc., can solve problems affecting processor efficiency, and achieve the effect of improving instruction execution efficiency and prediction success rate

Pending Publication Date: 2021-12-07
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the instruction prediction fails, the pipeline needs to be refreshed and

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
  • Conditional jump instruction processing method and system and related device
  • Conditional jump instruction processing method and system and related device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0038] Please refer to figure 1 , figure 1 It is a flow chart of a processing method of a conditional jump instruction provided by the embodiment of the present application,

[0039] S101: Determine an instruction fetch address, and fetch a target instruction from the instruction cache according to the instruction fetch address;

[0040] This step ...

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 conditional jump instruction processing method. The method comprises the following steps: determining an instruction fetching address, and fetching a target instruction from an instruction cache according to the instruction fetching address; analyzing the target instruction to obtain an instruction type; if the instruction type is a conditional jump instruction, controlling the conditional jump instruction to jump according to a preset jump rule; when the conditional jump instruction jumps normally according to the preset jump rule, sending corresponding instruction information to a first cache; and when the conditional jump instruction jumps abnormally not according to the preset jump rule, sending the corresponding instruction information to a second cache. According to the invention, the problem that a dynamic prediction method is easily influenced by an algorithm, resources, a compiler and application adaptation can be solved, and the instruction execution efficiency of a processor is improved. The invention further provides a conditional jump instruction processing system, a computer readable storage medium and electronic equipment, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of communication of electronic equipment, in particular to a processing method, system and related devices for conditional jump instructions. Background technique [0002] RISC-V (Reduced Instruction Set Computing-Five, the fifth generation of reduced instruction set), is a new instruction set established on the basis of continuous development and maturity of instructions. It has the advantage of latecomer, clear and simple structure, and modular design It can be freely matched according to the needs, flexible and convenient, strong in portability, and has a complete tool chain. However, most instruction designs still follow the traditional instruction pipeline, and the BHT and BTB modes of dynamic prediction are adopted for the processing of branch instructions. When the instruction prediction fails, the pipeline needs to be refreshed and the instruction fetched again, which seriously affects the processor...

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/30G06F9/38
CPCG06F9/30058G06F9/30047G06F9/3814
Inventor 王贤坤周玉龙邹晓峰张贞雷于锦辉
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products