JP2842057B2 - Objective program generator - Google Patents

Objective program generator

Info

Publication number
JP2842057B2
JP2842057B2 JP4177632A JP17763292A JP2842057B2 JP 2842057 B2 JP2842057 B2 JP 2842057B2 JP 4177632 A JP4177632 A JP 4177632A JP 17763292 A JP17763292 A JP 17763292A JP 2842057 B2 JP2842057 B2 JP 2842057B2
Authority
JP
Japan
Prior art keywords
text
innermost loop
random number
sequence random
generated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP4177632A
Other languages
Japanese (ja)
Other versions
JPH05341966A (en
Inventor
義典 津田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4177632A priority Critical patent/JP2842057B2/en
Publication of JPH05341966A publication Critical patent/JPH05341966A/en
Application granted granted Critical
Publication of JP2842057B2 publication Critical patent/JP2842057B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はベクトル演算機能を有す
る電子計算機システム用の目的プログラムを生成する目
的プログラム生成装置に関し、特に、最内側ループ中に
存在するM系列乱数発生組み込み関数の最適化を行なう
目的プログラム生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object for generating an object program for an electronic computer system having a vector operation function.
It relates specifically program generating apparatus, in particular, to optimize the M-sequence random number generator built-in functions that are present in the innermost loop
The present invention relates to a target program generation device .

【0002】[0002]

【従来の技術】従来より、ベクトル演算機能を有する電
子計算機システム用の目的プログラムを生成する目的プ
ログラム生成装置に於いては、最内側ループ中のM系列
乱数発生組み込み関数をベクトル化するということが行
なわれているが、従来の目的プログラム生成装置は最内
側ループ内に於いてM系列乱数発生組み込み関数をベク
トル化しているため、最内側ループに存在するM系列乱
数発生組み込み関数の数が1個の場合にしかベクトル化
を行なうことができなかった。
2. Description of the Related Art Conventionally, an object program for generating an object program for a computer system having a vector operation function has been known.
In the program generator , the M-sequence random number generation built-in function in the innermost loop is vectorized. However, the conventional target program generator generates the M-sequence random number generator in the innermost loop. Since the built-in function is vectorized, vectorization can be performed only when the number of the M-sequence random number generation built-in functions existing in the innermost loop is one.

【0003】例えば、図3に示すように、M系列乱数発
生組み込み関数RANDM1( )が2個存在する最内側
ループの場合、A(1),A(2),…,A(100
0)の値はM系列乱数発生組み込み関数RANDM1
( )が第1番目,第3番目,…,第1999番目に発生
した乱数の値によって決まり、C(1),C(2),
…,C(1000)の値は第2番目,第4番目,…,第
2000番目に発生した乱数の値によって決まる。しか
し、最内側ループに於いてM系列乱数発生組み込み関数
RANDM1( )をベクトル化すると、A(1),A
(2),…,A(1000)の値はM系列乱数発生組み
込み関数RANDM1( )が第1番目,第2番目,…,
第1000番目に発生した乱数の値によって決まり、C
(1),C(2),…,C(1000)の値は第100
1番目,第1002番目,…,第2000番目に発生し
た乱数の値によって決まってしまい、ベクトル化した場
合としない場合とで処理結果が異なるものになってしま
う。
For example, as shown in FIG. 3, in the case of an innermost loop having two M-sequence random number generation built-in functions RANDM1 (), A (1), A (2),.
0) is the M-sequence random number generation built-in function RANDM1
() Is determined by the values of the first, third,..., 1999th random numbers, and C (1), C (2),
, C (1000) are determined by the values of the second, fourth,..., 2000th random numbers. However, when the M-sequence random number generation built-in function RANDM1 () is vectorized in the innermost loop, A (1), A
The values of (2),..., A (1000) are the first, second,.
Determined by the value of the 1000th random number, C
The value of (1), C (2), ..., C (1000) is 100th
The first, 1002,..., 2000th random numbers are generated, and the processing result differs depending on whether or not vectorization is performed.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
目的プログラム生成装置は最内側ループ内に存在する
M系列乱数発生組み込み関数の個数が1個の場合にしか
ベクトル化を行なうことができなかったため、最内側ル
ープにM系列乱数発生組み込み関数が複数存在する場
合、M系列乱数の発生処理に多くの時間を要するという
問題があった。
As described above, the conventional object program generation device can perform vectorization only when the number of M-sequence random number generation built-in functions existing in the innermost loop is one. Therefore, when there are a plurality of M-sequence random number generation built-in functions in the innermost loop, there is a problem that much time is required for the M-sequence random number generation processing.

【0005】また、従来の目的プログラム生成装置によ
って生成された目的プログラムの実行時、複数のM系列
乱数発生組み込み関数を含む最内側ループ内に於いては
M系列乱数がスカラー演算によって発生させられるた
め、目的プログラムの実行速度が遅くなるという問題も
あった。
When executing a target program generated by a conventional target program generator , an M-sequence random number is generated in an innermost loop including a plurality of M-sequence random number generation built-in functions. There is also a problem that the execution speed of the target program is reduced because it is generated by the scalar operation.

