The invention discloses a
compiler implementation method supporting heterogeneous computing core architecture. The
compiler implementation method comprises the steps of converting a high-level language program into an intermediate representation code; converting the intermediate representation code into a
machine code instruction; according to the types of the
machine code instructions, mapping the
machine code instructions of different types to corresponding computing cores in the heterogeneous computing core architecture to be executed, wherein the
machine code instructions comprise a universal instruction, a cluster instruction and a thread instruction, and for the cluster instruction, a corresponding self-defined built-in function is adopted for conversion; and for general instructionsand thread instructions, adopting an existing built-in function or instruction of an
open source compiler for conversion. According to the compiler implementation method, multiple types of high-levellanguage programs can be automatically processed, and the high-level language programs are sequentially converted into the intermediate representation codes and the
machine code instructions which can be finally executed, and the
machine code instructions are distributed to different computing cores to be executed according to the attribute types of the machine code instructions, and
data transmission through a
system bus is avoided, and the instruction execution performance is improved.