摘要 |
<p>PROBLEM TO BE SOLVED: To provide a method for efficiently parallelly processing an intra- procedure loop composed of an inside loop and an outside loop through a hierarchical multiprocessor. SOLUTION: The initial value of loop parameter of the outside loop is set to an inter-cluster communication register GCRO and plural clusters 1 are activated. Each time the present cluster possesses the value of loop parameter of the outside loop to be partially charged while referring to and updating the inter-cluster communication register GCRO according to a Fetch & Add instruction, a representative processor 11 of each cluster 1 sets that value to an intra-cluster shared area IN and sets the initial value of the inside loop to an intra-cluster communication register LCRO. The representative processor 11 of each cluster 1 and other processors from 12-1 to 12-n possess the value of loop parameter of the inside loop to be partially charged by a present program while referring to and updating the intra-cluster communication register LCRO according to the Fetch & Add instruction and execute the processing of a repetition part determined by this value and the value of loop parameter of the outside loop set in the intra-cluster shared area IN as one task.</p> |