【0006】本発明の目的は、最内側ループに複数のM
系列乱数発生組み込み関数が存在する場合に於いても、
高速に乱数を発生させることができ、且つ、目的プログ
ラムの実行速度を高速化することができる乱数発生組み
込み関数の最適化方式を提供することにある。
[0006] It is an object of the present invention to provide a plurality of M in the innermost loop.
Even if there is a built-in function for generating sequence random numbers,
An object of the present invention is to provide a random number generation built-in function optimizing method capable of generating random numbers at a high speed and increasing the execution speed of a target program.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するため、 (A)ベクトル演算機能を有する電子計算機システム
の目的プログラムを生する目的プログラム生成装置
於いて、ソースプログラムから中間テキスト群を生成す
るテキスト生成手段と、該テキスト生成手段が生成した
中間テキスト群の中から最内側ループに対応する中間テ
キストを検出する最内側ループテキスト検出手段と、該
最内側ループテキスト検出手段が検出した最内側ループ
に対応する中間テキストにM系列乱数発生組み込み関数
が含まれているか否かを判定する乱数発生組み込み関数
検出手段と、該乱数発生組み込み関数検出手段でM系列
乱数発生組み込み関数が含まれていると判定された最内
側ループに対応する中間テキストを、最内側ループの直
前に於いてM系列乱数をベクトル演算によって一括して
発生するように変形することが可能か否かを判定する変
形可能テキスト検出手段と、該変形可能テキスト検出手
段で変形可能と判定された中間テキストに対応する最内
側ループの繰り返し数が静的に定まるものである場合、
前記最内側ループに於けるM系列乱数の発生個数を求
め、該求めたM系列乱数の発生個数が前記電子計算機シ
ステムに於いてベクトル演算によってM系列乱数を発生
させない方が処理速度が速くなる個数の最大値よりも大
きいことにより、前記最内側ループに対応する中間テキ
ストを、最内側ループの直前に於いてM系列乱数をベク
トル演算によって一括して発生させて配列に設定し、
内側ループ内の処理を前記配列に設定したM系列乱数を
参照して行なうように変形するテキスト変形手段と、該
テキスト変形手段で変形が済んだ中間テキスト群を用い
て目的プログラムを生成する目的プログラム生成手段と
を設けたものである。
To achieve the above object, the present invention provides: (A) an electronic computer system having a vector operation function ;
Intermediate text object program In the object program generation device that generates, corresponding text generating means for generating an intermediate text group from the source program, from the intermediate text group to which the text generation means has generated the innermost loop of the And a random number generation built-in function for determining whether an intermediate text corresponding to the innermost loop detected by the innermost loop text detection unit includes an M-sequence random number generation built-in function Detection means, and an intermediate text corresponding to the innermost loop determined to include the M-sequence random number generation built-in function by the random number generation built-in function detection means, and an M-sequence random number immediately before the innermost loop is vectorized. Deformable text detection to determine whether it is possible to perform If a unit, the number of repetitions of the innermost loop, corresponding to an intermediate text is determined deformable deformable text detection means are those determined statically,
The number of generated M-sequence random numbers in the innermost loop is calculated, and the calculated number of generated M-sequence random numbers is calculated by the computer system.
Generate M-sequence random number by vector operation in stem
By be greater than the maximum value of the number of processing speed is increased better not let the intermediate text corresponding to the innermost loop, is generated collectively by vector operation the M-sequence random number at just before the innermost loop set the array, the M-sequence random number setting process in the innermost loop to the sequence
It is provided with text transformation means for performing transformation by reference , and a target program generation means for producing a target program using the intermediate text group transformed by the text transformation means.

【0008】また、本発明は上記目的を達成するため、 (B)ベクトル演算機能を有する電子計算機システム
の目的プログラムを生する目的プログラム生成装置
於いて、ソースプログラムから中間テキスト群を生成す
るテキスト生成手段と、該テキスト生成手段が生成した
中間テキスト群の中から最内側ループに対応する中間テ
キストを検出する最内側ループテキスト検出手段と、該
最内側ループテキスト検出手段が検出した最内側ループ
に対応する中間テキストにM系列乱数発生組み込み関数
が含まれているか否かを判定する乱数発生組み込み関数
検出手段と、該乱数発生組み込み関数検出手段でM系列
乱数発生組み込み関数が含まれていると判定された最内
側ループに対応する中間テキストを、最内側ループの直
前に於いてM系列乱数をベクトル演算によって一括して
発生するように変形することが可能か否かを判定する変
形可能テキスト検出手段と、該変形可能テキスト検出手
段で変形可能と判定された中間テキストに対応する最内
側ループの繰り返し数がプログラムの実行時に定まるも
のである場合、前記最内側ループに対応する中間テキス
トを、プログラムの実行時に定まるM系列乱数の発生個
数が前記電子計算機システムに於いてベクトル演算によ
ってM系列乱数を発生させない方が処理速度が速くなる
個数の最大値よりも大きければ、最内側ループの直前に
於いてM系列乱数をベクトル演算によって一括して発生
させて配列に設定した後、最内側ループ内の処理を前記
配列に設定したM系列乱数を参照して行ない、プログラ
ムの実行時に定まるM系列乱数の発生個数が前記電子計
算機システムに於いてベクトル演算によってM系列乱数
を発生させない方が処理速度が速くなる個数の最大値以
下であれば、元のままの処理を行なうように変形するテ
キスト変形手段と、該テキスト変形手段で変形が済んだ
中間テキスト群を用いて目的プログラムを生成する目的
プログラム生成手段とを設けたものである。
In order to achieve the above object, the present invention provides (B) an electronic computer system having a vector operation function .
Intermediate text object program In the object program generation device that generates, corresponding text generating means for generating an intermediate text group from the source program, from the intermediate text group to which the text generation means has generated the innermost loop of the And a random number generation built-in function for determining whether an intermediate text corresponding to the innermost loop detected by the innermost loop text detection unit includes an M-sequence random number generation built-in function Detection means, and an intermediate text corresponding to the innermost loop determined to include the M-sequence random number generation built-in function by the random number generation built-in function detection means, and an M-sequence random number immediately before the innermost loop is vectorized. Deformable text detection to determine whether it is possible to perform Means, when the number of repetitions of the innermost loop corresponding to the intermediate text determined to be deformable by the deformable text detection means is determined at the time of execution of the program, the intermediate text corresponding to the innermost loop is stored in the program. the vector operation number of generated M-sequence random number determined at runtime of at the computer system
Therefore, if the generation of the M-sequence random number is larger than the maximum value of the number at which the processing speed is faster, the M-sequence random number is generated by vector operation and set in an array immediately before the innermost loop. the processing in the innermost loop
The M-sequence random number set in the array is referred to, and the number of generated M-sequence random numbers determined when the program is executed is determined by the electronic meter
M-sequence random number by vector operation in computer system
If the processing speed is not higher than the maximum value of the number that does not generate, the text deforming means for deforming so as to perform the processing as it is, and the intermediate text group deformed by the text deforming means are used. And a target program generating means for generating a target program.

【0009】[0009]

【作用】(A)の構成に於いては、テキスト生成手段に
よってソースプログラムから中間テキスト群が生成さ
れ、最内側ループテキスト検出手段によって最内側ルー
プに対応する中間テキストが検出される。
In the configuration (A), an intermediate text group is generated from the source program by the text generating means, and the intermediate text corresponding to the innermost loop is detected by the innermost loop text detecting means.

【0010】その後、乱数発生組み込み関数検出手段に
よってM系列乱数発生組み込み関数を含む最内側ループ
が検出され、変形可能テキスト検出手段によってM系列
乱数発生組み込み関数を含む最内側ループが変形可能か
否かが判定される。
Thereafter, the innermost loop including the M-sequence random number generation built-in function is detected by the random number generation built-in function detection means, and whether the innermost loop including the M-sequence random number generation built-in function is deformable by the deformable text detection means. Is determined.

