JP2793386B2 - Computer error information storage device for computer - Google Patents

Computer error information storage device for computer

Info

Publication number
JP2793386B2
JP2793386B2 JP3199541A JP19954191A JP2793386B2 JP 2793386 B2 JP2793386 B2 JP 2793386B2 JP 3199541 A JP3199541 A JP 3199541A JP 19954191 A JP19954191 A JP 19954191A JP 2793386 B2 JP2793386 B2 JP 2793386B2
Authority
JP
Japan
Prior art keywords
error
holding
destination register
instruction
status
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 - Fee Related
Application number
JP3199541A
Other languages
Japanese (ja)
Other versions
JPH0546390A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3199541A priority Critical patent/JP2793386B2/en
Priority to US07/926,174 priority patent/US5283891A/en
Publication of JPH0546390A publication Critical patent/JPH0546390A/en
Application granted granted Critical
Publication of JP2793386B2 publication Critical patent/JP2793386B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、パイプライン演算を
行なう電子計算機における演算エラー情報の保持を行な
う電子計算機の演算エラー情報保持装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic error information holding device for an electronic computer which holds arithmetic error information in an electronic computer which performs a pipeline arithmetic operation.

【0002】[0002]

【従来の技術】従来、よりいっそうの演算性能向上のた
めに図3に示すようなパイプライン演算を実施している
電子計算機が多くある。
2. Description of the Related Art Conventionally, there are many electronic computers which execute a pipeline operation as shown in FIG. 3 in order to further improve the operation performance.

【0003】このパイプライン演算は、例えば最初の演
算命令OP−1をフェッチ(F)し、次のマシンサイク
ルの間に、この演算命令OP−1をデコード(D)する
と共に、これと並行して次の演算命令OP−2をフェッ
チし、さらに次のマシンサイクルの間に、最初の演算命
令OP−1を実行(E)すると共に、演算命令OP−2
についてはデコードし、新たな演算命令OP−3につい
てはフェッチする。そしてさらに次のサイクルでは、実
行処理が完了した演算命令OP−1についてはその処理
結果をライトバック(W)すると共に、新たな命令をフ
ェッチしてくる演算方式である。つまり、実行ステージ
が1パイプラインサイクルで終わらなくても、命令パイ
プラインを止めることなく、同じ演算器を利用する命令
を含めて、後続の命令を順次フェッチし、実行していく
演算方式である。
In this pipeline operation, for example, the first operation instruction OP-1 is fetched (F), and during the next machine cycle, this operation instruction OP-1 is decoded (D), and in parallel with this. Fetches the next operation instruction OP-2, further executes (E) the first operation instruction OP-1 during the next machine cycle, and executes the operation instruction OP-2.
Is decoded, and a new operation instruction OP-3 is fetched. In the next cycle, the operation method is such that the processing result is written back (W) and the new instruction is fetched for the operation instruction OP-1 whose execution processing is completed. In other words, even if the execution stage does not end in one pipeline cycle, the subsequent instruction is sequentially fetched and executed, including the instruction using the same arithmetic unit, without stopping the instruction pipeline. .

【0004】このようなパイプライン演算を行なう電子
計算機において、演算エラーが発生した場合、エラーを
発生させた命令、またはリカバリー時の操作対象となる
演算のデスティネーションレジスタなどを特定すること
は困難、あるいは不可能であった。それは、パイプライ
ン演算の実行中に演算エラー割込みを伴うエラーが発生
しても、割込みルーチンからの復帰後の動作に矛盾を生
じさせないために、エラー発生までにフェッチされてい
る命令がすべて完了するのを待ってから演算エラー割込
みルーチンの実行を開始するようにしており、その結
果、演算エラー割込みの開始時にはすでに演算エラーを
発生した命令に後続する他の命令も実行されてしまって
いることによる。このため、従来は、演算エラー発生箇
所の命令レベルでの特定ができないものと諦めている
ことが多かった。
In an electronic computer that performs such a pipeline operation, when an operation error occurs, it is difficult to specify the instruction that caused the error or the destination register of the operation to be operated during recovery. Or it was impossible. That is, even if an error accompanied by an operation error interrupt occurs during the execution of a pipeline operation, all instructions fetched before the occurrence of the error are completed so as not to cause inconsistency in operation after returning from the interrupt routine. The execution of the operation error interrupt routine is started after the execution of the operation error interrupt. As a result, at the start of the operation error interrupt, another instruction following the instruction in which the operation error has occurred has already been executed. . For this reason, conventionally, it has often been abandoned that an operation error occurrence location cannot be specified at the instruction word level.

