摘要 |
PROBLEM TO BE SOLVED: To increase the execution speed of an arithmetic processing program that translates polynomial operations included in a source program, by expanding the polynomial operations into hardware instructions during compiling, either after the polynomial operations have been sorted in increasing order of number of places or starting with a combination that minimizes operation results including intermediate results, so that the number of hardware instructions for performing the polynomial operations is minimized. SOLUTION: This arithmetic processing method includes a step in which polynomial multiplications among the polynomial operations included in the source program are sorted in increasing order of number of places; a step in which, when hardware instructions for performing the operations starting with the first of the polynomial multiplications sorted in increasing order of number of places are generated and if the number of places of the hardware instructions is exceeded, the hardware instructions are divided into a range not exceeding the number of places; and a step in which, when the hardware instructions for performing the operations starting with the first of the polynomial operations are generated or divided, hardware instructions are generated for the operations after division. COPYRIGHT: (C)2005,JPO&NCIPI
|