【0011】変形可能と判定された最内側ループの繰り
返し回数が静的に定まり、且つ最内側ループ内で発生す
るM系列乱数の個数が電子計算機システムでベクトル演
算によってM系列乱数を発生させない方が処理速度が速
くなる個数の最大値よりも多い場合、テキスト変形手段
により、上記最内側ループに対応する中間テキストが、
最内側ループの直前に於いてM系列乱数をベクトル演算
によって一括して発生させて配列に設定し、最内側ルー
プ内の処理を配列に設定したM系列乱数を参照して行な
うように変形させられる。
[0011] The number of repetitions of the innermost loop determined to be deformable is statically determined, and the number of M-sequence random numbers generated in the innermost loop is calculated by the vector processing in the electronic computer system.
If the processing speed is faster without generating the M-sequence random number by the arithmetic operation, the text transformation means may use an intermediate text corresponding to the innermost loop,
Set sequence is generated collectively by vector operation the M-sequence random number at just before the innermost loop, rows with reference to the M-sequence random number setting process in the innermost loop sequence <br/> Deformed as follows.

【0012】そして、目的プログラム生成手段が変形の
済んだ中間テキスト群を用いて目的プログラムを生成す
る。
Then, the target program generating means generates the target program using the transformed intermediate text group.

【0013】(B)の構成に於いては、変形可能テキス
ト検出手段によって変形可能と判定された最内側ループ
の繰り返し回数がプログラムの実行時に定まるものであ
る場合、テキスト変形手段により、上記最内側ループに
対応する中間テキストが、プログラムの実行時に定まる
M系列乱数の発生個数が電子計算機システムに於いてベ
クトル演算によってM系列乱数を発生させない方が処理
速度が速くなる個数の最大値よりも大きければ、最内側
ループの直前に於いてM系列乱数をベクトル演算によっ
て一括して発生させて配列に設定した後、最内側ループ
内の処理を配列に設定されているM系列乱数を参照して
行ない、プログラムの実行時に定まるM系列乱数の発生
個数が電子計算機システムに於いてベクトル演算によっ
てM系列乱数を発生させない方が処理速度が速くなる個
数の最大値以下であれば、元のままの処理を行なうよう
に変形される。
In the configuration (B), if the number of repetitions of the innermost loop determined to be deformable by the deformable text detecting means is determined at the time of executing the program, the text deforming means sets the innermost loop to the innermost loop. intermediate text corresponding to loop base number of generated M-sequence random number determined during execution of the program at the computer system
If the M-sequence random number is not generated by the vector operation and the processing speed is faster than the maximum value of the number, the M-sequence random number is generated by the vector operation and set in an array immediately before the innermost loop . Thereafter, the processing in the innermost loop is performed with reference to the M-sequence random numbers set in the array, and the number of generated M-sequence random numbers determined at the time of executing the program is calculated by a vector operation in the computer system.
If the processing speed is faster without generating the M-sequence random number, the processing is modified so that the original processing is performed.

【0014】[0014]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0015】図1は本発明の実施例のブロック図であ
り、ソースプログラム1をコンパイルして目的プログラ
ム12を生成する目的プログラム生成装置(以下コンパ
イラ)2は、テキスト生成手段3と、最内側ループテキ
スト検出手段5と、乱数発生組み込み関数検出手段6
と、変形可能テキスト検出手段7と、ループ繰り返し回
数判定検出手段8と、第1,第2のテキスト変形手段
9,10と、目的プログラム生成手段11とから構成さ
れている。
FIG. 1 is a block diagram of an embodiment of the present invention. A target program generation device (hereinafter referred to as a compiler) for compiling a source program 1 and generating a target program 12 is shown.
Ira) 2 is text generation means 3, innermost loop text detection means 5, random number generation built-in function detection means 6
, A deformable text detecting means 7, a loop repetition number judging detecting means 8, first and second text deforming means 9 and 10, and a target program generating means 11.

【0016】テキスト生成手段3はソースプログラム1
を構文解析して中間テキスト群4を生成する機能を有す
る。
The text generating means 3 includes a source program 1
To generate an intermediate text group 4 by parsing.

【0017】最内側ループテキスト検出手段5は中間テ
キスト群4の中から最内側ループに対応する中間テキス
トを捜し出す機能を有する。
The innermost loop text detecting means 5 has a function of searching the intermediate text group 4 for an intermediate text corresponding to the innermost loop.

【0018】乱数発生組み込み関数検出手段6は最内側
ループテキスト検出手段5が検出した最内側ループに対
応する中間テキストに基づいて最内側ループ中にM系列
乱数発生組み込み関数が存在するか否かを判定する機能
を有する。
The random number generation built-in function detecting means 6 determines whether an M-sequence random number generation built-in function exists in the innermost loop based on the intermediate text corresponding to the innermost loop detected by the innermost loop text detecting means 5. It has the function of determining.

【0019】変形可能テキスト検出手段7は乱数発生組
み込み関数検出手段6によってM系列乱数発生組み込み
関数が存在すると判定された最内側ループ対応の中間テ
キストが、第1,第2のテキスト変形手段9,10によ
る変形が可能か否かを判定する機能を有する。
The deformable text detecting means 7 converts the intermediate text corresponding to the innermost loop determined by the random number generating built-in function detecting means 6 to have the M-sequence random number generating built-in function into the first and second text deforming means 9, It has a function of determining whether or not the deformation by 10 is possible.

【0020】ループ繰り返し回数判定検出手段8は変形
可能テキスト検出手段7で変形可能であると判定された
最内側ループの繰り返し回数が静的に定まるものなの
か、プログラムの実行時に定まるものなのかを判定す
る。
The loop repetition number determination detecting means 8 determines whether the number of repetitions of the innermost loop determined to be deformable by the deformable text detecting means 7 is statically determined or is determined when the program is executed. judge.

