摘要 |
PURPOSE:To generate an optimized object program, by checking the mode, where a parallel operating part is used, on a basis of a given intermediate code and assigning modes, where the parallel operating part is used, successively to execute the compiling processing. CONSTITUTION:Sentences of a source program 17 are interpreted in a source interpreting part 20 of a compiler 18 and are developed to the intermediate code, and addresses in a storage area are allocated to various data appearing in the program 17 by a storage area allocating part 21. Loop structures in the address-allocated program 17 are detected by a vector converting part 22, and parallel executable parts are recognized and are changed to the intermediate code. The program is subjected to the optimization for using effectively a vector processing processor in the level of the intermediate code by an intermediate code optimizing part 23, and resources (registers) on the processor are assigned by a register use determining part 24. By an object program output part 25, machine instruction words are outputted to an object program 19, and the optimization in the level of instruction words is performed. |