The invention discloses a
compiler system based on a configurable processor, adopting an
intermediate language format to carry out the organization of a
compiler and finishing the distribution and
instruction scheduling of a register by a linear trace and a
genetic algorithm, wherein the
compiler comprises an SUIF2, a first-level intermediate
machine language SUIF IR, an extensible compiling framework MACHSUIF, a second-level intermediate
machine language SUIFVM, a consolidated extension interface
Machine Library Interface, a serial configurable processor code Sequential Code, an architecture parser, a code generator, a configurable architecture description file ADT and a parallel configurable processor code. The invention enables the compiler to efficiently finish the generation of codes and solves the long-term problem that the compiler based on a TTA architecture processor has low efficiency through the combination of the front end of the compiler based on an intermediate
formate and the rear end of the compiler based on two
heuristic algorithms of the linear trace and the
genetic algorithm.