摘要 |
PROBLEM TO BE SOLVED: To perform the efficient vector process of an array built-in function. SOLUTION: An array built-in function detecting means 1 detects the array built-in function when an executable program is executed. An array built-in function kind specifying means 3 specifies the kind of the detected array built-in function. A threshold generating means 4 generates the threshold corresponding to the specified kind. A vectorizable part specifying means 2 analyzes the array included in the detected array built-in function to specify a vectorizable part and refers to the threshold supplied from the threshold generating means 4 to supply the vectorizable part to a vector processing means 5 when its length is larger than the threshold or to a scalar processing means 7 when not. An execution environment specifying means 6 specifies the execution environment of the program and supplies it to the vector processing means 5. The vector processing means 5 performs the vector process of the array built-in function according to the processing procedure corresponding to the environment specified by the execution environment specifying means 6. The scalar processing means 7 performs the scalar processing of the array.
|