【0005】また、パイプライン演算を行なう演算器に
おいて、演算エラー割込みを伴う演算エラーが発生した
場合、割込みからの復帰後の動作に矛盾を生じさせない
ため、その時までにフェッチした命令すべての実行、つ
まり命令パイプラインのライトバックステージ(W)ま
でが完了してから、実際に割り込まなければならないこ
とがあるが、このときには、図4に示すようにある命
令、例えばOP−1で演算エラー割込みを伴うエラー
(演算エラー1)が発生し、すでにフェッチされている
すべての命令OP−2,OP−3,OP−4の実行完了
を待つ間にそれらの命令にも演算エラー(演算エラー
2)が発生すると、演算エラー割込み処理ルーチンへ飛
び込んだ時点で複数の演算エラーが発生していることに
なる。
In addition, when an operation error accompanied by an operation error interrupt occurs in an operation unit that performs a pipeline operation, in order to prevent inconsistency in the operation after the return from the interrupt, the execution and execution of all instructions fetched up to that time can be performed. In other words, there is a case where it is necessary to actually interrupt after the write-back stage (W) of the instruction pipeline is completed. At this time, an operation error interrupt is issued by a certain instruction as shown in FIG. An accompanying error (arithmetic error 1) occurs, and while waiting for the completion of execution of all the already fetched instructions OP-2, OP-3, OP-4, an arithmetic error (arithmetic error 2) also occurs in those instructions. When this occurs, a plurality of calculation errors have occurred at the point of jumping into the calculation error interrupt processing routine.

【0006】ところが、このような第2、第3のエラー
は見落とされることが普通であり、実際には不完全なエ
ラー情報しか得られないことになっていた。
However, such second and third errors are usually overlooked, and only incomplete error information is actually obtained.

【0007】さらに、実行サイクル数が異なるパイプラ
イン演算命令が近接して配置されていると、図4に示す
OP−3,OP−4のようにフェッチの順序と異なる順
序で命令の実行が完了することがあるが、このような場
合には、演算エラーが発生するタイミングも、その順序
がフェッチと逆になり得る。特に、実行ステージ(E)
で複数の異なるプロセッサを同時に利用できる並列処理
プロセッサにおいてその可能性が高く、この順序を正し
く認識して正確なリカバリー処理を実施することも容易
ではなかった。
Further, when pipeline operation instructions having different numbers of execution cycles are arranged close to each other, instruction execution is completed in an order different from the fetch order as shown in OP-3 and OP-4 shown in FIG. However, in such a case, the order in which the operation error occurs may be opposite to the order of the fetch. In particular, the execution stage (E)
Therefore, the possibility is high in a parallel processing processor that can simultaneously use a plurality of different processors, and it is not easy to recognize the order correctly and to execute an accurate recovery process.

【0008】このように、従来のパイプライン演算を行
なう電子計算機では、エラーリカバリーの可能性が小さ
く、高性能化のために信頼性をある程度犠牲にする傾向
があった。そして、逆に、高い信頼性を特徴とする電子
計算機では、例えば、命令パイプラインの実行ステージ
が1マシンサイクルを超えるときにはその分、命令パイ
プラインをストールさせて実行ステージには1つの命令
しか存在しないように制御するなどして、演算パイプラ
インによるいっそうの性能向上は諦めても、確実に演算
エラーの発生場所を特定し、リカバリー処理を可能とし
ていく傾向にあった。
As described above, in a conventional computer that performs a pipeline operation, the possibility of error recovery is small, and reliability tends to be sacrificed to some extent for high performance. Conversely, in a computer characterized by high reliability, for example, when the execution stage of the instruction pipeline exceeds one machine cycle, the instruction pipeline is stalled and only one instruction is present in the execution stage. For example, there is a tendency that the location where an arithmetic error occurs is identified and the recovery process is enabled, even if the performance is not improved further by controlling the arithmetic pipeline by giving control such that the arithmetic error does not occur.

