Heterogeneous multi-core processor compiler

A multi-core processor and compiler technology, applied in electrical digital data processing, instruments, memory systems, etc., can solve the problems that affect the development speed of processor hardware, cannot test and verify hardware functions, and increase the difficulty of compiler design. It is convenient for function expansion, good compatibility, and the effect of reducing the difficulty of use

Active Publication Date: 2013-05-22
BEIJING MXTRONICS CORP +1
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Designing such a compilation system from scratch has a very long development cycle, and without a compilation system, complete testing and verification of hardware functions cannot be performed.
Therefore, designing a heterogeneous multi-core compilation system from scratch will seriously affect the development speed of processor hardware
In addition, if the grammar is extended to the traditional language, the compiler needs to support these new grammars, which increases the difficulty of compiler design, and these new grammars need to be relearned by users, which increases the difficulty of users.

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
  • Heterogeneous multi-core processor compiler
  • Heterogeneous multi-core processor compiler
  • Heterogeneous multi-core processor compiler

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] Take the following example code as an example to further introduce the specific implementation of the present invention.

[0027]

[0028]

[0029] For the code in the example, the dependency information obtained by the program analyzer is as follows 202:

[0030] The main core function main() depends on the functions func1(), func2(), func3(). The reason for including func3() is that func1() calls func3(). No matter how many levels of nested calls there are, the program analyzer 102 can obtain the dependencies among them.

[0031] The 0th slave core function pe_0() depends on func2(), func2() is a shared module, because it is called by the master core and the 0th slave core function pe_0() at the same time. func1() and func3() are private modules because they are only called by the main core function main().

[0032] When the data decomposer 103 decomposes the code in the example, it decomposes the source code according to the dependency information obtained by the analysis ...

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 discloses a heterogeneous multi-core processor compiler which comprises a preprocessor (101) used for carrying out macro expansion and line continuation combination on source codes and obtaining preprocessing codes (107), and further comprises a program analyzer (102), a data splitter (103), a mononuclear compiler set (104), a data synthesizer (105) and a main core compiler (106). The program analyzer (102) adds a compiling instruction for the preprocessing codes (107), and obtains codes (108) to be compiled. Through adoption of the heterogeneous multi-core processor compiler, an existing compiling system can be used to achieve the application of a heterogeneous multi-core processor.

Description

Technical field [0001] The invention relates to a heterogeneous multi-core processor compiler. Background technique [0002] At present, most processors are multi-core processors, and multi-core processors are divided into homogeneous multi-core processors and heterogeneous multi-core processors according to the same structure or function of each core. Heterogeneous multi-core processors are widely used in embedded systems and aerospace fields due to their low cost, reconfigurable, and high performance characteristics. [0003] Heterogeneous multi-core processors usually include one or more master cores with perfect functions and multiple slave cores with special functions. In the development process of heterogeneous multi-core processor hardware, to verify and expand its functions, there must be a corresponding compilation system to assist. However, due to the characteristics of heterogeneous and multiple cores, the design of a heterogeneous multi-core compilation system is more...

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/45
Inventor 刘清涛于立新宋立国
Owner BEIJING MXTRONICS CORP
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