摘要 |
PROBLEM TO BE SOLVED: To realize register assignment for avoiding false dependence by deciding a real register as a candidate for preferentially assigning to a virtual register when the real register which never generate a new inter-instruction dependence relation exists based on information showing a section analyzing result and inter-instruction dependence relation. SOLUTION: By inputting a source program written in a high-level language, an analysis part 1 analyzes characters/phrases, syntax, etc., with respect to the inputted source program 11 to generate a first intermediate code 12. Next, an optimization part 2 optimizes the code 12 for accelerating processing to generate a second intermediate code 13. The part 2 executes flow analysis, data depending analysis, and instruction assignment, register assignment, etc. An output part 3 generates a machine language (object program) 14 which can be executed by an object processor based on the optimized code 13.
|