【0009】[0009]

【発明が解決しようとする課題】以上のように、従来の
パイプライン演算を行なう電子計算機では、演算エラー
発生部分の命令語レベルでの特定がきわめて困難であ
り、また、演算エラーが重なっている場合、すなわち、
最初の演算エラー発生からすべてのフェッチ済み命令が
完了して演算エラー割込みルーチンへ飛び込むまでの間
に他の演算エラーが発生した場合、その発生回数や順序
の特定がきわめて困難であり、パイプライン演算によっ
て高性能化を達成することができても、演算エラーの正
確なリカバリー実現の可能性が小さく、高い信頼性を確
保することができない問題点があった。
As described above, in a conventional computer which performs a pipeline operation, it is extremely difficult to specify an operation error occurrence portion at an instruction word level, and the operation errors overlap. If, that is,
If another operation error occurs between the time when the first operation error occurs and the time when all fetched instructions have completed and jumped to the operation error interrupt routine, it is extremely difficult to specify the number of occurrences and the order. However, even if high performance can be achieved, there is a small possibility that accurate recovery of an operation error can be realized, and high reliability cannot be ensured.

【0010】この発明は、このような従来の問題点に鑑
みなされたもので、高性能化のためのパイプライン演算
を行なう電子計算機において、並列に実行される演算命
令のエラー情報を正確に認識できるようにし、演算性能
を犠牲にすることになく、演算エラーに対するリカバリ
ー機能も信頼性の高いものとすることができる電子計算
機の演算エラー情報保持装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem, and in an electronic computer which performs a pipeline operation for improving performance, error information of operation instructions executed in parallel is accurately recognized. It is an object of the present invention to provide an operation error information holding device for an electronic computer, which can make a recovery function for an operation error highly reliable without sacrificing the operation performance.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明は、パイプライン演算を行なう電子計算
機の演算エラー情報保持装置において、演算命令のデス
ティネーションオペランドとして指定可能な複数のレジ
スタ毎に設けられた演算ステータスレジスタと、演算命
令のデスティネーションレジスタの番号を複数個保持す
ることができるデスティネーションレジスタ番号保持手
段と、演算の完了毎にその演算結果を保持する前記レジ
スタに対応する前記演算ステータスを保持させる演算ス
テータス保持制御手段と、演算エラー発生時より、演算
エラー割込みの発生時までに実行される全ての演算に対
し、演算が完了する毎に順次、デスティネーションレジ
スタ番号を前記デスティネーションレジスタ番号保持手
段に保持させるデスティネーションレジスタ番号保持手
段とを備えたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention relates to an operation error information holding device for an electronic computer which performs a pipeline operation, comprising a plurality of registers which can be designated as destination operands of an operation instruction. An operation status register provided for each operation, a destination register number holding means capable of holding a plurality of destination register numbers of operation instructions, and a register corresponding to the register for holding the operation result each time an operation is completed. An operation status holding control means for holding the operation status, and for each operation executed from the time of occurrence of the operation error to the time of occurrence of the operation error interrupt, the destination register number is sequentially changed each time the operation is completed. The data to be held by the destination register number holding means It is obtained by a destination register number retaining means.

【0012】[0012]

