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

Instruction processing method and device

A technology of command processing and command, which is applied in the field of data processing, can solve the problem of a large number of uploaded commands, and achieve the effect of alleviating the shortage of space resources

Pending Publication Date: 2020-10-30
HUAWEI TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method and device for instruction processing, which can solve the problem of too many instructions during the instruction upload process

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

[0047] The technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are part of the embodiments of the 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 creative work, all belong to the scope of protection of this application.

[0048] The execution of a computer program is reflected in the repeated execution of several steps by the processor, such as fetching instructions, analyzing instructions, and executing instructions. In order to reduce the speed of program execution and improve the execution performance of the processor, one method currently available is to use branch conversion technology (or branch condition lifting technology) to raise the judgment conditions in the program to before the branch jump. The opti...

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 an instruction processing method and device. The instruction processing method comprises the following steps: renaming a branch instruction needing to be lifted in a first program and a write variable in a dependent instruction of the branch instruction, so that the write variable has a globally unique variable name; and obtaining a first instruction sequence according to the branch instruction and the dependency instruction after the write variable is renamed. According to the technical scheme provided by the invention, the read-write problem caused by write variables with the same name in a branch conversion technology can be solved.

Description

technical field [0001] The present application relates to the field of data processing, specifically, a method and device for instruction processing. Background technique [0002] A branch instruction is a class of instructions that can change the direction of instruction flow. In the current pipeline-based processor chip, the existence of branch instructions (such as jump instructions) may cause the instruction pipeline to empty or increase the processing delay of the processor, thereby affecting the execution performance of the processor. [0003] In the design of the processor, in order to speed up the forwarding table lookup operation, a multi-way branch hardware accelerator is often used for multi-way branch query, that is, to convert part of the branch similar to the multi-way branch (similar to switch) statement structure into a hardware-accelerated query way to optimize, but there are still a large number of unoptimized branch jump instructions. At present, a simpl...

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/30
CPCG06F9/3005
Inventor 王蕾王立国罗伟坚全龙
Owner HUAWEI TECH CO LTD
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