摘要 |
PURPOSE:To extend a range executable in parallel even if a source program includes an IF sentence, by preparing sentence masks and path masks to transform the source program including the IF sentence. CONSTITUTION:In a vector converting part for change of an intermediate code in the process where an object program is generated from a given source program, a sentence mask mi corresponding to the i-th sentence is set if an IF sentence exists in a loop. If the i-th sentence is not an IF sentence, the value mi of the sentence mask is set as a path mask Pi,i+1 in accordance with the path from the i-th sentence to the (i+1)th sentence. If the i-th sentence is an IF sentence, a path mask Pik=miANDCi to the k-th sentence, to which the control is jumped when a condition Ci of the IF sentence is satisfied, is set, and a path mask Pik'= miAND(-)Ci is set in accordance with the path to the k'-th sentence to which the control is jumped when the condition Ci is not satisfied. Paths from the l- sentence are checked for the i-th sentence, and a sentence mask mi=UlPli(l i) to the i-th sentence is given, thus transforming the source program to a parallel executable form to process it. |