【作用】この発明の電子計算機の演算エラー情報保持装
置では、演算ステータス保持制御手段は、各演算の完了
毎にその演算結果を保持する前記レジスタに対応する前
記演算ステータスを保持させる。デスティネーションレ
ジスタ番号保持制御手段は、演算エラー発生時より、演
算エラー割込みの発生時までに実行される全ての演算に
対し、演算が完了する毎に順次、デスティネーションレ
ジスタ番号を前記デスティネーションレジスタ番号保持
手段に保持させる。
In the arithmetic error information holding device for an electronic computer according to the present invention, the arithmetic status holding control means holds the arithmetic status corresponding to the register holding the arithmetic result each time an arithmetic operation is completed. The destination register number holding control means sequentially changes the destination register number every time the operation is completed from the time of the occurrence of the operation error to the time of the occurrence of the operation error interrupt. It is held by the holding means.

【0013】こうして、演算エラー発生時には、エラー
の発生した演算命令のデスティネーションレジスタをデ
スティネーションレジスタ番号保持手段によって直接知
ることができ、また、このデスティネーションレジスタ
番号保持手段に保持されている演算命令の演算ステータ
スをデスティネーションレジスタに対応する演算ステー
タス保持手段によって知ることができ、さらには、演算
エラー発生から割込み発生までの間の演算の有無や、演
算があった場合にそれらの完了順序やそれらにも演算エ
ラーが発生したか否かをも知ることができ、性能を犠牲
にすることなく、演算エラーに対するリカバリーの可能
性を高めることができる。
In this way, when an operation error occurs, the destination register of the operation instruction in which the error has occurred can be directly known by the destination register number holding means, and the operation instruction held in the destination register number holding means can be obtained. Operation status can be known by the operation status holding means corresponding to the destination register. Furthermore, the presence or absence of the operation from the occurrence of the operation error to the occurrence of the interrupt, and the completion order of the operations, if any, It is also possible to know whether or not an operation error has occurred, and it is possible to increase the possibility of recovery from the operation error without sacrificing performance.

【0014】[0014]

【実施例】以下、この発明の実施例を図に基づいて詳説
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】図1はこの発明の一実施例のブロック図を
示しており、この実施例の電子計算機の演算エラー情報
保持装置は、パイプライン演算を実行することができる
演算器1と、演算命令のオペランドとして指定され、使
用されるレジスタr0〜rnで構成されるレジスタファ
イル2と、レジスタファイル2の各レジスタr0,r
1,r2,…,rnに1対1に対応するステータスレジ
スタs0,s1,s2,…,snで構成され、演算のデ
スティネーションレジスタに対応するステータスレジス
タに演算ステータスを格納するようにした演算ステータ
ス保持手段3を備えている。
FIG. 1 is a block diagram of one embodiment of the present invention. An arithmetic error information holding device of an electronic computer according to this embodiment includes an arithmetic unit 1 capable of executing a pipeline arithmetic, and an arithmetic instruction. , And a register file 2 including registers r0 to rn to be used and registers r0 and r of the register file 2
1, r2,... Rn, each of which has a status register s0, s1, s2,..., Sn corresponding to a one-to-one correspondence, and stores a calculation status in a status register corresponding to a calculation destination register. A holding means 3 is provided.

【0016】また、この実施例の演算エラー情報保持装
置は、演算のデスティネーションレジスタ番号0,1,
2,…,nを保持していくためのレジスタdn0,dn
1.dn2,…,dn6から構成されるデスティネーシ
ョンレジスタ番号保持手段4を備えている。
Further, the operation error information holding device of this embodiment has the operation destination register numbers 0, 1,
Registers dn0 and dn for holding 2,..., N
1. dn6, dn2,... dn6.

【0017】このデスティネーションレジスタ番号保持
手段4は、演算エラー割込みを伴うエラーが発生する
と、その時点から、それまでにフェッチ済みの複数の命
令がすべて完了するまでの間、演算結果をレジスタファ
イル2に書き戻すライトバックを行なうたびに、レジス
タdn0からdn6までに対して順に、ライトバックさ
れたレジスタの番号を保存していく。
When an error accompanied by an operation error interrupt occurs, the destination register number holding means 4 stores the operation result in the register file 2 until the completion of all the plurality of instructions fetched up to that point. Each time write-back is performed, the numbers of the written-back registers are stored in the registers dn0 to dn6 in order.

