JPH02115942A - Information processor test system - Google Patents
Information processor test systemInfo
- Publication number
- JPH02115942A JPH02115942A JP63269802A JP26980288A JPH02115942A JP H02115942 A JPH02115942 A JP H02115942A JP 63269802 A JP63269802 A JP 63269802A JP 26980288 A JP26980288 A JP 26980288A JP H02115942 A JPH02115942 A JP H02115942A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- branching
- random test
- branch
- loop
- 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.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野)
本発明は情報処理装置試験方式に関し、特にランダムに
生成された試験データおよび試験手順を用いる試験方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device testing method, and particularly to a testing method using randomly generated test data and test procedures.
従来、この樟の試験方式は、乱数を用いランダムに生成
された試験データおよび試験手順とがうなるランダム試
験プ【1グラムを、被試験情報処理装置の先行制御を有
効にした状態で実行した結果と、先行1i1J all
を無効にした状態で実行した結果とを比較し、良否を決
めるという方式が採られていた。Conventionally, this test method has been used to test the results of running a random test program with test data and test procedures randomly generated using random numbers with advance control of the information processing device under test enabled. and advance 1i1J all
The method used was to compare the results with those executed with the function disabled and decide whether it was good or bad.
上述した従来の情報処理装置試験方式は、ランダム試験
手順に組み込まれた分岐命令の実行は1度しか行なわれ
ておらず、分岐命令の分岐先を予測し、予測した方の命
令を先行して解読、実行するという分岐予測機能につい
ては試験されていないという欠点がある。In the conventional information processing device testing method described above, the branch instruction included in the random test procedure is executed only once, and the branch destination of the branch instruction is predicted and the predicted instruction is executed first. The drawback is that the branch prediction function of decoding and execution has not been tested.
〔3題を解決するための手段〕
本発明の情報処理装置試験方式は、ランダム試験プログ
ラム生成手段と、該ランダム試験ブ【1グラム生成手段
が生成した命令列内の分岐命令の分岐先を設定する分岐
先決定手段と、条件分岐命令で比較する条件を初期設定
する命令と繰り返しループから抜け出すために比較値を
変化させる命令とを前記命令列内に設定する分岐環境設
定手段と、無条件分岐命令の時ループを抜け出す命令を
設定する無条件ループ脱出手段とを有している。[Means for Solving the Three Problems] The information processing device testing method of the present invention includes a random test program generating means, and a random test program generating means that sets a branch destination of a branch instruction in an instruction string generated by the random test program generating means. branching environment setting means for setting in the instruction string an instruction for initializing a condition to be compared with a conditional branching instruction and an instruction for changing a comparison value in order to break out of a repeat loop; It has an unconditional loop escape means that sets a command to exit the loop when the command is issued.
(作用)
分岐先決定手段と分岐環境設定手段と無条件ループ脱出
手段をもづることにより、分岐Y81+!機能について
の試験が行なえる。(Function) By having a branch destination determination means, a branch environment setting means, and an unconditional loop escape means, the branch Y81+! Functional tests can be performed.
〔実施例)
次に、本発明の実施例について図面を参照して説明する
。[Example] Next, an example of the present invention will be described with reference to the drawings.
第1図は本発明の情報処理装置試験方式の一実施例を構
成するシステム構成図、第2図はランダム試験プログラ
ムの内容を示す図、第3図は試験対電命令テーブルの構
成を示す図、第4図はランダム試験手順7−ブル生成に
おいて分岐命令の設定手順を示す図、第5図はランダム
試験タスク10の処理を示す図、第6図はランダム試験
手順生成処理を示す図、第7図は仮命令列テーブル生成
処理を示す図、第8図はランダム試験手順テーブル住成
処即を示す図、第9図は比較値切Iff設定処理を丞す
図、第10図は無条件ループ脱出命令設定処理と比較値
変化設定処理を示す図である。FIG. 1 is a system configuration diagram configuring an embodiment of the information processing device testing method of the present invention, FIG. 2 is a diagram showing the contents of a random test program, and FIG. 3 is a diagram showing the configuration of a test counter command table. , FIG. 4 is a diagram showing the branch instruction setting procedure in random test procedure 7-bull generation, FIG. 5 is a diagram showing the processing of random test task 10, FIG. 6 is a diagram showing the random test procedure generation process, Figure 7 shows the temporary instruction sequence table generation process, Figure 8 shows the random test procedure table creation process, Figure 9 shows the comparison value cut-off Iff setting process, and Figure 10 shows the unconditional FIG. 7 is a diagram showing a loop escape command setting process and a comparison value change setting process.
情報処理¥&装試験方式が適用されたシステムは、第1
図に示1ように、装置間インタフェース7で接続された
試験処理装置1と被試験情報処理装置2どからなる。The system to which the information processing and equipment testing method is applied is
As shown in FIG. 1, it consists of a test processing device 1 and an information processing device under test 2, which are connected through an inter-device interface 7.
試験処理装置1には第1の主記憶3と第1の命令処理部
5とが含まれ、被試験情報処理装置2には第2の主記憶
4と第2の命令処理部6とが含まれている。試験処理装
置1の第1の主記憶3上には、ランダム試験プログラム
生成手段11とランダム試験ブ[1グラム起動手段15
と実行結果判定手段16とシミル−タ17とを右するラ
ンダム試験タスク10と、オペレーティングシステム3
0が格納されている。ランダム試験プログラム生成手段
11は、ランダム試験ブ[1グラム生成手段が生成した
命令列内の分岐命令の分岐先を設定する分岐先決定手段
12と、条件分岐命令で比較する条件を初期設定する命
令と繰り返しルー1から抜け出すために比較値を変化さ
せる命令とを前記命令列内に設定する分岐I)境設定手
段13と、無条件分岐命令の時ループを抜け出す命令を
設定する無条件ループ脱出手段14とを含んでいる。The test processing device 1 includes a first main memory 3 and a first instruction processing unit 5, and the information processing device under test 2 includes a second main memory 4 and a second instruction processing unit 6. It is. On the first main memory 3 of the test processing device 1, a random test program generation means 11 and a random test program starting means 15 are stored.
a random test task 10 that performs the execution result determination means 16 and the simulator 17; and the operating system 3.
0 is stored. The random test program generation means 11 includes a random test program [1 program], a branch destination determination means 12 for setting the branch destination of a branch instruction in the instruction sequence generated by the 1-gram generation means, and an instruction for initializing the conditions to be compared with the conditional branch instruction. branch I) setting means 13 for setting in the instruction sequence an instruction for changing a comparison value in order to escape from repeat loop 1; and unconditional loop escape means for setting an instruction for breaking out of the loop in the case of an unconditional branch instruction. 14.
シミ」−レーウ17は第3の主記憶18と第3の命令処
理部20とを含んでいる。The Shimi-Leuw 17 includes a third main memory 18 and a third instruction processing section 20.
ランダム試験タスク10が生成したランダム試験プログ
ラムは、第2図に示すように、乱数を用いて1成された
100個の命令とランダム試験プログラムの終了を通知
する試験手順終了通知命令とからなるランダム試験手順
と、乱数を用いて生成されたレジスタ用データとメモリ
用データとからなるランダム試験データとを含んでいる
。As shown in FIG. 2, the random test program generated by the random test task 10 is a random test program consisting of 100 instructions created using random numbers and a test procedure end notification command that notifies the end of the random test program. It includes a test procedure and random test data consisting of register data and memory data generated using random numbers.
次に、本実施例の動作を説明する。。Next, the operation of this embodiment will be explained. .
まず、オペレーティングシステム30はシンダム試験タ
スク10を第1の1記@3)こ[1−ドし、ランダム試
験タスク10を起動して、第5図に示した処理を行う。First, the operating system 30 issues the first 1-3) command to the sindam test task 10, starts the random test task 10, and performs the processing shown in FIG.
まず、第2図に示したランダム試験手順を生成し、さら
にランダム試験手順が使用するランダム試験データを乱
数を使用して生成しくステップi o o > 、、生
成されたランダム試験プログラムを装置間インタフェー
ス7を介して第2の主記憶4上の第1のランダム試験プ
ログラム40に移送するとともに、シミ」レータ17十
の第3の主記憶18に第2のランダム試験プログラム1
9として移送する(ステップ101)。次に、装置間イ
ンタフェース7を介して第1のランダム試験手順ラム4
0を起動づるように指示しくステップ102)、シミル
−タ17を起動しくステップ103)、第2のランダム
試験プログラム1つを実行し、シミル−タ171′の実
行終了後、被試験情報処理装置2からの第1のランダム
試験ブ[1グラム40の終了通知の通信を受けとるまで
持ち合わせる(ステップ104)。被試験情報処理装置
2の第1のランダム試験プログラム40の終了通知を受
信したランダム試験タスク10は第2の主記憶4に格納
された第1のランダム試験プログラム40の実行結果と
第2のランダム試験プログラム19の実行結果を比較し
くステップ105)、両名が一致した時は、誤りはない
と判断し、オペレ−ティングシステム30からの終了要
求を検査しくステップ107)、終了要求がなければス
テップ100に戻り、ランダム試験を続行し、終了要求
があれば試験を終了する。一方、ステップ105で実行
結果を比較して、不一致であった時には、誤り箇所をエ
ラーメツセージとして出力しくステップ106)、オペ
レーティングシステム30からの終了要求を検査しくス
テップ107)、終了要求がなければステップ100に
戻り、ランダム試験を続行し、終了要求があれば試験を
終了する。First, the random test procedure shown in FIG. 2 is generated, and the random test data used by the random test procedure is generated using random numbers. 7 to the first random test program 40 on the second main memory 4, and the second random test program 1 to the third main memory 18 of the simulator 170.
9 (step 101). The first random test procedure ram 4 is then connected via the inter-device interface 7.
Step 102) to start up the similator 17, step 103) to run the second random test program, and after the similator 171' has finished running, the information processing device under test 2 until it receives a notification of completion of the first random test block [1 gram 40] (step 104). The random test task 10 that has received the notification of completion of the first random test program 40 of the information processing device under test 2 executes the execution results of the first random test program 40 stored in the second main memory 4 and the second random test task 10 . Compare the execution results of the test program 19 (Step 105). If they match, it is determined that there is no error and check for a termination request from the operating system 30 (Step 107); if there is no termination request, proceed to Step 105). The process returns to step 100 and continues the random test, and if there is a request for termination, the test is terminated. On the other hand, when the execution results are compared in step 105 and there is a discrepancy, the error part is output as an error message (step 106), a termination request from the operating system 30 is checked (step 107), and if there is no termination request, step The process returns to step 100 and continues the random test, and if there is a request for termination, the test is terminated.
次に、第5図のステップ100で行なわれるランダム試
験手順生成処理について第6図を用いて詳細に説明する
。Next, the random test procedure generation process performed in step 100 of FIG. 5 will be explained in detail using FIG. 6.
まず、乱数を用いて第3図に示す試験対象命令テーブル
よりランダムに命令を取り出し、第3図に示す仮命令列
デープルに格納する(ステップ200)。次に、仮命令
列テーブルに格納されている命令の個数を検査しくステ
ップ201)、100命令未満であればステップ200
に戻り、命令の格納を続行する。一方、ステップ201
ですでに100命令が格納されていれば試験手順終了通
知命令を仮命令列テーブルに格納する(ステップ202
)。続いて、仮命令列テーブルの先頭から順に1つずつ
命令を取り出し、個々の命令のオペランドフィールドを
設定し、第4図にあるランダム試験手順テーブルに格納
する(ステップ203)。さらに、ランダム試験手順が
使用するランダム試験データを乱数を用いて生成しくス
テップ204)、処理を終了する。First, instructions are randomly extracted from the test target instruction table shown in FIG. 3 using random numbers and stored in the temporary instruction string daple shown in FIG. 3 (step 200). Next, check the number of instructions stored in the temporary instruction sequence table (Step 201), and if it is less than 100 instructions, check Step 201).
Return to and continue storing instructions. On the other hand, step 201
If 100 instructions have already been stored in step 202, a test procedure end notification instruction is stored in the temporary instruction string table (step 202).
). Next, instructions are taken out one by one from the beginning of the temporary instruction sequence table, the operand fields of each instruction are set, and the results are stored in the random test procedure table shown in FIG. 4 (step 203). Furthermore, random test data to be used in the random test procedure is generated using random numbers (step 204), and the process ends.
次に、第7図を用いて第6図の仮命令ダjテーブル生成
ステップ200について詳細に説明する。Next, the provisional instruction table generation step 200 of FIG. 6 will be explained in detail using FIG.
まず、試験対象命令テーブルの命令数Nを法とする乱数
nを発生しくステップ300) 、試験対象命令テーブ
ルよりn番目の試験対象命令4取り出しくステップ30
1 ) 、取り出した命令が分岐命令かどうか判断しく
ステップ302) 、分岐命令でない時、第4図(a)
に示した仮命令列−1−プルに試験対象命令を格納しく
ステップ305)、フラグテーブルに分岐命令の分岐先
として適当であるという意味でO++を格納しくステッ
プ306)、処理を終了する。一方、試験対象命令テー
ブルより抽出した命令が分岐命令である時、試験対象命
令である分岐命令を仮命令列テーブルに格納しくステッ
プ303) 、フラグテーブルに分岐命令の分岐先とし
て不適当という意味で“1″を格納しくステップ304
)、処理を終了する。First, a random number n is generated modulo the number N of instructions in the test target instruction table (step 300), and the nth test target instruction 4 is extracted from the test target instruction table (step 30).
1) It is difficult to judge whether the fetched instruction is a branch instruction or not. Step 302) When it is not a branch instruction, as shown in FIG. 4(a)
The instruction to be tested is stored in the temporary instruction string -1-pull shown in step 305), O++ is stored in the flag table to indicate that it is suitable as the branch destination of the branch instruction (step 306), and the process ends. On the other hand, when the instruction extracted from the test target instruction table is a branch instruction, the branch instruction that is the test target instruction is stored in the temporary instruction sequence table (step 303), and the flag table indicates that it is inappropriate as a branch destination for the branch instruction. Step 304: Store “1”
), the process ends.
次に、第6図で行なわれているステップ203のランダ
ム試験手順テーブルの生成の詳細について第8図を用い
て説明する。Next, details of the generation of the random test procedure table in step 203, which is performed in FIG. 6, will be explained using FIG. 8.
まず、仮命令列テーブルの先頭から順!、:1命令ずつ
取り出しくステップ400)、取り出した試験対象命令
が分岐命令かどうか判断しくステップ401)、分岐命
令でなければ試験対象命令のオペランドフィールドを設
定しくステップ408)、第4図(b)に示したランダ
ム試験手順テーブルに格納しくステップ409)、処理
を終了する。−方、試験対象命令が分岐命令の時、条件
分岐命令で比較する条件を初期設定する比較値初期設定
命令をランダム試験手順テーブルに組み込み(ステップ
402)、分岐命令が無条件分岐命令の時、無条件ルー
プから脱出するための命令をランダム試験手順テーブル
に組込む(ステップ403)。First, start from the beginning of the temporary instruction sequence table! , Step 400) to extract one instruction at a time; determine whether the extracted instruction to be tested is a branch instruction; step 401); step 408) to set the operand field of the instruction to be tested if it is not a branch instruction; ) is stored in the random test procedure table shown in step 409), and the process ends. - On the other hand, when the instruction to be tested is a branch instruction, a comparison value initialization instruction for initializing the conditions to be compared with a conditional branch instruction is incorporated into the random test procedure table (step 402), and when the branch instruction is an unconditional branch instruction, An instruction for escaping from the unconditional loop is incorporated into the random test procedure table (step 403).
さらに、繰り返しループから抜け出すために比較値を変
化させる命令をランダム試験テーブルに組み込み(ステ
ップ404)、試験対象命令である分岐命令のオペラン
ドフィールドを設定しくステップ405>、ランダム試
験手順テーブルに格納する(ステップ406)。続いて
、第4図(b)のように、比較値初III設定命令から
分岐命令までの間に対応するフラグテーブルの位置に分
岐先として不適当という意味で1″を格納しくステップ
407) 、処理を終了する。Furthermore, an instruction that changes the comparison value in order to break out of the repeat loop is incorporated into the random test table (step 404), and the operand field of the branch instruction, which is the instruction to be tested, is set (step 405) and stored in the random test procedure table (step 405). Step 406). Next, as shown in FIG. 4(b), 1'' is stored in the flag table position corresponding to the period from the comparison value first III setting instruction to the branch instruction to indicate that the branch destination is inappropriate (step 407). Finish the process.
次に、第9図を用いて第8図のステップ402の比較値
初期設定処理について詳細に説明する。Next, the comparison value initialization process in step 402 in FIG. 8 will be explained in detail using FIG. 9.
まず、仮命令列デープルにある試験対像命令数100を
法として乱数mを発生し、シンダム試験手順テーブルの
ml目の命令を分岐命令の分岐先としくステップ501
)、m番目の命令がランダム試験手順テーブルに存在す
るかどうかを判断しくステップ502)、存在しないな
らばステップ500に戻り、存在するならば、フラグテ
ーブルのm番目の偵が“°0パかどうか、すなわち分岐
先として適当かどうか判断しくステップ503)、II
OIIでないならばステップ500に戻る。一方、フ
ラグテーブルの10番目の(直が0“ならばランダム試
験手順テーブルのm番目から下を1つシフトしくステッ
プ504)、比較値初期設定命令のオペランドフィール
ドを設定しくステップ505) 、比較(ぬ初期設定命
令をランダム試験手順テーブルのm番目に格納しくステ
ップ506)、処理を終了する。First, a random number m is generated modulo the number of test target instructions in the tentative instruction string daple, 100, and the ml-th instruction in the sindam test procedure table is set as the branch destination of the branch instruction in step 501.
), it is determined whether the m-th instruction exists in the random test procedure table (step 502), and if it does not exist, the process returns to step 500; Step 503), II.
If it is not OII, the process returns to step 500. On the other hand, set the operand field of the comparison value initialization command in the 10th flag table (if the value is 0", then shift one place below the mth random test procedure table (step 504), the comparison value initialization command (step 505), and the comparison ( The initial setting command is stored in the m-th position of the random test procedure table (step 506), and the process ends.
次に、第8図で行なわれている無条件ループ脱出命令設
定ステップ403と比較値変化命令設定ステップ404
について第10図を用いて詳細に説明する。Next, step 403 for setting an unconditional loop escape command and step 404 for setting a comparison value change command are performed in FIG.
This will be explained in detail using FIG.
まず、無条件ループ脱出命令のオペラン1シフイールド
を設定しくステップ600)、ランダム試験手順テーブ
ルに格納する(ステップ601)。First, the operan 1 field of the unconditional loop escape instruction is set (step 600) and stored in the random test procedure table (step 601).
続いて、比較値変化命令のオペランドフィールドを設定
しくステップ602)、ランダム試験手順テーブルに格
納しくステップ603)、処理を終了する。Subsequently, the operand field of the comparison value change command is set (step 602), stored in the random test procedure table (step 603), and the process ends.
ここで、第4図を用いて第8図、第9図、第10図の処
理の例をわかりやすく説明する。Here, examples of the processing in FIGS. 8, 9, and 10 will be explained in an easy-to-understand manner using FIG. 4.
まず、第4図(a)のように仮命令列テーブルとフラグ
テーブルが生成されており、仮命令列テーブルの先頭か
ら順に1命令ずつ取出し、その命令に適したオペランド
フィールドを設定し、ランダム試験手順テーブルの先頭
から順にO命令まで格納していく。仮命令列テーブルに
おいてn番目の命令、すなわち1<命令まで来た時、R
命令が分岐命令であると判断し、仮命令列テーブルの試
験対象命令数100を法として乱数mを発生させたとこ
ろ、mは仮命令列テーブルのn−5番目の命令、すなわ
ちH命令を指した。そこで、フラグデープルのn−・5
番目の数値を調べたところ0″、すなわち分岐先として
適当であったのCランダム試験手順テーブルのn−,5
番目から下の命令を1シフトし、n−5番目の位置にオ
ペランドフィールドを設定した比較値切l!Il設定命
令を格納する。続いて、ランダム試験手順テーブルの0
命令の後へ、無条件分岐命令の時、R命令の@後の命令
へ分岐するようにオペランドフィールドを設定した無条
件ループ脱出命令を格納し、さらに条件分岐命令の比較
条件が変化するようにオペランドフィールドを設定した
比較値変化命令を格納し、次に、分岐命令であるR命令
のオペランドフィールドを11命令へ分岐するように設
定し、ランダム試験手順デープルに格納し、比較値切1
1JI設定命令から1く命令の間にλ1応するフラグテ
ーブルの位置に1″を格納する。R命令以下についても
[記説明と同様に処理を行い、ランダム試験手順テーブ
ルを完成する、1
ところで、木実副側では比較値切1の設定命令と無条件
ループ脱出命令と比較値変化命令をランダム試験手順テ
ーブル生成時に格納しているが、仮命令列テーブルに組
み込んでもよいことは明らかであり、無条件ループ脱出
命令は、無条件分岐命令、条件分岐命令にかかわらずラ
ンダム試験手順テーブルに組み込んでいるが、無条件分
岐命令の時のみ組み込んでもよいことは明らかである。First, as shown in Figure 4(a), a temporary instruction sequence table and a flag table are generated, one instruction at a time is extracted from the beginning of the temporary instruction sequence table, an operand field suitable for that instruction is set, and a random test is performed. The procedure table is stored sequentially from the beginning to the O instruction. When the n-th instruction, that is, 1<instruction, is reached in the temporary instruction sequence table, R
When determining that the instruction is a branch instruction and generating a random number m modulo 100, the number of instructions to be tested in the temporary instruction sequence table, m points to the n-5th instruction in the temporary instruction sequence table, that is, the H instruction. did. Therefore, flag daple n-・5
When I checked the number, it was 0'', which is appropriate as the branch destination.N-,5 of the C random test procedure table
Shift the instruction below by 1 and set the operand field in the n-5th position. Comparison value cut l! Stores the Il setting command. Next, 0 in the random test procedure table
After the instruction, when an unconditional branch instruction is used, store an unconditional loop escape instruction with the operand field set to branch to the instruction after the R instruction, and also change the comparison condition of the conditional branch instruction. Store the comparison value change instruction with the operand field set, then set the operand field of the R instruction, which is a branch instruction, to branch to 11 instructions, store it in the random test procedure table, and set the comparison value change 1
1" is stored in the position of the flag table corresponding to λ1 between the 1JI setting command and the 1st command.For the R command and below, [process in the same manner as described above to complete the random test procedure table.1" By the way, On the Kinomi side, the comparison value cut 1 setting command, unconditional loop escape command, and comparison value change command are stored when generating the random test procedure table, but it is clear that they may be incorporated into the temporary command sequence table. Although the unconditional loop escape instruction is included in the random test procedure table regardless of whether it is an unconditional branch instruction or a conditional branch instruction, it is clear that it may be included only in the case of an unconditional branch instruction.
また、ランダム試験手順テーブル生成時に仮命令列テー
ブルを用いているが、仮命令列j−プルを省いてもよい
ことは明らかである。さらに、本実施例では無条件ルー
プ脱出命令と比較値変化命令が分岐命令の直前にあるが
、この間に他の命令が入ってもよいことは明らかである
とともに、上記実施例では1重ループのみ説明している
が上記と同様な手段を用いて多Φループについても行え
ることは明らかである。さらに、上記の一連の処理を試
験処理装防1上と被試験情報処理装置2上で行なってい
るが、全ての処理を被試験情報処理装置2上で行っても
よいことは明らかである。Further, although the temporary instruction sequence table is used when generating the random test procedure table, it is clear that the temporary instruction sequence j-pull may be omitted. Furthermore, in this embodiment, the unconditional loop escape instruction and the comparison value change instruction are placed immediately before the branch instruction, but it is clear that other instructions may be inserted between them, and in the above embodiment, only a single loop is used. Although explained, it is clear that the same method as above can be used for multi-Φ loops as well. Furthermore, although the series of processes described above are performed on the test processing equipment 1 and the information processing device under test 2, it is clear that all the processes may be performed on the information processing device under test 2.
(発明の効果)
以上説明したように本発明は、ランダム試験ブE1グラ
ム生成において、分岐命令の分岐先をランダムに設定す
る分岐先決定手段と、条件分岐命令で比較する条件を初
期設定する命令と繰り返しループから抜け出すために比
較値を変化させる命令を設定する分岐環境手段と、無条
件分岐命令の時ループを抜け出す命令を設定する無条件
ループ脱−出手段とをhすることにより、従来の情報処
理装置試験でできなかった分岐予測機能について試験が
行なえる効果がある。(Effects of the Invention) As described above, the present invention provides a branch destination determining means for randomly setting the branch destination of a branch instruction, and an instruction for initializing the conditions to be compared with a conditional branch instruction in generating a random test block E1gram. A branch environment means that sets an instruction to change the comparison value in order to break out of a repeat loop, and an unconditional loop escape means that sets an instruction to break out of the loop when an unconditional branch instruction is used. This has the advantage that branch prediction functions, which could not be tested in information processing equipment tests, can be tested.
第1図は本発明の情報処理装置試験方式の一実施例を構
成するシステム構成図、第2図はランダム試験プログラ
ムの内容を示す図、第3図は試験対象命令テーブルの構
成を示す図、第4図はランダム試験手順テーブル生成に
おいて分岐命令の設定手順を示す図、第5図はランダム
試験タスク10の処理を示す図、第6図はランダム試験
手順生成処理を示す図、第7図は仮命令列テーブル生成
処理を示す図、第8図はランダム試験手順アーブル生成
処即を示す図、第9図は比較値初期設定処理を示ず図、
第10図は無条件ループ脱出命令設定処理と比較値変化
設定処理を示す図である。
1・・・試験処理装置、
2・・・被試験情報処理装置、
3・・・第1の主記憶、 4・・・第2の主記憶、5
・・・第1の命令処理部、6・・・第2の命令処理部、
7・・・装置間インタフェース、
10・・・ランダム試験タスク、
11・・・ランダム試験ブ[lグラム生成手段、12・
・・分岐先決定手段、
13・・・分岐環境設定手段、
14・・・無条件ループ脱出手段、
15・・・ランダム試験ブ[1グラム起動手段、16・
・・実行結果判定手段、
17・・・シミ」レータ、 18・・・第3の主記憶、
19・・・第2のランダム試験プ〔1グラム、20・・
・第3の命令処理部、
30・・・オペレーティングシステム、40・・・第1
のランダム試験ブ【]グラム。
特許出願人 日 本電気署朱式会社
北陸日本電気ソフトウェア
株式会社
代 理 人 弁理士 内 原 汗
第2図
第1図
第3図
LnN↑(’Q Ne−
@+(NF)FIG. 1 is a system configuration diagram configuring an embodiment of the information processing device testing method of the present invention, FIG. 2 is a diagram showing the contents of a random test program, and FIG. 3 is a diagram showing the configuration of a test target instruction table. FIG. 4 is a diagram showing the branch instruction setting procedure in random test procedure table generation, FIG. 5 is a diagram showing the processing of random test task 10, FIG. 6 is a diagram showing the random test procedure generation process, and FIG. FIG. 8 is a diagram showing a temporary instruction sequence table generation process; FIG. 8 is a diagram showing a random test procedure Arble generation process; FIG. 9 is a diagram showing a comparison value initialization process;
FIG. 10 is a diagram showing the unconditional loop escape command setting process and the comparison value change setting process. DESCRIPTION OF SYMBOLS 1... Test processing device, 2... Information processing device under test, 3... First main memory, 4... Second main memory, 5
. . . first instruction processing unit, 6 . . . second instruction processing unit,
7... Inter-device interface, 10... Random test task, 11... Random test block [l-gram generation means, 12...
... Branch destination determining means, 13... Branch environment setting means, 14... Unconditional loop escape means, 15... Random test block [1 gram starting means, 16.
. . . Execution result determination means, 17 .
19...Second random test program [1 gram, 20...
-Third instruction processing unit, 30...operating system, 40...first
A random test of Bu[]g. Patent Applicant: Japan Electric Agency, Shushiki Company, Hokuriku NEC Software Co., Ltd. Agent: Patent Attorney: Han Uchihara Figure 2 Figure 1 Figure 3 LnN↑
Claims (1)
験プログラム生成手段が生成した命令列内の分岐命令の
分岐先を設定する分岐先決定手段と、条件分岐命令で比
較する条件を初期設定する命令と繰り返しループから抜
け出すために比較値を変化させる命令とを前記命令列内
に設定する分岐環境設定手段と、無条件分岐命令の時ル
ープを抜け出す命令を設定する無条件ループ脱出手段と
を有する情報処理装置試験方式。1. A random test program generation means, a branch destination determination means for setting a branch destination of a branch instruction in the instruction string generated by the random test program generation means, an instruction for initializing a condition to be compared with a conditional branch instruction, and repetition. An information processing device comprising branch environment setting means for setting an instruction for changing a comparison value in order to break out of a loop in the instruction string, and unconditional loop escape means for setting an instruction to break out of the loop in the case of an unconditional branch instruction. Test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63269802A JPH02115942A (en) | 1988-10-25 | 1988-10-25 | Information processor test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63269802A JPH02115942A (en) | 1988-10-25 | 1988-10-25 | Information processor test system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02115942A true JPH02115942A (en) | 1990-04-27 |
Family
ID=17477373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63269802A Pending JPH02115942A (en) | 1988-10-25 | 1988-10-25 | Information processor test system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02115942A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008225978A (en) * | 2007-03-14 | 2008-09-25 | Fujitsu Ltd | Test apparatus for branch prediction circuit of information processing apparatus, test method for branch prediction circuit of information processing apparatus, and test program for branch prediction circuit of information processing apparatus |
-
1988
- 1988-10-25 JP JP63269802A patent/JPH02115942A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008225978A (en) * | 2007-03-14 | 2008-09-25 | Fujitsu Ltd | Test apparatus for branch prediction circuit of information processing apparatus, test method for branch prediction circuit of information processing apparatus, and test program for branch prediction circuit of information processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7055065B2 (en) | Method, system, and computer program product for automated test generation for non-deterministic software using state transition rules | |
US20200167159A1 (en) | Processor testing | |
Clarke et al. | Testing real-time constraints in a process algebraic setting | |
JPH02115942A (en) | Information processor test system | |
EP2056202A1 (en) | Method for testing of a COM interface | |
US20080270762A1 (en) | Method, System and Computer Program Product for Register Management in a Simulation Enviroment | |
JPH1091480A (en) | Simulation device/method for computer program | |
JPH02115941A (en) | Information processor test system | |
EP0142562B1 (en) | Pipeline system for microprogram control unit | |
JP2785901B2 (en) | Test sequence generation method and test sequence generation device | |
JP2616542B2 (en) | Pseudo failure generation system | |
JPH01500066A (en) | Methods for implementing the Branch Directive | |
JPH06222939A (en) | Testing method for multiple pipelines | |
JPH03218539A (en) | Debug method in parallel computer system | |
JPH02115940A (en) | Information processor test system | |
JPH07182202A (en) | CPU logic simulation method | |
JPH09330242A (en) | Test instruction sequence generation method for information processing equipment | |
JPH07253901A (en) | Information processing equipment test method | |
JPH08328893A (en) | Command processing and method therefor | |
JPS63265342A (en) | central processing unit | |
JPS58149571A (en) | Processing system of vector operation in information processing device | |
JPH0664541B2 (en) | Command processor | |
JPH0677235B2 (en) | Information processing equipment | |
JPH10187475A (en) | Test instruction sequence generation method for information processing device | |
JPH09265412A (en) | Computer system and method for verifying system error handling |