【0021】第1のテキスト変形手段9はループ繰り返
し回数判定検出手段8で繰り返し回数が静的に定まると
判定された最内側ループ中でM系列乱数発生組み込み関
数によって発生させられるM系列乱数の個数Nを求める
機能と、上記個数Nが予め定められている閾値S(最内
側ループの直前でM系列乱数をベクトル演算によって一
括して発生させるように変形するよりも、変形しない方
が乱数発生処理時間が短くなる乱数発生個数の最大値で
あり、実測により求められる値)よりも大きいか否かを
判定する機能と、個数Nの方が閾値Sよりも大きい場
合、上記最内側ループ対応の中間テキストを最内側ルー
プの直前でベクトル演算により一括して発生したM系列
乱数を用いて最内側ループ内の処理を行なうように変形
する機能を有する。
The first text transformation means 9 determines the number of M-sequence random numbers generated by the M-sequence random number generation built-in function in the innermost loop in which the loop repetition number judgment detection means 8 determines that the number of repetitions is statically determined. The function of calculating N and the number N are set to a predetermined threshold value S (the random number generation processing is more efficient than the modification in which the M-sequence random number is generated by vector operation immediately before the innermost loop. (The maximum value of the number of generated random numbers for which the time is shortened, which is a value obtained by actual measurement) and a function of determining whether the number N is larger than the threshold value S. It has a function of transforming the text so that processing in the innermost loop is performed using M-sequence random numbers generated by vector operation immediately before the innermost loop.

【0022】第2のテキスト変形手段10はループ繰り
返し回数判定検出手段8で繰り返し回数が静的に定まら
ないと判定された最内側ループ対応の中間テキストを、
プログラムの実行時に定まるM系列乱数の発生個数N’
が上記閾値Sよりも大きい場合は最内側ループの直前で
ベクトル演算により一括して発生したM系列乱数を用い
て最内側ループ内の処理を行ない、個数N’が閾値S以
下の場合は元のままの形で最内側ループ内の処理を行な
うように変形する機能を有する。
The second text transformation means 10 converts the intermediate text corresponding to the innermost loop, for which the loop repetition number determination detecting means 8 determines that the repetition number is not statically determined,
Number of generated M-sequence random numbers N 'determined at program execution
Is larger than the threshold value S, the process in the innermost loop is performed using the M-sequence random number generated by vector operation immediately before the innermost loop, and when the number N ′ is equal to or smaller than the threshold value S, the original It has the function of transforming to perform the processing in the innermost loop as it is.

【0023】目的プログラム生成手段11は中間テキス
ト群4に基づいて目的プログラム12を生成する機能を
有する。
The target program generating means 11 has a function of generating the target program 12 based on the intermediate text group 4.

【0024】図2はコンパイラ2の処理例を示すフロー
チャートであり、以下各図を参照して本実施例の動作を
説明する。
FIG. 2 is a flowchart showing a processing example of the compiler 2. The operation of this embodiment will be described below with reference to the drawings.

【0025】ステップaを参照すると、コンパイラ2の
テキスト生成手段3がソースプログラム1を構文解析
し、中間テキスト群4を生成する。
Referring to step a, the text generation means 3 of the compiler 2 parses the source program 1 and generates an intermediate text group 4.

【0026】ステップb〜eを参照すると、最内側ルー
プテキスト検出手段5は中間テキスト群4中の中間テキ
ストを生成された順に調べ、最内側ループに対応した中
間テキストを検出することにより、制御を乱数発生組み
込み関数検出手段6に渡す。
Referring to steps b to e, the innermost loop text detecting means 5 checks the intermediate texts in the intermediate text group 4 in the order in which they were generated, and detects the intermediate text corresponding to the innermost loop, thereby controlling the control. It is passed to the random number generation built-in function detecting means 6.

【0027】ステップf,gを参照すると、制御を渡さ
れた乱数発生組み込み関数検出手段6は最内側ループテ
キスト検出手段5が検出した最内側ループ対応の中間テ
キストに基づいて、上記最内側ループにM系列乱数発生
組み込み関数が含まれているか否かを判断し、含まれて
いない場合は最内側ループテキスト検出手段5に制御を
戻し、含まれている場合は変形可能テキスト検出手段7
に制御を渡す。
Referring to steps f and g, the random number generation built-in function detecting means 6 to which the control has been passed is applied to the innermost loop based on the intermediate text corresponding to the innermost loop detected by the innermost loop text detecting means 5. It is determined whether or not the M-sequence random number generation built-in function is included. If the function is not included, control is returned to the innermost loop text detecting means 5.
Pass control to.

【0028】最内側ループテキスト検出手段5は制御を
戻されると、前述したステップb〜eの処理を行なう。
When the control is returned, the innermost loop text detecting means 5 performs the processing of steps b to e described above.

【0029】ステップh,iを参照すると、制御を渡さ
れた変形可能テキスト検出手段7は乱数発生組み込み関
数検出手段6でM系列乱数発生組み込み関数を含むと判
断された最内側ループが、第1,第2のテキスト変形手
段9,10による変形が可能か否かを判定し、変形不可
能な場合は制御を最内側ループテキスト検出手段5に戻
し、変形可能な場合は制御をループ繰り返し回数判定検
出手段8に渡す。
Referring to steps h and i, the deformable text detecting means 7 to which the control has been passed, the innermost loop determined by the random number generation built-in function detection means 6 to include the M-sequence random number generation built-in function is the first loop. , It is determined whether the text can be deformed by the second text deforming means 9 and 10. If the text cannot be deformed, the control is returned to the innermost loop text detecting means 5. Hand over to detecting means 8.

【0030】ここで、変形可能テキスト検出手段7は、
条件分岐命令を含んでいる最内側ループや、他の部分に
存在する分岐命令の分岐先となる最内側ループ等のよう
に、繰り返し回数がDO文によって指定された回数にな
らない惧れのある最内側ループを変形不可能な最内側ル
ープと判定する。
Here, the deformable text detecting means 7
Like the innermost loop containing a conditional branch instruction or the innermost loop to which a branch instruction existing in another part branches, there is a possibility that the number of repetitions may not reach the number specified by the DO statement. The inner loop is determined as the innermost loop that cannot be deformed.

【0031】即ち、第1,第2のテキスト変形手段9,
10では最内側ループ対応の中間テキストを、最内側ル
ープの直前でベクトル演算により一括して発生したM系
列乱数を用いて最内側ループ内の処理を行なうように変
形するものであるので、もし、繰り返し回数がDO文に
よって指定された回数にならない最内側ループ対応の中
間テキストに対して上述した変形を行なうと、変形前の
処理と変形後の処理とが異なる意味を持つものになって
しまうからである。
That is, the first and second text transformation means 9,
In 10, the intermediate text corresponding to the innermost loop is modified so as to perform processing in the innermost loop using M-sequence random numbers generated by vector operation immediately before the innermost loop. If the above-described transformation is performed on the intermediate text corresponding to the innermost loop in which the number of repetitions does not reach the number specified by the DO statement, the processing before the transformation and the processing after the transformation have different meanings. It is.

【0032】ステップj,kを参照すると、制御を渡さ
れたループ繰り返し回数判定検出手段8は変形可能テキ
スト検出手段7で変形可能と判定された最内側ループの
繰り返し回数が静的に定まるか否かを判定し、静的に定
まると判定した場合は第1のテキスト変形手段9に制御
を渡し、静的に定まらないと判定した場合、即ちプログ
ラム実行時に定まると判断した場合は第2のテキスト変
形手段10に制御を渡す。
Referring to steps j and k, the loop repetition number determination detecting means 8 to which control has been passed determines whether the repetition number of the innermost loop determined to be deformable by the deformable text detecting means 7 is statically determined. Is determined, the control is passed to the first text transformation means 9 if it is determined to be static, and if it is determined that it is not statically determined, that is, if it is determined to be determined at the time of executing the program, the second text is transformed. Control is passed to the deformation means 10.

【0033】ステップlを参照すると、制御を渡された
第1のテキスト変形手段9は、先ず、ループ繰り返し回
数判定検出手段8で繰り返し回数が静的に定まると判定
された最内側ループ内に於いてM系列乱数発生組み込み
関数によって発生させられるM系列乱数の個数Nを求め
る。
Referring to step l, the first text transformation means 9 to which the control has been passed is first executed in the innermost loop in which the loop repetition number determination detecting means 8 determines that the repetition number is statically determined. Then, the number N of the M-sequence random numbers generated by the M-sequence random number generation built-in function is obtained.

【0034】次いで、第1のテキスト変形手段9は、上
記個数Nと予め定められている閾値Sとを比較する。そ
して、個数Nの方が閾値Sよりも大きい場合は、上記最
内側ループ対応の中間テキストを、最内側ループの直前
で指定された個数のM系列乱数をベクトル演算によって
一括して発生し、最内側ループ内の処理を上記発生した
M系列乱数を用いて行なうように変形した後、制御を最
内側ループテキスト検出手段5に戻し、個数Nが閾値S
以下の場合は、中間テキストの変形は行なわずに、制御
を最内側ループテキスト検出手段5に戻す。
Next, the first text transformation means 9 compares the number N with a predetermined threshold value S. If the number N is larger than the threshold value S, the above-described intermediate text corresponding to the innermost loop is collectively generated by vector operation using the specified number of M-sequence random numbers immediately before the innermost loop. After the processing in the inner loop is modified to be performed using the generated M-sequence random numbers, the control is returned to the innermost loop text detecting means 5, and the number N is set to the threshold S
In the following cases, the control is returned to the innermost loop text detecting means 5 without modifying the intermediate text.

【0035】今、例えば、変形対象にしている最内側ル
ープ部分の中間テキストが図3に示すソースプログラム
に相当するものであるとすると、第1のテキスト変形手
段9は変形対象の中間テキストを例えば図4に示すソー
スプログラムに相当する中間テキストに変形する。
Now, for example, if the intermediate text of the innermost loop portion to be transformed is equivalent to the source program shown in FIG. 3, the first text transformation means 9 converts the intermediate text to be transformed to, for example, It is transformed into an intermediate text corresponding to the source program shown in FIG.

【0036】図4のCALL RAMDM2(TEM
P,2000)は実引数の第2パラメータによって指定
された個数(2000個)のM系列乱数をベクトル演算
によって一括して発生し、発生したM系列乱数を第1パ
ラメータによって指定された要素数が2×1000の2
次元配列TEMPに設定する組み込みサブルーチンRA
MDM2を呼び出すCALL文である。ここで、実引数
の第1パラメータに要素数が2×1000の2次元配列
TEMPを設定し、第2パラメータが2000個を設定
しているのは、図3の例では、DO文によって指定され
ている最内側ループの繰り返し回数が1000回、最内
側ループ中に存在するM系列乱数発生組み込み関数RA
NDM1( )の個数が2個であり、最内側ループ内で発
生されるM系列乱数の数が2000個であるからであ
る。
The CALL RAMDM2 (TEM) shown in FIG.
P, 2000) collectively generates the number (2000) of M-sequence random numbers specified by the second parameter of the actual argument by vector operation, and generates the generated M-sequence random number by the number of elements specified by the first parameter. 2 x 1000 2
Built-in subroutine RA set in dimensional array TEMP
This is a CALL statement that calls MDM2. Here, the two-dimensional array TEMP having the number of elements of 2 × 1000 is set as the first parameter of the actual argument, and the second parameter is set as 2,000 in the example of FIG. M-sequence random number generation built-in function RA which is repeated 1000 times in the innermost loop
This is because the number of NDM1 () is two and the number of M-sequence random numbers generated in the innermost loop is 2,000.