【0018】なお、図示実施例では、このデスティネー
ションレジスタ番号保持手段4は0〜6までの7個で構
成されているが、一般には、この個数を後述するように
図2に示すようにして決定する。すなわち、本レジスタ
の個数は、演算エラー割込みを伴うエラー発生時点から
それまでにフェッチされたすべての命令が完了するまで
間に、ライトバックを迎え得る命令の最大数とする。
In the illustrated embodiment, the destination register number holding means 4 is composed of seven from 0 to 6, but this number is generally determined as shown in FIG. decide. That is, the number of registers is the maximum number of instructions that can be written back from the time of occurrence of an error accompanied by an operation error interrupt to the completion of all instructions fetched so far.

【0019】また、レジスタdn0,dn1,…,dn
6のそれぞれは、同時に命令パイプライン中のライトバ
ックステージを迎え得る演算命令数の最大個数分のレジ
スタ番号フィールドで構成する。そして、その最大個数
分の演算命令が同時にライトバックステージを迎えて
も、それらのデスティネーションレジスタの番号はすべ
て同時にレジスタdn0,dn1,…,dn6のいずれ
か1つのレジスタに保持される。一般に、この最大個
数、すなわち個々のデスティネーションレジスタ番号保
持用レジスタ内のレジスタ番号フィールドの数は、演算
器1の個数分に等しくなる。
The registers dn0, dn1,..., Dn
Each of Nos. 6 includes register number fields for the maximum number of operation instructions that can simultaneously reach the write-back stage in the instruction pipeline. Then, even if the maximum number of operation instructions enter the write-back stage at the same time, all the numbers of the destination registers are simultaneously held in any one of the registers dn0, dn1,..., Dn6. In general, the maximum number, that is, the number of register number fields in each destination register number holding register is equal to the number of arithmetic units 1.

【0020】さらに、この実施例の演算エラー情報保持
装置は、演算ステータスをその演算のデスティネーショ
ンレジスタに対応する演算ステータス保持手段3内のレ
ジスタs0,s1,s2,…,snにセーブしていき、
演算割込みを伴うエラーが発生し、演算ステータスなど
によって演算エラー検出がなされると、演算結果として
書き戻されるレジスタの番号をデスティネーションレジ
スタ番号保持手段4内のレジスタdn0,dn1,…,
dn6へ順次、記録していく制御装置5を備えている。
Further, the operation error information holding device of this embodiment saves the operation status in the registers s0, s1, s2,..., Sn in the operation status holding means 3 corresponding to the destination register of the operation. ,
When an error accompanied by an operation interrupt occurs and an operation error is detected based on the operation status or the like, the number of the register to be written back as the operation result is stored in the registers dn0, dn1,.
The control device 5 sequentially records data to the dn 6.

【0021】次に、上記の構成の電子計算機の演算エラ
ー情報保持装置の動作について説明する。
Next, the operation of the operation error information holding device of the electronic computer having the above configuration will be described.

【0022】電子計算機は図2に示すようにパイプライ
ン方式で命令を処理していき、その命令パイプラインは
フェッチ(F)、デコード(D)、実行(E)、ライト
バック(W)の4ステージから構成され、演算器1はパ
イプライン演算を行なうことができ、演算エラーはライ
トバックステージのみ発生するものとし、図1の実施例
では、演算エラーが発生した時点までにフェッチ済みの
命令がすべて完了するまでの間に起こり得る演算結果の
最大ライトバック回数を7回として、以下、この実施例
の動作を説明する。
The computer processes instructions in a pipeline manner as shown in FIG. 2, and the instruction pipeline is composed of fetch (F), decode (D), execution (E), and write-back (W). The operation unit 1 is capable of performing a pipeline operation, and an operation error occurs only in the write-back stage. In the embodiment of FIG. 1, the instruction fetched by the time the operation error occurs The operation of this embodiment will be described below, assuming that the maximum number of write-backs of the operation result that can occur until all the operations are completed is seven.

