Multithreading flow branch control method and control device thereof
A branch control and multi-threading technology, applied in the direction of machine execution devices, concurrent instruction execution, etc., can solve problems such as reliability defects, achieve simple structure, reduce complexity, and avoid invalid execution operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0023] Such as figure 1 As shown, the SPMD stream processor applied in the present invention includes several scalar cores, each scalar core has an internal PC register, and the entire SPMD stream processing has an external PC register. The pipeline in each scalar core is divided into five stages: instruction fetch stage (IF), instruction decode stage (ID), execution stage (EX), memory access stage (MEM) and write back stage (WB).
[0024] The detailed process of the multi-thread flow branch control method of the present invention is:
[0025] ① When the external PC register is initialized for the first time (pointing to the initial location of the program to be executed), the internal PC register of each scalar core is also initialized to the same value. In this way, the first instruction of the program is guaranteed to be executed...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 