System for compiling iterated loops based on the possibility of parallel execution
AssigneeKabushiki Kaisha Toshiba
InventorsToru Imai, Kenji Sirakawa
Life of this patent
Estimating the term…
Loading patent…
AssigneeKabushiki Kaisha Toshiba
InventorsToru Imai, Kenji Sirakawa
Estimating the term…
A compiler apparatus in a computer converts source program to object program to be executed by the computer. If loop instructions are included in the object program, the resource reference extraction section extracts resources referred by the loop instructions and the resource change extraction section extracts resources changed by the loop instructions. The loop parallel decision section decides possibility of parallel execution for different stages of the loop instructions according to the extraction result. The code generation section generates object instructions which are parallely executed if the loop parallel decision section decides that the loop instructions can be parallely executed, generates object instructions which are not parallely executed if the loop parallel decision section decides that the loop instructions cannot be parallely executed, and generates object instructions which branches parallel execution instructions or non-parallel execution instructions according to condition to parallely execute at execution mode if the loop parallel decision section cannot decide whether the loop instructions can be parallely executed or not.
A loop compiler in a data processing system comprised of a plurality of processors, each capable of executing object programs, wherein the loop compiler compiles an object program consisting of a plurality of instructions to be executed by the data processing system, wherein a loop consists of a plurality of instructions to be executed a plurality of iterations by a one of the plurality of processors, the loop compiler comprising:
In a data processing system including a plurality of microprocessors for parallel execution of a program including a plurality of object instructions, wherein loops consist of a plurality of the object instructions capable of being executed by one of the plurality of microprocessors a plurality of times, the method performed in the data processing system consisting of the steps:
Dependencies are inferred from the claim text.