【0023】演算のライトバックステージでは、毎回、
そのライトバック対象レジスタ、すなわち、その演算の
デスティネーションレジスタr0,r1,r2,…,r
nに対応するステータス保持用レジスタs0,s1,s
2,…,snのいずれかに、その演算ステータスを制御
装置5によって書き込む。
In the write back stage of the operation,
The write-back target registers, that is, the destination registers r0, r1, r2,.
n, the status holding registers s0, s1, s
The control status is written by the control device 5 to any of 2, 2,..., Sn.

【0024】ここで、演算エラー割込みを伴うエラーが
発生した場合、図2に示すように、まずそのデスティネ
ーションレジスタ番号を制御装置5の機構によってデス
ティネーションレジスタ番号保持手段4のうちのレジス
タdn0に書き込む。
When an error accompanied by an arithmetic error interrupt occurs, the destination register number is first stored in the register dn0 of the destination register number holding means 4 by the mechanism of the control device 5, as shown in FIG. Write.

【0025】その後、パイプライン演算する場合に、割
込みからの復帰後、矛盾なく動作を継続させるために新
たな命令フェッチを中止し、ここまでにフェッチされて
いる命令をすべて完了させてから割り込む。その間、そ
れらの命令のうち、演算命令がライトバックサイクルを
迎えるごとに、図2に示すように、上記と同じようにし
てステータスレジスタ保持手段3を構成するステータス
レジスタs0〜snのうち、演算のデスティネーション
レジスタ、すなわちライトバック対象レジスタに対応す
るレジスタに演算ステータスを書き込み、同デスティネ
ーションレジスタの番号をデスティネーションレジスタ
番号保持手段4のレジスタdn1〜dn6に書き込んで
いく。
After that, when performing a pipeline operation, after returning from the interrupt, fetching of a new instruction is stopped in order to continue the operation without inconsistency, and interrupt is performed after all instructions fetched so far are completed. In the meantime, each time the operation instruction of the instruction enters a write-back cycle, as shown in FIG. 2, the operation of the status registers s0 to sn constituting the status register holding means 3 is performed in the same manner as described above. The operation status is written to the destination register, that is, the register corresponding to the write-back target register, and the number of the destination register is written to the registers dn1 to dn6 of the destination register number holding means 4.

【0026】この結果、演算エラー割込み発生時、その
原因となった演算のデスティネーションレジスタ番号を
デスティネーションレジスタ番号保持手段4のレジスタ
dn0に格納されている情報から直接知ることができ、
その演算ステータスも同時に知ることができる。
As a result, when an operation error interrupt occurs, the destination register number of the operation that caused the interrupt can be directly known from the information stored in the register dn0 of the destination register number holding means 4.
The operation status can be known at the same time.

【0027】さらに、デスティネーションレジスタ番号
保持手段4のレジスタdn1〜dn6に格納されている
情報から、演算エラー発生から割込み発生までの間に実
行されたすべての演算命令について、その終了順序およ
びそれらの命令のデスティネーションレジスタ番号を知
ることができる。また、それらの演算でもエラーが発生
していないかどうか、エラーが発生している場合にはそ
の演算ステータスも、最初の演算ステータスと同様、対
応する演算ステータス保持手段3のステータスレジスタ
によって知ることができる。
Further, based on the information stored in the registers dn1 to dn6 of the destination register number holding means 4, for all the operation instructions executed from the time of the occurrence of the operation error to the time of the occurrence of the interrupt, the ending order and the termination order thereof are obtained. The destination register number of the instruction can be known. In addition, whether or not an error has occurred in these calculations, and if an error has occurred, the status of the calculation can be known from the status register of the corresponding calculation status holding unit 3 as in the first calculation status. it can.

【0028】以上のようにして、パイプライン演算実行
時の演算エラー情報を正確に取得でき、高速性能を犠牲
にすることなく、エラーリカバリーの可能性を大幅に向
上させることができるようになる。
As described above, operation error information at the time of execution of a pipeline operation can be accurately obtained, and the possibility of error recovery can be greatly improved without sacrificing high-speed performance.

