摘要 |
PROBLEM TO BE SOLVED: To quicken the arithmetic operation of the other portion of a program without degrading the accuracy of an arithmetic operation sensitive to the accuracy of an input value.SOLUTION: A word/phrase syntax analysis part 24 is configured to acquire a plurality of structures representing each of a plurality of arithmetic operations included in a first program as the target of complication and data dependency. Also, an optimization part 26 is configured to, when the arithmetic operation represented by each of the structures is the arithmetic operation whose output result receives a specific influence in accordance with the accuracy of an input value, add a mark to the structure. Also, the optimization part 26 is configured to, on the basis of the data dependency, add another mark to the structure representing the arithmetic operation having the specific data dependency on the arithmetic operation represented by the structure to which the mark is added. Also, the optimization part 26 is configured to execute optimization to the structure as the target of optimization to be replaced with the content of the arithmetic operation in which the execution of a second program scheduled to be acquired by performing complication to the first program generates a different result under a specific condition among the structures to which any mark is not added.SELECTED DRAWING: Figure 15 |