JPS6212534B2 - - Google Patents

Info

Publication number
JPS6212534B2
JPS6212534B2 JP57224670A JP22467082A JPS6212534B2 JP S6212534 B2 JPS6212534 B2 JP S6212534B2 JP 57224670 A JP57224670 A JP 57224670A JP 22467082 A JP22467082 A JP 22467082A JP S6212534 B2 JPS6212534 B2 JP S6212534B2
Authority
JP
Japan
Prior art keywords
instruction
register
output
operand
register number
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
Application number
JP57224670A
Other languages
Japanese (ja)
Other versions
JPS59114642A (en
Inventor
Shigeaki Okuya
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57224670A priority Critical patent/JPS59114642A/en
Publication of JPS59114642A publication Critical patent/JPS59114642A/en
Publication of JPS6212534B2 publication Critical patent/JPS6212534B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3867Concurrent instruction execution, e.g. pipeline or look ahead using instruction pipelines
    • G06F9/3869Implementation aspects, e.g. pipeline latches; pipeline synchronisation and clocking

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、独立した演算回路を複数個備えた演
算処理装置の命令制御装置に係り、特に後続命令
が演算実行開始されたときに演算実行中の先行命
令の出力オペランド・レジスタ番号と後続命令の
入力オペランド・レジスタ番号との比較を行い、
後続命令を先行命令と同時に並列処理する際に先
行命令の演算結果を用いる後続命令であるか否か
レジスタ干渉を検査する一致回路について、故障
を検出するようにした命令制御装置におけるレジ
スタ干渉を検査する一致回路の故障検出方式に関
するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an instruction control device for an arithmetic processing device equipped with a plurality of independent arithmetic circuits, and in particular, when a subsequent instruction starts executing an operation, Compare the output operand register number of the preceding instruction with the input operand register number of the subsequent instruction,
Inspecting register interference in an instruction control device configured to detect failures for a matching circuit that inspects register interference to determine whether the subsequent instruction uses the arithmetic result of the preceding instruction when processing the subsequent instruction in parallel at the same time as the preceding instruction. The present invention relates to a fault detection method for matching circuits.

〔従来技術と問題点〕[Prior art and problems]

超高速演算処理装置、特にベクトル処理装置に
おいては、複数の演算回路を備え、夫々の演算回
路間でベクトル命令の並列処理を行うために命令
制御装置がある。この命令制御装置には、先行し
て実行されている演算命令群と、後続する実行前
の命令とでオペランド・レジスタ番号を比較して
レジスタ干渉を検査する一致回路が備えられてい
る。該一致回路は、先行命令の演算結果である出
力オペランドが後続の命令の入力オペランドとし
て用いられる場合、両者のオペランド・レジスタ
番号が一致するため一致信号を送出するようにし
たものである。一致信号が送出されると、後続命
令の演算開始が待たされて、先行命令の演算結果
が出力オペランドとして出力されてから後続命令
の演算が開始される。しかし、先行命令の演算結
果の出力オペランドが後続命令の入力オペランド
として用いられない場合には、両者のオペラン
ド・レジスタ番号は一致しないので、一致回路の
一致信号が得られず、直ちに後続命令の演算が開
始される。このように後続命令が先行命令の演算
結果を用いる必要のないオペランドを演算すると
きには並列処理されることによつて、処理性能の
向上が計られている。
2. Description of the Related Art Ultrahigh-speed arithmetic processing devices, particularly vector processing devices, include an instruction control device that includes a plurality of arithmetic circuits and performs parallel processing of vector instructions between the respective arithmetic circuits. This instruction control device is equipped with a matching circuit that compares operand register numbers between a previously executed arithmetic instruction group and a subsequent unexecuted instruction to check for register interference. The matching circuit is designed to send out a matching signal when the output operand that is the result of the operation of the preceding instruction is used as the input operand of the succeeding instruction because the operand register numbers of the two match. When the match signal is sent, the start of the calculation of the subsequent instruction is awaited, and the calculation result of the preceding instruction is output as an output operand before the calculation of the subsequent instruction is started. However, if the output operand of the operation result of the preceding instruction is not used as the input operand of the subsequent instruction, the operand register numbers of the two do not match, so the matching signal of the matching circuit cannot be obtained, and the operation of the subsequent instruction is immediately performed. is started. In this way, processing performance is improved by performing parallel processing when a subsequent instruction calculates an operand that does not require the use of the calculation result of the preceding instruction.

しかしながら、先行命令の演算結果の出力オペ
ランドが後続命令の入力オペランドとして用いら
れるにも拘らず、一致回路が故障して一致信号が
送出されないような場合には、先行命令の演算結
果が出力オペランドとして出力される前に直ちに
後続命令の演算が開始されることになる。この場
合には、オプランドの連鎖を正しく処理できない
ため、結果誤りとなるが、従来は適当な一致回路
の検査方法がなかつた。
However, even though the output operand of the operation result of the preceding instruction is used as the input operand of the subsequent instruction, if the matching circuit fails and no match signal is sent out, the operation result of the preceding instruction will be used as the output operand. The operation of the subsequent instruction will begin immediately before it is output. In this case, the chain of oprandos cannot be processed correctly, resulting in an erroneous result, but conventionally there has been no suitable method for testing matching circuits.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであつて、
レジスタ干渉を検査する一致回路の故障を簡単な
構成を付加することにより検出できる命令制御装
置におけるレジスタ干渉を検査する一致回路の故
障検出方式を提供することを目的とするものであ
る。
The present invention is based on the above considerations, and includes:
It is an object of the present invention to provide a failure detection method for a coincidence circuit that inspects register interference in an instruction control device that can detect failures of a coincidence circuit that inspects register interference by adding a simple configuration.

〔発明の構成〕[Structure of the invention]

そのために本発明の命令制御装置におけるレジ
スタ干渉を検査する一致回路の故障検出方式は、
独立した演算回路を複数個備えた演算処理装置の
演算実行中の先行命令の出力オペランド・レジス
タ番号と演算実行前の後続命令の入力オペラン
ド・レジスタ番号とを比較し、一致している場合
には上記先行命令が出力オペランドを出力してか
ら上記後続命令を実行し、一致していない場合に
は上記先行命令が出力オペランドを出力する前で
も上記後続命令を実行するためにレジスタ干渉を
検査する一致回路を備えた命令制御装置におい
て、演算実行中の上記先行命令の出力オペラン
ド・レジスタ番号を記憶する先行レジスタ、上記
後続命令の入力オペランド・レジスタ番号を記憶
する後続レジスタ、上記先行レジスタの内容と上
記後続レジスタの内容とを比較する比較回路、及
び故障検出回路を備え、該故障検出回路は、上記
後続命令が演算実行開始されたとき上記比較回路
が一致を検出し且つ上記先行命令が出力オペラン
ドをまだ出力していないことを条件に上記一致回
路の故障検出信号を送出するように構成されたこ
とを特徴とするものである。
For this purpose, the failure detection method of the matching circuit for checking register interference in the instruction control device of the present invention is as follows.
The output operand register number of the preceding instruction during execution of an arithmetic processing unit equipped with multiple independent arithmetic circuits is compared with the input operand register number of the subsequent instruction before execution of the operation, and if they match, Execute the subsequent instruction after the preceding instruction outputs an output operand, and if there is no match, check for register interference in order to execute the subsequent instruction even before the preceding instruction outputs the output operand. In an instruction control device equipped with a circuit, a preceding register stores an output operand register number of the preceding instruction during execution of an operation, a succeeding register stores an input operand register number of the succeeding instruction, the contents of the preceding register and the above. It includes a comparison circuit that compares the contents of a subsequent register with the contents of a subsequent register, and a failure detection circuit, and the failure detection circuit detects a match when the subsequent instruction starts executing an operation, and the preceding instruction detects an output operand. The present invention is characterized in that it is configured to send out a failure detection signal of the coincidence circuit on the condition that it has not yet output.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の1実施例を示す図、第2図と
第3図は本発明の1実施例の動作例を示すタイ
ム・チヤートである。第1図において、QRは後
続命令情報レジスタ、1は演算前命令管理部、2
と3は演算中命令管理部、4は故障検出部、5は
命令発信制御回路、6と7は書込み開始フラグ、
8と9はインバータ、10ないし15は一致回
路、16ないし21はアンド・ゲート、22と2
3はオア・ゲート、24,25,ARとMRはレ
ジスタ、26はデイレイ・レジスタ、27と28
はタイミング回路、OPは命令コード、R1は出
力オペランド・レジスタ番号、R2は第1オペラ
ンド・レジスタ番号、R3は第2オペランド・レ
ジスタ番号を示す。
FIG. 1 is a diagram showing one embodiment of the present invention, and FIGS. 2 and 3 are time charts showing an example of the operation of one embodiment of the present invention. In Figure 1, QR is a subsequent instruction information register, 1 is a pre-operation instruction management section, and 2 is a
and 3 are a calculation instruction management unit, 4 is a failure detection unit, 5 is an instruction transmission control circuit, 6 and 7 are write start flags,
8 and 9 are inverters, 10 to 15 are matching circuits, 16 to 21 are AND gates, 22 and 2
3 is an OR gate, 24, 25, AR and MR are registers, 26 is a delay register, 27 and 28
is a timing circuit, OP is an instruction code, R1 is an output operand register number, R2 is a first operand register number, and R3 is a second operand register number.

第1図において、後続命令情報レジスタQR
は、命令情報が送られてくると、命令コード
OP、出力オペランド・レジスタ番号R1、第1
オペランド・レジスタ番号R2、及び第2オペラ
ンド・レジスタ番号R3が夫々格納されるもので
あり、格納された命令コードOPと出力オペラン
ド・レジスタ番号R1が命令発信制御回路5に送
られ、第1オペランド・レジスタ番号R2が一致
回路10,12とレジスタ24に送られ、第2オ
ペランド・レジスタ番号R3が一致回路11,1
3とレジスタ24に送られる。命令発信制御回路
5は、例えば演算回路が空いているか、レジスタ
干渉があるか、など命令を発信するための全ての
条件を検査し、条件が整つていれば命令を発信す
るもので、命令が実行開始されると、実行中の出
力オペランド・レジスタ番号R1が命令発信制御
回路5からレジスタAR,MR,R1とタイミン
グ回路27に送られる。演算中命令管理部2で
は、加算実行中の管理情報が管理され、レジスタ
ARに加算実行中の命令の出力オペランド・レジ
スタ番号R1が格納され、演算結果の書込みが始
まると書込み開始フラグ6がオン(論理「1」)
にされる。同様に演算中命令管理部3では、乗算
実行中の管理情報が管理され、レジスタMRに乗
算実行中の命令の出力オペランド・レジスタ番号
R1が格納され、演算結果の書込みが始まると書
込み開始フラグ7がオン(論理「1」)にされ
る。レジスタARに格納された出力オペランド・
レジスタ番号R1は、一致回路10と11に送ら
れ、レジスタMRに格納された出力オペランド・
レジスタ番号R1は、一致回路12と13に送ら
れる。書込み開始フラグ6の内容はインバータ8
を通してアンド・ゲート16と17の一方の入力
端子に送られ、一致回路10の出力がアンド・ゲ
ート16の他方の入力端子、一致回路11の出力
がアンド・ゲート17の他の入力端子に送られ
る。一致回路12と13、アンド・ゲート18と
19、インバータ9についても同様に接続され
る。そしてオア・ゲート22の夫々の入力端子に
アンド・ゲート16ないし19の出力が供給さ
れ、オア・ゲート22の出力が命令発信制御回路
5に送られる。故障検出部4ではレジスタ24に
第1オペランド・レジスタ番号R2と第2オペラ
ンド・レジスタ番号R3が格納され、レジスタ2
5に演算実行中の出力オペランド・レジスタ番号
R1が格納される。デイレイ・レジスタ26は、
レジスタ25に格納された出力オペランド・レジ
スタ番号R1を1タイミング遅れて格納するもの
である。このデイレイ・レジスタ26に格納され
た出力オペランド・レジスタ番号R1が、一致回
路14によつて第1オペランド・レジスタ番号R
2と比較され、一致回路15によつて第2オペラ
ンド・レジスタ番号R3と比較される。そして、
タイミング回路27と28の出力と共に一致回路
14の出力がアンド・ゲート20の入力とされ、
タイミング回路27と28の出力と共に一致回路
14の出力がアンド・ゲート21の入力とされ、
アンド・ゲート20と21の出力がオア・ゲート
23を通して故障検出信号として送出される。
In Figure 1, subsequent instruction information register QR
When the instruction information is sent, the instruction code is
OP, output operand register number R1, first
The operand register number R2 and the second operand register number R3 are respectively stored, and the stored instruction code OP and output operand register number R1 are sent to the instruction transmission control circuit 5, and the first operand register number R2 and the second operand register number R3 are respectively stored. Register number R2 is sent to match circuits 10, 12 and register 24, and second operand register number R3 is sent to match circuits 11, 1.
3 and is sent to register 24. The command transmission control circuit 5 checks all conditions for transmitting a command, such as whether the arithmetic circuit is vacant or there is register interference, and if the conditions are met, transmits the command. When execution starts, the output operand register number R1 being executed is sent from the instruction generation control circuit 5 to the registers AR, MR, R1 and the timing circuit 27. The in-operation instruction management unit 2 manages management information during addition execution, and stores the information in registers.
The output operand register number R1 of the instruction that is being added is stored in AR, and when writing of the operation result begins, the write start flag 6 is turned on (logic "1").
be made into Similarly, in the operation instruction management unit 3, management information during the execution of multiplication is managed, and the output operand register number R1 of the instruction under execution of multiplication is stored in the register MR, and when writing of the operation result starts, a write start flag 7 is set. is turned on (logic "1"). Output operand stored in register AR
Register number R1 is sent to matching circuits 10 and 11, and the output operand stored in register MR.
Register number R1 is sent to matching circuits 12 and 13. The contents of write start flag 6 are inverter 8.
The output of matching circuit 10 is sent to the other input terminal of AND gate 16, and the output of matching circuit 11 is sent to the other input terminal of AND gate 17. . Matching circuits 12 and 13, AND gates 18 and 19, and inverter 9 are similarly connected. The outputs of AND gates 16 to 19 are supplied to each input terminal of OR gate 22, and the output of OR gate 22 is sent to command generation control circuit 5. In the failure detection unit 4, the first operand register number R2 and the second operand register number R3 are stored in the register 24.
5 stores the output operand register number R1 under execution of the operation. The delay register 26 is
The output operand register number R1 stored in the register 25 is stored with a delay of one timing. The output operand register number R1 stored in the delay register 26 is changed to the first operand register number R1 by the matching circuit 14.
2, and is compared by match circuit 15 with second operand register number R3. and,
The outputs of the coincidence circuit 14 as well as the outputs of the timing circuits 27 and 28 are input to the AND gate 20;
The outputs of the coincidence circuit 14 as well as the outputs of the timing circuits 27 and 28 are input to the AND gate 21;
The outputs of AND gates 20 and 21 are sent out through OR gate 23 as a fault detection signal.

次に動作を説明する。演算前命令管理部1で
は、命令発信制御回路5により命令が実行開始さ
れると、その命令の出力オペランド・レジスタ番
号R1が演算中命令管理部2,3と故障検出部4
に送出されると共に、後続命令情報レジスタQR
に新たな後続する命令情報が格納される。演算中
の出力オペランド・レジスタ番号R1と後続命令
情報レジスタQRに格納された後続命令の第1オ
ペランド・レジスタ番号R2、第2オペランド・
レジスタ番号R3とは、一致回路10ないし13
によつて比較され、一致信号が一致回路10ない
し13のいずれからも送出されない場合、即ち、
一致回路10ないし13のいずれの出力も論理
「0」の場合には、オア・ゲート22から論理
「0」の出力が命令発信制御回路5に送られる。
しかし、例えば加算実行中におけるその命令の出
力オペランド・レジスタ番号R1が、後続命令の
第1オペランド・レジスタ番号R2と一致する場
合には、一致回路10の出力が論理「1」にな
る。その結果、第2図に示すように、書込み開始
フラグ6がオフ(論理「0」)の間アンド・ゲー
ト16のアンド条件が成立し、論理「1」の一致
出力信号がオア・ゲート22を通して命令発信制
御回路5に送られる。その後書込み開始フラグ6
がオンにされるとインバータ8の出力が論理
「0」になり、アンド・ゲート16のアンド条件
が成立しなくなる。命令発信制御回路5では、オ
ア・ゲート22から論理「1」の一致出力信号が
送られてくると、後続命令の実行開始が待たさ
れ、オア・ゲート22からの一致出力信号が論理
「0」になると、他に待ちの条件がなければ後続
命令の実行が開始される。
Next, the operation will be explained. In the pre-operation instruction management unit 1, when an instruction is started to be executed by the instruction transmission control circuit 5, the output operand register number R1 of the instruction is transmitted to the instruction management units 2 and 3 during operation and the failure detection unit 4.
is sent to the subsequent instruction information register QR.
New subsequent instruction information is stored in . The output operand register number R1 during the operation, the first operand register number R2, and the second operand register number R2 of the subsequent instruction stored in the subsequent instruction information register QR.
Register number R3 means matching circuits 10 to 13.
If no matching signal is sent out from any of the matching circuits 10 to 13, i.e.
If the outputs of any of the matching circuits 10 to 13 are logic "0", an output of logic "0" is sent from the OR gate 22 to the command generation control circuit 5.
However, for example, if the output operand register number R1 of the instruction during execution of addition matches the first operand register number R2 of the subsequent instruction, the output of the matching circuit 10 becomes logic "1". As a result, as shown in FIG. 2, while the write start flag 6 is off (logic "0"), the AND condition of the AND gate 16 is satisfied, and a coincidence output signal of logic "1" is output through the OR gate 22. The command is sent to the command transmission control circuit 5. Then write start flag 6
When the inverter 8 is turned on, the output of the inverter 8 becomes logic "0", and the AND condition of the AND gate 16 no longer holds true. In the command generation control circuit 5, when a coincidence output signal of logic "1" is sent from the OR gate 22, the start of execution of the subsequent instruction is waited, and the coincidence output signal from the OR gate 22 becomes logic "0". When this occurs, execution of the subsequent instruction begins unless there are other waiting conditions.

演算実行中の命令の出力オペランド・レジスタ
番号R1が後続命令の第1オペランド・レジスタ
番号R2又は第2オペランド・レジスタ番号R3
と一致するにも拘わらず、オア・ゲート22から
論理「0」の信号が命令発信制御回路5に送られ
た場合には、後続命令の実行が開始される。その
ときには故障検出部4のオア・ゲート23から故
障検出を示す論理「1」の故障検出信号が送出さ
れる。例えば、第3図に示すように、加算命令
VAの後続命令が乗算命令VMである場合におい
て、加算命令VAが後続命令情報レジスタQRに格
納され、次のタイミングで実行開始されると、同
時に乗算命令VMが後続命令情報レジスタQRに
格納される。この時故障検出部4では、レジスタ
24と25に第3図に示すような内容がセツトさ
れる。タイミング回路27は、新たな命令が実行
開始される毎に1タイミング期間だけ出力が論理
「1」になり、タイミング回路28は、タイミン
グ回路27が論理「1」を出力した後、所定数の
タイミング期間(書込み開始フラグがオンされる
までの期間)だけ出力が論理「1」になる。した
がつて、続いて次のタイミングで直ちに乗算命令
VMも実行開始されると、レジスタ24には、実
行開始された乗算命令VMの第1オペランド・レ
ジスタ番号VMR2と第2オペランド・レジスタ
番号VMR3が格納される。又、レジスタ25に
も実行開始された乗算命令VMの出力オペラン
ド・レジスタ番号VMR1が格納されるが、デイ
レイ・レジスタ26からはその1タイミング前の
加算命令VAの出力オペランド・レジスタ番号
VAR1が格納され、一致回路14と15の比較
入力とされる。そして、一致回路14又は15に
論理「1」の一致出力が得られると、タイミング
回路27と28の出力が論理「1」であることを
条件にして、論理「1」の故障検出信号がアン
ド・ゲート20又は21からオア・ゲート23を
通して出力される。第3図に示すタイム・チヤー
トから明らかなように、乗算命令VMが数タイミ
ングおいてから実行開始された場合であつても、
タイミング回路28の出力が論理「1」の間(書
込み開始フラグがオンになるタイミングより前)
であれば、同様の出力結果が得られる。このよう
に本発明は、後続命令が実行開始されたときに先
行命令が出力オペランドをまだ出力していない
(書込み開始フラグがオフ)ことを条件にして先
行命令の出力オペランド・レジスタ番号と実行開
始された後続命令の入力オペランド・レジスタ番
号とを比較し故障が検出される。
The output operand register number R1 of the instruction being executed is the first operand register number R2 or the second operand register number R3 of the subsequent instruction.
If the logical "0" signal is sent from the OR gate 22 to the command issuing control circuit 5 even though the numbers match, the execution of the subsequent command is started. At that time, a failure detection signal of logic "1" indicating failure detection is sent from the OR gate 23 of the failure detection section 4. For example, as shown in Figure 3, the addition instruction
When the subsequent instruction of VA is the multiplication instruction VM, when the addition instruction VA is stored in the subsequent instruction information register QR and execution starts at the next timing, the multiplication instruction VM is stored in the subsequent instruction information register QR at the same time. . At this time, in the failure detection section 4, the contents shown in FIG. 3 are set in the registers 24 and 25. The timing circuit 27 outputs a logic "1" for one timing period each time a new instruction starts to be executed, and the timing circuit 28 outputs a logic "1" for a predetermined number of timings after the timing circuit 27 outputs a logic "1". The output becomes logic "1" only for a period (a period until the write start flag is turned on). Therefore, the multiplication instruction is immediately executed at the next timing.
When the VM also starts execution, the first operand register number VMR2 and the second operand register number VMR3 of the multiplication instruction VM whose execution has started are stored in the register 24. Also, the output operand register number VMR1 of the multiplication instruction VM that has started execution is stored in the register 25, but the output operand register number VMR1 of the addition instruction VA one timing before is stored in the delay register 26.
VAR1 is stored and is used as a comparison input for matching circuits 14 and 15. When a coincidence output of logic "1" is obtained in the coincidence circuit 14 or 15, the failure detection signal of logic "1" is output on the condition that the outputs of the timing circuits 27 and 28 are logic "1". - Output from gate 20 or 21 through OR gate 23. As is clear from the time chart shown in Figure 3, even if the multiplication instruction VM starts execution after several timings,
While the output of the timing circuit 28 is logic “1” (before the timing when the write start flag turns on)
If so, you will get similar output results. In this way, the present invention is capable of determining the output operand register number of the preceding instruction and the start of execution on the condition that the preceding instruction has not yet output its output operand (the write start flag is off) when the subsequent instruction starts executing. A failure is detected by comparing the input operand register number of the subsequent instruction.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれ
ば、オペランドの連鎖が正しく処理されなかつた
場合には、その命令が実行開始されると直ちに故
障を検出することができる。
As is clear from the above description, according to the present invention, if a chain of operands is not processed correctly, a failure can be detected as soon as the instruction starts executing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の1実施例を示す図、第2図と
第3図は本発明の1実施例の動作例を示すタイ
ム・チヤートである。 QR……後続命令情報レジスタ、1……演算前
命令管理部、2と3……演算中命令管理部、4…
…故障検出部、5……命令発信制御回路、6と7
……書込み開始フラグ、8と9はインバータ、1
0ないし15……一致回路、16ないし21……
アンド・ゲート、22と23……オア・ゲート、
24,25,ARとMR……レジスタ、26……
デイレイ・レジスタ、27と28……タイミング
回路、OPは命令コード、R1……出力オペラン
ド・レジスタ番号、R2……第1オペランド・レ
ジスタ番号、R3……第2オペランド・レジスタ
番号。
FIG. 1 is a diagram showing one embodiment of the present invention, and FIGS. 2 and 3 are time charts showing an example of the operation of one embodiment of the present invention. QR...Subsequent instruction information register, 1...Pre-operation instruction management unit, 2 and 3...In-operation instruction management unit, 4...
...Failure detection unit, 5...Command transmission control circuit, 6 and 7
...Write start flag, 8 and 9 are inverters, 1
0 to 15...matching circuit, 16 to 21...
And gate, 22 and 23...or gate,
24, 25, AR and MR... register, 26...
Delay registers, 27 and 28... timing circuit, OP is instruction code, R1... output operand register number, R2... first operand register number, R3... second operand register number.

Claims (1)

【特許請求の範囲】[Claims] 1 独立した演算回路を複数個備えた演算処理装
置の演算実行中の先行命令の出力オペランド・レ
ジスタ番号と演算実行前の後続命令の入力オペラ
ンド・レジスタ番号とを比較し、一致している場
合には上記先行命令が出力オペランドを出力して
から上記後続命令を実行し、一致していない場合
には上記先行命令が出力オペランドを出力する前
でも、上記後続命令を実行するためにレジスタ干
渉を検査する一致回路を備えた命令制御装置にお
いて、演算実行中の上記先行命令の出力オペラン
ド・レジスタ番号を記憶する先行レジスタ、上記
後続命令の入力オペランド・レジスタ番号を記憶
する後続レジスタ、上記先行レジスタの内容と上
記後続レジスタの内容とを比較する比較回路、及
び故障検出回路を備え、該故障検出回路は、上記
後続命令が演算実行開始されたとき上記比較回路
が一致を検出し且つ上記先行命令が出力オペラン
ドをまだ出力していないことを条件に上記一致回
路の故障検出信号を送出するように構成されたこ
とを特徴とする命令制御装置におけるレジスタ干
渉を検査する一致回路の故障検出方式。
1 Compare the output operand register number of the preceding instruction during execution of an arithmetic processing unit equipped with multiple independent arithmetic circuits and the input operand register number of the subsequent instruction before execution of the operation, and if they match, executes the subsequent instruction after the preceding instruction outputs its output operand, and if they do not match, checks for register interference in order to execute the subsequent instruction even before the preceding instruction outputs its output operand. In an instruction control device equipped with a matching circuit, a preceding register stores an output operand register number of the preceding instruction during execution of an operation, a succeeding register stores an input operand register number of the succeeding instruction, and contents of the preceding register. and a failure detection circuit, the failure detection circuit detects a match when the subsequent instruction starts executing an operation, and the preceding instruction outputs the 1. A failure detection method for a matching circuit for inspecting register interference in an instruction control device, characterized in that the matching circuit is configured to send out a failure detection signal on the condition that an operand has not yet been output.
JP57224670A 1982-12-21 1982-12-21 Fault detecting system of coincidence circuit for inspecting register interference in instruction control device Granted JPS59114642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57224670A JPS59114642A (en) 1982-12-21 1982-12-21 Fault detecting system of coincidence circuit for inspecting register interference in instruction control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57224670A JPS59114642A (en) 1982-12-21 1982-12-21 Fault detecting system of coincidence circuit for inspecting register interference in instruction control device

Publications (2)

Publication Number Publication Date
JPS59114642A JPS59114642A (en) 1984-07-02
JPS6212534B2 true JPS6212534B2 (en) 1987-03-19

Family

ID=16817371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57224670A Granted JPS59114642A (en) 1982-12-21 1982-12-21 Fault detecting system of coincidence circuit for inspecting register interference in instruction control device

Country Status (1)

Country Link
JP (1) JPS59114642A (en)

Also Published As

Publication number Publication date
JPS59114642A (en) 1984-07-02

Similar Documents

Publication Publication Date Title
US5383192A (en) Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints
US4982402A (en) Method and apparatus for detecting and correcting errors in a pipelined computer system
US5640508A (en) Fault detecting apparatus for a microprocessor system
RU2137182C1 (en) Execution of data processing instruction
JPH0869391A (en) Data processor and its method
JPS6212534B2 (en)
KR940001268B1 (en) Data process with check function of undefined addressing over each command
JPS6227831A (en) Checking circuit for computing element
JPS59183443A (en) Debug device
JPH05100883A (en) Semiconductor device for processing data
JPH06202907A (en) Debug support device
JP2720580B2 (en) Fault-tolerant computer
JP2558902B2 (en) Semiconductor integrated circuit device
JPH11167500A (en) Event circuit and debug system for emulator device
JPH02271432A (en) Method and device for testing microcode
JPS60238934A (en) Precedence controlling device
JPS6146535A (en) Pseudo error setting control system
JPH01231134A (en) Artificial fault generating system for information processor
JPH03209523A (en) Detection system for error of instruction data
JP2001084149A (en) Interruption processing system for information processor
JPH05108542A (en) Data processor
JPH0262631A (en) Arithmetic process system by re-execution of instruction
JPS63163544A (en) Debugging controller
JPS59211123A (en) Semiconductor integrated circuit
JPS62102340A (en) Coincidence detection circuit