【0029】なお、この発明は上記の実施例に限定され
ることなく、パイプライン演算を行なう電子計算機一般
に広く応用することができる。
The present invention is not limited to the above embodiment, but can be widely applied to general electronic computers that perform pipeline operations.

【0030】[0030]

【発明の効果】以上のようにこの発明によれば、演算ス
テータス保持制御手段によって各演算の完了ごとにその
演算ステータスを対応する番号の演算ステータスレジス
タに保持させ、デスティネーションレジスタ番号保持制
御手段によって、演算エラー割込みを伴うエラーの発生
時に、その割込みを遅延させ、その間のすべての演算の
デスティネーションレジスタ番号をそれらの演算が完了
するごとに順次、デスティネーションレジスタ番号保持
手段に保持していくようにしているため、演算エラー発
生時には、エラーの発生した演算命令のデスティネーシ
ョンレジスタをデスティネーションレジスタ番号保持手
段によって直接知ることができ、また、このデスティネ
ーションレジスタ番号保持手段に保持されている演算命
令の演算ステータスをデスティネーションレジスタに対
応する演算ステータス保持手段によって知ることがで
き、さらには、演算エラー発生から割込み発生までの間
の演算の有無や、演算があった場合にそれらの完了順序
やそれらにも演算エラーが発生したか否かをも知ること
ができ、性能を犠牲にすることなく、演算エラーに対す
るリカバリーの可能性を高めることができる。
As described above, according to the present invention, each time an operation is completed, the operation status is held in the operation status register of the corresponding number by the operation status holding control means. When an error accompanied by an operation error interrupt occurs, the interruption is delayed, and the destination register numbers of all the operations during the operation are sequentially stored in the destination register number holding means each time the operation is completed. Therefore, when an operation error occurs, the destination register of the operation instruction in which the error occurred can be directly known by the destination register number holding means, and the operation instruction held in the destination register number holding means can be obtained. The calculation stator Can be known by the operation status holding means corresponding to the destination register. In addition, the presence / absence of the operation from the occurrence of the operation error to the occurrence of the interrupt, the completion order of the operation if any, and the operation It is also possible to know whether or not an error has occurred, and it is possible to increase the possibility of recovery from an operation error without sacrificing performance.

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

【図1】この発明の一実施例のブロック図。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】上記実施例の動作を説明する説明図。FIG. 2 is an explanatory diagram for explaining the operation of the embodiment.

【図3】一般的なパイプライン演算動作を説明する説明
図。
FIG. 3 is an explanatory diagram illustrating a general pipeline operation operation.

【図4】従来例のブロック図。FIG. 4 is a block diagram of a conventional example.

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

1 演算器 2 レジスタファイル 3 演算ステータス保持手段 4 デスティネーションレジスタ番号保持手段 5 制御装置 r0,r1,r2,…,rn レジスタ s0,s1,s2,…,sn 演算ステータスレジスタ dn0,dn1,dn2,…,dn6 デスティネーシ
ョンレジスタ番号レジスタ
Reference Signs List 1 arithmetic unit 2 register file 3 arithmetic status holding means 4 destination register number holding means 5 controller r0, r1, r2, ..., rn registers s0, s1, s2, ..., sn arithmetic status registers dn0, dn1, dn2, ... , Dn6 Destination register number register