【0037】また、図4では図3に於ける最内側ループ
中のM系列乱数発生組み込み関数RANDM1( )の部
分が2次元配列TEMPの参照に置き換えられている。
In FIG. 4, the part of the M-sequence random number generation built-in function RANDM1 () in the innermost loop in FIG. 3 is replaced by the reference of the two-dimensional array TEMP.

【0038】即ち、図4のソースプログラムは、先ず、
最内側ループの直前に於いて2000個のM系列乱数を
ベクトル演算によって一括して発生し、次いで、発生し
た2000個のM系列乱数を2次元配列TEMPに設定
し、その後、最内側ループ内分の処理を2次元配列TE
MPを参照して行ない、A(1)〜A(1000)及び
C(1)〜C(1000)の値を求めるものである。そ
の際、A(1)〜(A(1000)の値は2次元配列T
EMP(1,1)〜TEMP(1,1000)を用いて
求め、C(1)〜C(1000)の値は2次元配列TE
MP(2,1)〜TEMP(2,1000)を用いて求
めているので、ベクトル化した場合もベクトル化しない
場合と同じ処理結果を得ることができる。
That is, the source program shown in FIG.
Immediately before the innermost loop, 2,000 M-sequence random numbers are collectively generated by a vector operation, and then the generated 2,000 M-sequence random numbers are set in a two-dimensional array TEMP. Processing of the two-dimensional array TE
This is performed by referring to the MP to determine the values of A (1) to A (1000) and C (1) to C (1000). At this time, the values of A (1) to (A (1000) are stored in the two-dimensional array T
The values of C (1) to C (1000) are obtained using EMP (1,1) to TEMP (1,1000), and the two-dimensional array TE
Since MP (2,1) to TEMP (2,1000) are used, the same processing result can be obtained when vectorized as when not vectorized.

【0039】このように、M系列乱数をベクトル演算に
より一括して発生させることにより、M系列乱数の発生
速度を高速化することが可能になる。また、最内側ルー
プ内のM系列乱数発生組み込み関数RANDM1( )を
2次元配列TEMPの参照に置き換え、最内側ループ内
にM系列乱数発生組み込み関数RANDM1( )を用い
た処理をなくすことにより、目的プログラムの実行速度
を速くすることが可能になる。即ち、最内側ループ内の
M系列乱数発生組み込み関数RANDM1( )を配列の
参照に置き換えると、M系列乱数発生組み込み関数RA
NDM1( )を実行してM系列乱数を発生させる場合に
必要であったその時の各レジスタの値をメモリに退避さ
せる処理、メモリに退避させてある値を各レジスタに復
元する処理が不要になるからである。
As described above, the generation speed of the M-sequence random numbers can be increased by collectively generating the M-sequence random numbers by the vector operation. Further, by replacing the M-sequence random number generation built-in function RANDM1 () in the innermost loop with a reference to the two-dimensional array TEMP, the processing using the M-sequence random number generation built-in function RANDM1 () in the innermost loop is eliminated. It is possible to increase the execution speed of the program. That is, if the M-sequence random number generation built-in function RANDM1 () in the innermost loop is replaced with an array reference, the M-sequence random number generation built-in function RADM
The process of saving the values of the registers at that time in the memory and the process of restoring the values saved in the memory to the registers, which are necessary when the NDM1 () is executed to generate the M-sequence random number, become unnecessary. Because.

【0040】また、ステップmを参照すると、制御を渡
された第2のテキスト変形手段10はループ繰り返し回
数判定検出手段8で繰り返し回数が静的に定まらないと
判定された最内側ループ対応の中間テキストを、プログ
ラムの実行時に定まるM系列乱数の発生個数N’が上記
閾値Sよりも大きい場合は最内側ループの直前でベクト
ル演算により一括して発生したM系列乱数を用いて最内
側ループ内の処理を行ない、個数N’が閾値S以下の場
合は元のままの形で最内側ループ内の処理を行なうよう
に変形し、その後、最内側ループテキスト検出手段5に
制御を戻す。
Further, referring to step m, the second text transformation means 10 to which control has been passed receives an intermediate code corresponding to the innermost loop in which the loop repetition number determination detecting means 8 determines that the repetition number is not statically determined. If the generated number N ′ of M-sequence random numbers determined at the time of execution of the program is larger than the threshold value S, the text in the innermost loop is obtained by using the M-sequence random numbers generated by vector operation immediately before the innermost loop. If the number N ′ is equal to or smaller than the threshold value S, the processing is modified so that the processing in the innermost loop is performed as it is, and then the control is returned to the innermost loop text detecting means 5.

【0041】今、例えば、変形対象にしている最内側ル
ープ部分の中間テキストが図5に示すソースプログラム
に相当するものであるとすると、第2のテキスト変形手
段10は変形対象の中間テキストを例えば図6に示すソ
ースプログラムに相当する中間テキストに変形する。
Now, for example, assuming that the intermediate text of the innermost loop portion to be transformed corresponds to the source program shown in FIG. 5, the second text transformation means 10 converts the intermediate text to be transformed to, for example, It is transformed into an intermediate text corresponding to the source program shown in FIG.

【0042】図6のソースプログラムに於いて、RAM
DM2は実引数の第2パラメータによって指定された個
数のM系列乱数を発生し、発生したM系列乱数を実引数
の第1パラメータによって指定された配列に設定する組
み込みサブルーチンの名前である。また、サブルーチン
名RAMDM2を有する組み込みサブルーチンはベクト
ル処理によってM系列の乱数を発生するものである。
In the source program shown in FIG.
DM2 is the name of a built-in subroutine that generates the number of M-sequence random numbers specified by the second parameter of the actual argument and sets the generated M-sequence random number in the array specified by the first parameter of the actual argument. The built-in subroutine having the subroutine name RAMDM2 generates M-sequence random numbers by vector processing.

【0043】この例の場合、図5に示すようにDO文に
よって指定される最内側ループの繰り返し回数はK回、
最内側ループ中に存在するM系列乱数発生組み込み関数
RANDM1( )の個数は2個であり、M系列乱数の発
生個数は2×K個となるので、図6に示すように、実引
数の第1パラメータには2×Kの要素数を有する2次元
配列TEMPが設定され、第2パラメータには2×Kが
設定される。
In the case of this example, the number of repetitions of the innermost loop specified by the DO statement is K, as shown in FIG.
Since the number of M-sequence random number generation built-in functions RANDM1 () existing in the innermost loop is two and the number of generated M-sequence random numbers is 2 × K, as shown in FIG. One parameter is set to a two-dimensional array TEMP having 2 × K elements, and the second parameter is set to 2 × K.

【0044】即ち、図6に示したソースプログラムは、
プログラムの実行時に定まるM系列乱数の発生個数(2
×K)が前述した閾値Sよりも大きい場合は最内側ルー
プの直前に於いて2×K個のM系列乱数をベクトル演算
によって一括して発生させる処理,発生させた2×K個
のM系列乱数を2次元配列TEMPに設定させる処理,
2次元配列TEMPを参照してA(I),C(I)を求
める処理を順次行ない、閾値S以下の場合はM系列乱数
発生組み込み関数RANDM1( )を用いてA(I),
C(I)を求める処理を行なうものである。
That is, the source program shown in FIG.
Number of generated M-sequence random numbers (2
If (× K) is larger than the above-described threshold value S, a process of collectively generating 2 × K M-sequence random numbers by vector operation immediately before the innermost loop, 2 × K M-sequences generated Processing for setting random numbers in the two-dimensional array TEMP,
Processing for obtaining A (I) and C (I) is sequentially performed with reference to the two-dimensional array TEMP. If the processing is equal to or smaller than the threshold S, A (I), C (I) is calculated using the M-sequence random number generation built-in function RANDM1 ().
The processing for obtaining C (I) is performed.

【0045】第1,第2のテキスト変形手段9、10の
処理が終了すると、制御は最内側ループテキスト検出手
段5に戻される。
When the processing of the first and second text transformation means 9 and 10 is completed, the control is returned to the innermost loop text detection means 5.

【0046】ステップb,cを参照すると、制御を戻さ
れた最内側ループ検出手段5は中間テキスト群4から中
間テキストを取り出し、取り出していない中間テキスト
が存在する場合(ステップcがyesの場合)は制御を
乱数発生組み込み関数検出手段6に渡し、全ての中間テ
キストを取り出している場合(ステップcがnoの場
合)は目的プログラム生成手段11に制御を渡す。
Referring to steps b and c, the innermost loop detecting means 5 to which control has been returned extracts the intermediate text from the intermediate text group 4 and there is an intermediate text which has not been extracted (when step c is yes). Passes control to the random number generation built-in function detection means 6, and passes control to the target program generation means 11 when all intermediate texts have been extracted (step c is no).

【0047】ステップoを参照すると、制御を渡された
目的プログラム生成手段11は中間テキスト群4に基づ
いて目的プログラム12を生成する。その際、目的プロ
グラム生成手段11は第1,第2のテキスト変形手段
9,10によってM系列乱数発生組み込み関数部分が配
列の参照に置き換えられた最内側ループがベクトル化可
能であれば、それをベクトル化する。
Referring to step o, the target program generating means 11 to which control has been passed generates a target program 12 based on the intermediate text group 4. At this time, if the innermost loop in which the M-sequence random number generation built-in function part is replaced by the array reference by the first and second text transformation means 9 and 10 can be vectorized, the object program generation means 11 Vectorize.

【0048】[0048]

【発明の効果】以上説明したように、本発明は、M系列
乱数発生組み込み関数を含む最内側ループに対応する中
間テキストを、最内側ループの直前に於いてM系列乱数
をベクトル演算によって一括して発生させて配列に設定
し、最内側ループ内の処理を上記配列に設定されたM系
列乱数を参照して行なうようにしたものであるので、最
内側ループ内にM系列乱数発生組み込み関数が複数存在
する場合でもベクトル化でき、M系列乱数の発生処理速
度を向上させることができる効果があると共に、目的プ
ログラムの実行速度を向上させることができる効果があ
る。
As described above, according to the present invention, the intermediate text corresponding to the innermost loop including the M-sequence random number generation built-in function is batched by the vector operation of the M-sequence random number immediately before the innermost loop. And set it to an array
And the processing in the innermost loop is set to the M
Since the processing is performed by referring to the column random numbers, even if a plurality of M-sequence random number generation built-in functions exist in the innermost loop, the vectorization can be performed, and the processing speed of generating the M-sequence random numbers can be improved. In addition, there is an effect that the execution speed of the target program can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】実施例の処理例を示すフローチャートである。FIG. 2 is a flowchart illustrating a processing example of the embodiment.

【図3】ソースプログラムの一例を示す図である。FIG. 3 is a diagram illustrating an example of a source program.

【図4】図3のソースプログラムが最適化により同等と
なるソースプログラムの一例を示す図である。
FIG. 4 is a diagram showing an example of a source program in which the source program in FIG. 3 becomes equivalent by optimization.

【図5】ソースプログラムの一例を示す図である。FIG. 5 is a diagram illustrating an example of a source program.

【図6】図5のソースプログラムが最適化により同等と
なるソースプログラムの一例を示す図である。
FIG. 6 is a diagram showing an example of a source program in which the source program in FIG. 5 becomes equivalent by optimization.

【符号の説明】[Explanation of symbols]

1…ソースプログラム 2…コンパイラ 3…テキスト生成手段 4…中間テキスト群 5…最内側ループテキスト検出手段 6…乱数発生組み込み関数検出手段 7…変形可能テキスト検出手段 8…ループ繰り返し回数判定検出手段 9…第1のテキスト変形手段 10…第2のテキスト変形手段 11…目的プログラム生成手段 12…目的プログラム DESCRIPTION OF SYMBOLS 1 ... Source program 2 ... Compiler 3 ... Text generation means 4 ... Intermediate text group 5 ... Innermost loop text detection means 6 ... Random number generation built-in function detection means 7 ... Deformable text detection means 8 ... Loop repetition number judgment detection means 9 ... First text transformation means 10 Second text transformation means 11 Purpose program generation means 12 Purpose program

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ベクトル演算機能を有する電子計算機シ
ステム用の目的プログラムを生成する目的プログラム生
成装置に於いて、 ソースプログラムから中間テキスト群を生成するテキス
ト生成手段と、 該テキスト生成手段が生成した中間テキスト群の中から
最内側ループに対応する中間テキストを検出する最内側
ループテキスト検出手段と、 該最内側ループテキスト検出手段が検出した最内側ルー
プに対応する中間テキストにM系列乱数発生組み込み関
数が含まれているか否かを判定する乱数発生組み込み関
数検出手段と、 該乱数発生組み込み関数検出手段でM系列乱数発生組み
込み関数が含まれていると判定された最内側ループに対
応する中間テキストを、最内側ループの直前に於いてM
系列乱数をベクトル演算によって一括して発生するよう
に変形することが可能か否かを判定する変形可能テキス
ト検出手段と、 該変形可能テキスト検出手段で変形可能と判定された中
間テキストに対応する最内側ループの繰り返し数が静的
に定まるものである場合、前記最内側ループに於けるM
系列乱数の発生個数を求め、該求めたM系列乱数の発生
個数が前記電子計算機システムに於いてベクトル演算に
よってM系列乱数を発生させない方が処理速度が速くな
る個数の最大値よりも大きいことにより、前記最内側ル
ープに対応する中間テキストを、最内側ループの直前に
於いてM系列乱数をベクトル演算によって一括して発生
させて配列に設定し、最内側ループ内の処理を前記配列
に設定したM系列乱数を参照して行なうように変形する
テキスト変形手段と、 該テキスト変形手段で変形が済んだ中間テキスト群を用
いて目的プログラムを生成する目的プログラム生成手段
とを含むことを特徴とする目的プログラム生成装置。
An object program generator for generating an object program for an electronic computer system having a vector operation function.
In forming apparatus, the text generation means for generating an intermediate text group from the source program, the innermost loop text detecting means for detecting the intermediate text corresponding to the innermost loop from the intermediate text group to which the text generation means has generated And a random number generation built-in function detection unit that determines whether an M-sequence random number generation built-in function is included in the intermediate text corresponding to the innermost loop detected by the innermost loop text detection unit, The intermediate text corresponding to the innermost loop determined to include the M-sequence random number generation built-in function by the detection means is added to the M immediately before the innermost loop.
Deformable text detecting means for determining whether or not the sequence random number can be deformed so as to be generated collectively by vector operation, and a text corresponding to the intermediate text determined to be deformable by the deformable text detecting means. When the number of repetitions of the inner loop is statically determined, M
The number of generated sequence random numbers is obtained, and the obtained number of generated M-sequence random numbers is used for vector calculation in the computer system.
Therefore , since the processing speed is faster when the M-sequence random number is not generated, the intermediate text corresponding to the innermost loop is calculated by vector calculation of the M-sequence random number immediately before the innermost loop. Generate them all at once and set them in an array.
And a target program generating means for generating a target program using the intermediate text group deformed by the text deforming means. Objective program generation device.
【請求項2】 ベクトル演算機能を有する電子計算機シ
ステム用の目的プログラムを生成する目的プログラム生
成装置に於いて、 ソースプログラムから中間テキスト群を生成するテキス
ト生成手段と、 該テキスト生成手段が生成した中間テキスト群の中から
最内側ループに対応する中間テキストを検出する最内側
ループテキスト検出手段と、 該最内側ループテキスト検出手段が検出した最内側ルー
プに対応する中間テキストにM系列乱数発生組み込み関
数が含まれているか否かを判定する乱数発生組み込み関
数検出手段と、 該乱数発生組み込み関数検出手段でM系列乱数発生組み
込み関数が含まれていると判定された最内側ループに対
応する中間テキストを、最内側ループの直前に於いてM
系列乱数をベクトル演算によって一括して発生するよう
に変形することが可能か否かを判定する変形可能テキス
ト検出手段と、 該変形可能テキスト検出手段で変形可能と判定された中
間テキストに対応する最内側ループの繰り返し数がプロ
グラムの実行時に定まるものである場合、前記最内側ル
ープに対応する中間テキストを、プログラムの実行時に
定まるM系列乱数の発生個数が前記電子計算機システム
に於いてベクトル演算によってM系列乱数を発生させな
方が処理速度が速くなる個数の最大値よりも大きけれ
ば、最内側ループの直前に於いてM系列乱数をベクトル
演算によって一括して発生させて配列に設定した後、
内側ループ内の処理を前記配列に設定したM系列乱数を
参照して行ない、プログラムの実行時に定まるM系列乱
数の発生個数が前記電子計算機システムに於いてベクト
ル演算によってM系列乱数を発生させない方が処理速度
が速くなる個数の最大値以下であれば、元のままの処理
を行なうように変形するテキスト変形手段と、 該テキスト変形手段で変形が済んだ中間テキスト群を用
いて目的プログラムを生成する目的プログラム生成手段
とを含むことを特徴とする目的プログラム生成装置。
2. A target program generator for generating a target program for an electronic computer system having a vector operation function.
In forming apparatus, the text generation means for generating an intermediate text group from the source program, the innermost loop text detecting means for detecting the intermediate text corresponding to the innermost loop from the intermediate text group to which the text generation means has generated And a random number generation built-in function detection unit that determines whether an M-sequence random number generation built-in function is included in the intermediate text corresponding to the innermost loop detected by the innermost loop text detection unit, The intermediate text corresponding to the innermost loop determined to include the M-sequence random number generation built-in function by the detection means is added to the M immediately before the innermost loop.
Deformable text detecting means for determining whether or not the sequence random number can be deformed so as to be generated collectively by vector operation, and a text corresponding to the intermediate text determined to be deformable by the deformable text detecting means. If the number of repetitions of the inner loop are those determined when the program is run, the intermediate text corresponding to the innermost loop, generation number is the computer system of the M-sequence random number determined when the program is run
Do not generate M-sequence random numbers by vector operation in
If the number is larger than the maximum value for which the processing speed increases, the M-sequence random numbers are generated by vector operation immediately before the innermost loop , set in an array, and then processed in the innermost loop. An M-sequence random number with
The number of generated M-sequence random numbers determined at the time of execution of the program is referred to as a vector in the computer system.
If the M-sequence random number is not generated by the parallel operation and the processing speed is faster than the maximum value of the number, the text deforming means is modified to perform the processing as it is, and the text modifying means has completed the transformation. A target program generating means for generating a target program using the intermediate text group .
JP4177632A 1992-06-11 1992-06-11 Objective program generator Expired - Lifetime JP2842057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4177632A JP2842057B2 (en) 1992-06-11 1992-06-11 Objective program generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4177632A JP2842057B2 (en) 1992-06-11 1992-06-11 Objective program generator

Publications (2)

Publication Number Publication Date
JPH05341966A JPH05341966A (en) 1993-12-24
JP2842057B2 true JP2842057B2 (en) 1998-12-24

Family

ID=16034398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4177632A Expired - Lifetime JP2842057B2 (en) 1992-06-11 1992-06-11 Objective program generator

Country Status (1)

Country Link
JP (1) JP2842057B2 (en)

Also Published As

Publication number Publication date
JPH05341966A (en) 1993-12-24

Similar Documents

Publication Publication Date Title
US4821181A (en) Method for converting a source program of high level language statement into an object program for a vector processor
US5151991A (en) Parallelization compile method and system
EP0467629B1 (en) A loop compiler method &amp; apparatus for a data processing system
JP2921190B2 (en) Parallel execution method
US20200364512A1 (en) Method and apparatus for highly efficient exploring environment on metacognition
US20010007970A1 (en) Automatic test vector generation method, test method making use of the test vectors as automatically generated, chip manufacturing method and automatic test vector generation program
US5522074A (en) Vectorization system for vectorizing loop containing condition induction variables
US6993756B2 (en) Optimization apparatus that decreases delays in pipeline processing of loop and computer-readable storage medium storing optimization program
JP2842057B2 (en) Objective program generator
JPH0764766A (en) Maximum and minimum value calculating method for parallel computer
US20230237097A1 (en) Information processing device, information processing method, and recording medium
JPH09288580A (en) Device and method for optimizing source program
JPH0440742B2 (en)
JP3658771B2 (en) Compiler device
JP2518504B2 (en) Target program generator
JP2748582B2 (en) Compile processing unit
JP4334278B2 (en) Method and program for analyzing sequential system
JPH11242598A (en) Compiling method and device, object program executing method and device and program storage medium
JP3034582B2 (en) Compile processing method
JPH04344535A (en) Developing device for loop
JP2870218B2 (en) Parallel execution instruction sequence generation method
JP3734658B2 (en) COMPILER DEVICE AND COMPUTER-READABLE RECORDING MEDIUM RECORDING COMPILER PROGRAM
JP3412323B2 (en) Vectorization processing device
JPH0269867A (en) Vectorizing system
JP2019012324A (en) compiler