摘要:
A high-sped block is formed by generating and connecting a new basic block (contains an intermediate code obtained by performing variable replacing processing to a path replacement target variable of the intermediate code on a hot path of an original partial program and contains a branching intermediate code where a branching instruction on the hot path is converted so as to execute the hot path), and a basic block with an intermediate code for restoring value of path guarantee variable among the path replacement target variables to a value of an original variable. When an execution result of a conditional branching intermediate code is true, the speeding up of the original program is achieved through executing the basic block, and performing dependency analysis and dependency generation between the intermediate codes in the high-speed block and scheduling of the instructions.
摘要:
Provided is a program converting device that facilitates processing of assigning each of process units to be executed in parallel, with information (a relative priority, for example) that directs an OS or a scheduler regarding processing performance to be allocated to all or a part of the process units. The program converting device of the present invention includes: a requirement information receiving unit that receives requirement information that indicates required performance required on all or a part of an object program; a dividing unit that calculates a processing amount of each of at least one of process units executable in parallel and then divides at least a part of an input program into the process units to satisfy the required performance; and a direction information generation unit that generates an direction information file that directs, to a processor, regarding processing performance to be allocated to at least one of the divided process units.