───────────────────────────────────────────────────── フロントページの続き (72)発明者 内堀 郁夫 東京都府中市東芝町1番地 株式会社東 芝 府中工場内 (56)参考文献 特開 平5−143338(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 9/38──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Ikuo Uchibori 1 Toshiba-cho, Fuchu-shi, Tokyo Toshiba Corporation Fuchu Plant (56) References JP-A-5-143338 (JP, A) (58) Field (Int.Cl. 6 , DB name) G06F 9/38

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パイプライン演算を行なう電子計算機の
演算エラー情報保持装置において、 演算命令のデスティネーションオペランドとして指定可
能な複数のレジスタ毎に設けられた演算ステータスレジ
スタと、 演算命令のデスティネーションレジスタの番号を複数個
保持することができるデスティネーションレジスタ番号
保持手段と、 演算の完了毎にその演算結果を保持する前記レジスタに
対応する前記演算ステータスを保持させる演算ステータ
ス保持制御手段と、 演算エラー発生時より、演算エラー割込みの発生時まで
に実行される全ての演算に対し、演算が完了する毎に順
次、デスティネーションレジスタ番号を前記デスティネ
ーションレジスタ番号保持手段に保持させるデスティネ
ーションレジスタ番号保持手段とを備えて成る電子計算
機の演算エラー情報保持装置。
1. An operation error information holding device for an electronic computer that performs a pipeline operation, comprising: an operation status register provided for each of a plurality of registers that can be specified as a destination operand of the operation instruction; A destination register number holding means capable of holding a plurality of numbers; an operation status holding control means for holding the operation status corresponding to the register for holding the operation result each time an operation is completed; Thus, for all the operations executed until the occurrence of the operation error interrupt, the destination register number holding means for holding the destination register number in the destination register number holding means sequentially every time the operation is completed. Electricity provided Calculating the error information storage device of the computer.
JP3199541A 1991-08-08 1991-08-08 Computer error information storage device for computer Expired - Fee Related JP2793386B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3199541A JP2793386B2 (en) 1991-08-08 1991-08-08 Computer error information storage device for computer
US07/926,174 US5283891A (en) 1991-08-08 1992-08-07 Error information saving apparatus of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3199541A JP2793386B2 (en) 1991-08-08 1991-08-08 Computer error information storage device for computer

Publications (2)

Publication Number Publication Date
JPH0546390A JPH0546390A (en) 1993-02-26
JP2793386B2 true JP2793386B2 (en) 1998-09-03

Family

ID=16409544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3199541A Expired - Fee Related JP2793386B2 (en) 1991-08-08 1991-08-08 Computer error information storage device for computer

Country Status (1)

Country Link
JP (1) JP2793386B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5398330A (en) 1992-03-05 1995-03-14 Seiko Epson Corporation Register file backup queue

Also Published As

Publication number Publication date
JPH0546390A (en) 1993-02-26

Similar Documents

Publication Publication Date Title
US5003462A (en) Apparatus and method for implementing precise interrupts on a pipelined processor with multiple functional units with separate address translation interrupt means
EP0423906B1 (en) Method of and apparatus for nullifying an instruction
US5694617A (en) System for prioritizing quiesce requests and recovering from a quiescent state in a multiprocessing system with a milli-mode operation
EP0372751B1 (en) Pipelined data-processing apparatus
JPH05303492A (en) Data processor
JPS61109147A (en) Data processor
KR20030019451A (en) Mechanism For Delivering Precise Exceptions In An Out-Of-Order Processor With Speculative Execution
CN108694094B (en) Apparatus and method for handling memory access operations
CN111133418A (en) Allowing non-aborted transactions after an exception mask update instruction
JP3338488B2 (en) Data processing device verification method and device
US6820216B2 (en) Method and apparatus for accelerating fault handling
US6711670B1 (en) System and method for detecting data hazards within an instruction group of a compiled computer program
US5283891A (en) Error information saving apparatus of computer
JPH07141176A (en) Command retrial control system
JP2793386B2 (en) Computer error information storage device for computer
JPH1196006A (en) Information processor
EP0212132A1 (en) Method and digital computer for recovering from errors
US6651164B1 (en) System and method for detecting an erroneous data hazard between instructions of an instruction group and resulting from a compiler grouping error
US5673391A (en) Hardware retry trap for millicoded processor
JP2793396B2 (en) Computer status holding device
JPH1049373A (en) Method and device for operating multiplex and highly accurate event for pipeline digital processor
JP2000029702A (en) Computer processor
JP2783285B2 (en) Information processing device
EP0655686B1 (en) Retry control method and device for control processor
JP2824484B2 (en) Pipeline processing computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees