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

Conditional branch instruction fusion method, device and computer storage medium

A conditional branch, instruction memory technology, applied in computing, instruction analysis, concurrent instruction execution and other directions, can solve problems such as waste of computing resources

Active Publication Date: 2021-01-15
西安芯云半导体技术有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above phenomenon causes a waste of computing resources

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 branch instruction fusion method, device and computer storage medium
  • Conditional branch instruction fusion method, device and computer storage medium
  • Conditional branch instruction fusion method, device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0042] see figure 1 , which shows a computing system 2 capable of implementing the technical solutions of embodiments of the present invention, examples of which include but are not limited to: wireless devices, mobile or cellular phones (including so-called smart phones), personal digital assistants (PDAs) , video game consoles (including video displays, mobile video game devices, mobile video conferencing units), laptop computers, desktop computers, television set-top boxes, tablet computing devices, e-book readers, fixed or mobile media players, Wait. exist figure 1 In an example, the computing system 2 may include: a CPU 6 , a system memory 10 and a GPU 12 . Computing system 2 may also include display processor 14 , transceiver module 3 , user interface 4 and display 8 ...

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 embodiment of the invention discloses a conditional branch instruction fusion method and device and a computer storage medium. The method comprises the following steps: in a compiling stage, respectively generating corresponding code blocks from branch statements in a conditional branch statement sequence in response to detecting that the conditional branch statement sequence appears in a program; fusing the code blocks according to a set instruction fusion strategy to obtain a fusion instruction, and storing the fusion instruction in an instruction memory, wherein the branch statement corresponds to a judgment result corresponding to a conditional judgment statement in the conditional branch statement sequence; in an execution stage, decoding a fusion instruction read from the instruction memory to obtain a code block contained in the fusion instruction; scheduling code blocks obtained by decoding to corresponding execution units in parallel according to an execution result obtained by executing the conditional judgment statement; and executing the scheduled code block through the execution unit.

Description

technical field [0001] The embodiments of the present invention relate to the field of chip technology, and in particular to a fusion method, device and computer storage medium of conditional branch instructions. Background technique [0002] Single-Instruction-Multiple-Thread (SIMT, Single-Instruction-Multiple-Thread) is currently a conventional mode for parallel execution of Graphics Processing Unit (GPU, Graphics Processing Unit) or CPU. In SIMT mode, a thread group or warp is a basic scheduling unit in the GPU. In the process of parallel execution, for a piece of program code, when a conditional branch occurs, for the branch instruction, the program running direction is usually determined according to the result of the conditional judgment; specifically, for the conditional branch instruction, when one of the processors In the process of warp processing the conditional branch instruction, two branch codes will be obtained based on the conditional judgment result. Among ...

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/30G06F9/38
CPCG06F9/30058G06F9/30145G06F9/3851G06F9/3869G06F9/3887
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