JPS58114252A - Data processor - Google Patents

Data processor

Info

Publication number
JPS58114252A
JPS58114252A JP56214137A JP21413781A JPS58114252A JP S58114252 A JPS58114252 A JP S58114252A JP 56214137 A JP56214137 A JP 56214137A JP 21413781 A JP21413781 A JP 21413781A JP S58114252 A JPS58114252 A JP S58114252A
Authority
JP
Japan
Prior art keywords
instruction
save
register
control device
data
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
Application number
JP56214137A
Other languages
Japanese (ja)
Inventor
Yoshiaki Tsuda
津田 芳明
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56214137A priority Critical patent/JPS58114252A/en
Publication of JPS58114252A publication Critical patent/JPS58114252A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To execute retrial of an instruction without dropping the performance, by saving a data each time when reading out the data from a main storage device, and saving the original contents only once when writing in a register. CONSTITUTION:An information processor provides a main storage device 1 of large capacity for storing an instruction and an operand data, a buffer storage device 2 of a high speed and comparatively small capacity, an instruction controller 3 for decoding the instruction and executing an advance control of the instruction, an execution controller 4 for executing the instruction, a saving and recovery controller 5, and a saving device 6 for saving a normal state in the course of executing the instruction. After a check point has been set, when reading out a data from the main storage device 1, the data is saved in the saving device 6 each time, and when writing in registers 41-44, the original contents are saved in the saving device 6 only once, and when an abnormal state has been detected, the saved contents are reset to the main storage device 1 or the registers 41-44.

Description

【発明の詳細な説明】 本発哨は再試行方式を用いたデータ処理装置、名らに詳
しくいえばハードウェアの間歇故障時、複数の命令に遡
りて命令を再実行するデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing apparatus using a retry method, and more specifically, to a data processing apparatus that re-executes a plurality of instructions in the event of an intermittent hardware failure.

情報処理システムの高信頼化の問題は・常に情報処理装
置設計の重要なI標となっている。情報処llンステム
O高信II1度設計にはでき石だけ誤)発生要因を除去
する設計方法と、誤)が発生してもそのw4シによる影
響を最小限に留める設計方法がある。後者の設計方法の
1つに処理手段の処理実行中に誤pを検出し処理を継続
でlitい時に1回ないし複数1骸処理を再実行する再
試行技術がある。この再試行はWApの多くが一時的な
もので再試行することによシ救済されるWApが多いこ
とから、近年の情報処理システムでは重要視されている
技術である。
The issue of increasing the reliability of information processing systems has always been an important issue in the design of information processing equipment. In the design of information processing systems, there are two types of design methods: one that eliminates the factors that cause errors to occur, and the other that minimizes the impact of errors even if they occur. One of the latter design methods includes a retry technique in which an error p is detected during processing by the processing means, and when it is too late to continue the processing, re-execute the one-dead processing once or multiple times. This retry is a technique that has become important in recent information processing systems because many WAp are temporary and many WAp can be saved by retrying.

しかしながら、再試行は誤)発生時にむやみに行なうこ
とはできず処理実行前のハードウェア状11に戻せる場
合にだ妙可能である。したがって、再試行の設計では再
試行できる割合、すなわち再試行可能率を向上させる仁
とが重要となる。
However, retrying cannot be done indiscriminately when an error occurs; it is only possible if the hardware state 11 can be returned to the state before the processing was executed. Therefore, in retry design, the rate at which retries can be performed, that is, the ability to improve the retry possibility rate, is important.

従来、再試行可能率を向上させる手段として、命令の処
理開始前に必要なレジスタあるいはメモリ内容を退避す
る方法、あるいはハードウェアの状態変化を命令処理t
イクル中のできるだけ後段で行なう方法等が採られてい
え。しかるに、従来実施されてきた再試行可能率向上化
の手段Fi1つO命令に閉じて行なうえめに自ずから限
界がありえ、すなわち、命令サイクル中にノ・−ドウエ
アの状態を変化させてしまつ死後のWApに対しては、
ハードウェアを元の状11に回復できないことから再試
行がll!膣できない七いう欠点があつ九。
Conventionally, as a means to improve the retry possibility rate, there has been a method of saving necessary registers or memory contents before starting processing of an instruction, or a method of saving the contents of necessary registers or memory before starting processing of an instruction, or a method of changing the state of the hardware to
A method such as doing it as late as possible during the cycle should be adopted. However, conventional means of improving the retryability rate are limited to only one instruction, and there are inherent limitations. For WAp,
Retry is required because the hardware cannot be restored to its original state! I have the disadvantage of not being able to vagina.

前記欠点を解決すゐ一方法として、最近複数命令にわた
って再試行できる技術が提案されている。
As a way to solve the above-mentioned drawbacks, a technique has recently been proposed that allows retrying multiple instructions.

特公昭&3−111111、発明の名称覧データ処理シ
ステムIK示されていゐシステムは主記憶装置への書込
みに先立って元の内容を退避し、llb発生時に退避し
た内容で元の状態に戻して再試行するもので、従来技術
の欠点を除去した優れえ技術を有している。上記特許は
主記憶装置の元の内容を退mfるのにストアインバッフ
ァ方式緩衝記憶装置(上記特許では小容量高速記憶装置
と呼んでいる)O特徴を利用しえものである。すなわち
、主記憶装置にデータを書込むIIK、必ず主記憶装置
の元のデータを緩衝記憶装置に取込んでから緩衝記憶装
置だけに書込むというストアインバッファ方式を利用し
たものである。
Patent Publication No. 3-111111, Name List of Invention Data Processing System IK The system shown saves the original contents before writing to the main memory, and when llb occurs, returns to the original state with the saved contents and restarts. This is a trial version and has superior technology that eliminates the drawbacks of conventional technology. The above patent allows for the use of the store-in-buffer storage (referred to as small capacity high speed storage in the above patent) feature to retire the original contents of main memory. That is, IIK uses a store-in buffer method in which data is written to the main memory without fail, in which the original data in the main memory is taken into the buffer memory and then written only to the buffer memory.

したがって、前記特許はストアインバッファ方式の緩衝
記憶装置を有する情報処理装置だけしか適用で畷ず、他
の方式であるストアスル一方式、すなわちデータの書込
み緩衝記憶装置に該当データがを込まれていれば緩衝記
憶装置と主記憶装置に書込み、取込まれていなければ主
記憶装置だけに書込むという方式を採用している情報処
理装置には適用できないという欠点があった。
Therefore, the above-mentioned patent is applicable only to an information processing device having a store-in buffer type buffer storage device, and is applicable only to an information processing device having a store-in buffer type buffer storage device. For example, it has a drawback that it cannot be applied to an information processing apparatus that employs a method in which data is written to a buffer storage device and a main memory device, and if it is not loaded, it is written only to the main memory device.

さらに前記特許は緩衝記憶装置を有しない情報処理装置
Kti大幅な性能低下を招くという理由で適用できない
という欠点があった。
Furthermore, the above-mentioned patent has the disadvantage that it cannot be applied because the information processing apparatus Kti, which does not have a buffer storage device, suffers from a significant drop in performance.

一方、ストアインバッファ方式は前に説明したように緩
衝記憶装置の内容と主記憶装置の内容に不一致が生じる
方式であるため緩衝記憶装置に固定的な故障が発生した
際、緩衝記憶装置の一部または全てを切離して縮退運転
できずシステムダウンとなる別の信頼度上の欠点を持っ
ている。これに反して、ストアスル一方式は常に緩衝記
憶装置上主記憶装置の内容が一部しているため緩衝記憶
装置に固定故障があってもシステムダウンさせずに纏退
這転で暑、ストアインノ(ツファ方式よ〕信麺度上優れ
た利点を有している。
On the other hand, as explained earlier, in the store-in buffer method, there is a mismatch between the contents of the buffer storage device and the contents of the main storage device, so when a permanent failure occurs in the buffer storage device, the buffer storage device is It has another drawback in terms of reliability, as it is not possible to disconnect part or all of it for degenerate operation, resulting in system failure. On the other hand, with the store-through type, the contents of the main memory are always partially stored on the buffer storage, so even if there is a fixed failure in the buffer storage, the system will not go down and the storage system will be overheated. [Tshwa method] has superior advantages in terms of authenticity.

本発明の目的は、主記憶装置に書込む際に元の内容を退
避するという方法を採らず、主記憶装置から読出した時
にその内容を退避するという方法を採ることにより前記
欠点を除去したデータ処理装置を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks from data by saving the original content when reading it from the main memory, instead of saving the original content when writing to the main memory. The purpose of this invention is to provide a processing device.

さらに詳しくいえばストアインバッファ方式だけでなく
ストアスル一方式の緩衝記憶装置を有する情報処理装置
でも複数命令にわたって高再試行可能率の再試行を可能
にしたデータ処m装置を提供することにある。また、緩
衝記憶装置を有しない情報処理装置でも性能を°落すこ
となく再試行を可能にしたデータ処理装置を提供するこ
とにある。
More specifically, it is an object of the present invention to provide a data processing device that enables retrying with a high retryability rate over a plurality of instructions even in an information processing device having a buffer storage device of not only a store-in buffer type but also a store-through type. Another object of the present invention is to provide a data processing device that allows retrying without degrading performance even in an information processing device that does not have a buffer storage device.

前記目的を達成するために本発明によるデータ部層装置
は、命令とオペランドデータを記憶する記憶装置と、命
令アドレスカウンタと命令デコーダを含み、前記記憶装
置に接続された命令制御装置と、前記命令制御装置に応
答し、かつ前記記憶装置のオペランドデータを読出しま
たは書込みを行なうために前記記憶装置と接続され命令
の実行に必要な複数のレジスタを含む実行制御装置と、
前記記憶装置と前記命令制御装置と前記実行制御装置に
関係して設けられ、命令の処理中に複数の正規状態を指
示する正規状態指示装置と複数の異常状態を検出する異
常状態検出装置とを含む正規状態指示および異常状態検
出装置と、前記記憶装置との間で転送路を有する退避記
憶装置と、前記実行制御装置に含まれる複数のレジスタ
との間で転送路を有する退避レジスタと、前記命令アド
レスカウンタとの間で転送路を有する退避命令アドレス
カウンタと、前記正規状態指示装置によって任意の正規
状態が指示され、かつその指示の際にデコードされてい
た最後の命令の実行が完了され九ことに応答して、前記
最後の命令の次の命令を拓示する前記命令アドレスカウ
ンタの内容を前記退避命令アドレスカウンタに転送させ
るチェックポイント装置と、前記状の命令以後に、前記
記憶装置からオペランドデータを読出す時にこのオペラ
ンドデータを前記退避記憶装置へ転送する記憶退避制御
装置と、炉記次の命令以後に、前記奥行制御@曾に含ま
れるレジスタに書込みが行なわれゐ時にこのレジスタの
元の内容を前記退避レジスタへ転送するレジスタ退避制
御装置と、前記異常枦出装曾によって任意の異常状態が
検出されたことに応答して、前記退避命令アドレスカウ
ンタの内容を前記命令アドレスカウンタへ逆転送すると
ともに、前記退避レジスタの内容を前記集行制装置曹に
含まれるレジスタに逆転送し、かつ前記退避記憶の内容
を前配配憶装電に逆転送させる回復制御装置と、前記異
常状態検出装置によって任意の異常状態が検出されたこ
とに応答して前記回復装置の動作が完了するまで、また
は前記正規状態指示装置によって任意の正規状態が指示
されたことに応答して、そのIIにデコードされていえ
最後の命令の奥行が完了され、かつ前記チェックポイン
ト装置の動作が完了されるまで、前記命令制御装置O動
作を禁止する装置とから構成されている。
To achieve the above object, a data unit layer device according to the present invention includes a storage device for storing instructions and operand data, an instruction address counter and an instruction decoder, an instruction control device connected to the storage device, and an instruction control device connected to the storage device; an execution control device that is responsive to the control device and that is connected to the storage device to read or write operand data in the storage device and includes a plurality of registers necessary for executing instructions;
A normal state indicating device that is provided in relation to the storage device, the instruction control device, and the execution control device, and that indicates a plurality of normal states during processing of an instruction, and an abnormal state detection device that detects a plurality of abnormal states. a normal state instruction and abnormal state detection device including a normal state instruction and abnormal state detection device; a save storage device having a transfer path between the storage device; a save register having a transfer path between a plurality of registers included in the execution control device; An arbitrary normal state is indicated by the save instruction address counter having a transfer path between the instruction address counter and the normal state indicating device, and execution of the last instruction being decoded at the time of the instruction is completed. In response to this, a checkpoint device transfers the contents of the instruction address counter indicating an instruction next to the last instruction to the save instruction address counter, and after the above instruction, the contents of the instruction address counter are transferred from the storage device to A memory evacuation control device that transfers this operand data to the evacuation storage device when reading data; and a memory evacuation control device that transfers this operand data to the evacuation storage device when reading data; a register save control device that transfers the contents of the save instruction address counter to the save register; and a register save control device that transfers the contents of the save instruction address counter to the instruction address counter in response to any abnormal condition being detected by the abnormality register. a recovery control device that also reversely transfers the contents of the save register to a register included in the concentration control device and reversely transfers the contents of the save memory to the predistribution storage device; until the operation of the recovery device is completed in response to any abnormal condition being detected by the detection device or in response to any normal condition being indicated by the normal condition indicating device. and a device for inhibiting the operation of the instruction control device O until the depth of the last instruction that has been decoded is completed and the operation of the checkpoint device is completed.

本発明は主記憶装置からデータを読出す際はそ0@[1
mデータを退避し、レジスタに書込む際は一度だけ元の
内容を退避しておけば、その後に主記憶装置上の前記デ
ータや前記レジスタに書込みが行なわれても元の内容に
回復で自るという原理に基づいている。本原理を図面を
参照して貌明する。
In the present invention, when reading data from the main memory,
If you save the m data and write it to the register, you can save the original content only once, and even if the data on the main memory or the register is written afterwards, the original content will be restored automatically. It is based on the principle that The present principle will be explained with reference to the drawings.

第1図は2つの命令シーケンスを示した図で、レジスタ
t−R1,R2,・−・、゛主記憶装置上のオペランド
データをOPI、OF2.  ・・・と表わし、a1〜
a3.i*1〜bsがそれぞれ1つの命令を示している
。第1図(a)、(b)はまた命令シーケンスの実行前
のオペランドデータOP1、OF2.OF2.OF2が
それぞれ値112゜3.4、レジスタR1,R2,R3
,R4の内容がそれぞれ値1,2,3.4とした場合の
各命令実行時の各オペランドデータ、各レジスタの内容
を示している。第1図C&)を参照すると各命令の実行
でオペランドデータを読出す都度オペランドデータを退
避、すなわち命令a1ではOPl (値l)、命令a2
ではOPl (値3)と0P4(値4)、命令a3では
0P3(値7)を退避してシけば、命令m5Dl[行中
の異常状態検出時に退避しえオペランドデータを逆に主
記憶装置に還元すなわち、0P3(値7)→0P4(値
4)→0Ps(値1)−+0P1(値1)ノI[に主記
憶装置に書込むとオペランドデー−〇PI、OF!。
FIG. 1 is a diagram showing two instruction sequences, in which registers t-R1, R2, ..., operand data on the main memory are transferred to OPI, OF2, . ..., and a1~
a3. i*1 to bs each indicate one instruction. FIGS. 1(a) and 1(b) also show operand data OP1, OF2, . OF2. OF2 each has a value of 112°3.4, registers R1, R2, R3
, R4 have values of 1, 2, and 3.4, respectively, and the contents of each operand data and each register at the time of execution of each instruction are shown. Referring to FIG. 1 C&), each time the operand data is read in the execution of each instruction, the operand data is saved, that is, OPl (value l) for instruction a1,
Then, if we save OPl (value 3) and 0P4 (value 4) and 0P3 (value 7) for instruction a3, we can save operand data when an abnormal condition is detected in the instruction m5Dl [line]. That is, when 0P3 (value 7) → 0P4 (value 4) → 0Ps (value 1) - +0P1 (value 1) is written to the main memory, the operand data - 0PI, OF! .

OF2はそれぞれ値1,3.4となル命令a1から再実
行できることを示してい、ζこで、オペランドデータO
P2は値2に戻されずに再実行されるが動作上は問題が
ない、これはオペランドデータは読出すことなく単に書
込む場合は書込み帥の元の内容を退避し攻(ても嵐いこ
とを示している。
OF2 has values of 1 and 3.4, respectively, indicating that it can be re-executed from the instruction a1.
P2 is re-executed without being returned to the value 2, but there is no problem in operation.This is because if the operand data is simply written without being read, the original contents of the write command must be saved and the attack (even if it is dangerous). It shows.

第1図(nil)を参照すると、各命令の実行でレジス
タに書込む時−縦だけ退避、すなわち命令b1ではR2
(値り、命令b2ではR3(値3)を退避しておけば命
令bsの実行中の異常状態検出時に退避しえレジスタ内
容で回復、すなわちR2゜R3を値!、3に戻すと命令
b1から再実行で自ることを示している1図面を参照し
て2つの例を用いて原聰を説明しえが、オペランドデー
タとレジスタ間O演算命令中その他の命令シーケンスで
4上起原理で良いことは明らかである。
Referring to FIG. 1 (nil), when writing to the register in the execution of each instruction - only the vertical is saved, that is, in the instruction b1, R2
(If R3 (value 3) is saved in the instruction b2, it can be saved when an abnormal condition is detected during the execution of the instruction bs, and restored with the contents of the register, that is, if R2°R3 is returned to the value !, 3, the instruction b1 1. I will explain Soo Hara using two examples with reference to the drawings that show that re-execution is possible from 1 to 4. The good news is obvious.

次に、本発明を奥施舛を示す図面を参照して説明する。Next, the present invention will be explained with reference to the drawings showing the back cover.

第2図は本発明を用いた情報処理装置を図示したもので
あ〕、命令とオペランドデータを格納する大容量の主記
憶装置1と、高速か一つ比較的小容量の緩衝記憶装置2
と、命令をデコードし命令の先取如制御を行なう命令制
御装置3と、命令を実行する実行制御装置4と、本発明
の主要な位置を占める退避回復制御装置5と、命令実行
中の正規状態を退避する退避装置・とを含む。
FIG. 2 illustrates an information processing apparatus using the present invention, which includes a large-capacity main storage device 1 for storing instructions and operand data, and one high-speed or relatively small-capacity buffer storage device 2.
, an instruction control device 3 that decodes instructions and performs preemption control of instructions, an execution control device 4 that executes instructions, an evacuation and recovery control device 5 that occupies the main position of the present invention, and a normal state during instruction execution. and an evacuation device for evacuation.

緩衝記憶装置2は記憶部22とポインタ) IJ21と
を含み、主記憶装置1とデータ[1&#1bで接続され
、命令制御装置3および実行制御装置4とデータ112
m、2bで接続されている。
The buffer storage device 2 includes a storage unit 22 and a pointer) IJ 21, is connected to the main storage device 1 through data [1 &#1b, and is connected to the instruction control device 3 and the execution control device 4 and data 112.
m, connected by 2b.

命令制御装置3は命令先取pのために3エントリから成
る命令バッファ31と、次に実行すぺ龜111111h 命令の主記憶装置1上の位置を示す命令カウンタ3Sと
、図には示していないが命令をデコードすゐ命令デコー
ダとを含み、データllSmおよびT&を介して実行制
御装置4と接続されている。
The instruction control device 3 has an instruction buffer 31 consisting of three entries for instruction prefetch p, an instruction counter 3S indicating the location in the main memory device 1 of the next instruction to be executed 111111h, and an instruction counter 3S (not shown in the figure). It includes an instruction decoder for decoding instructions, and is connected to the execution control device 4 via data ILSm and T&.

実行制御装置4Fi各種演算に用いられる16個の汎用
レジスタ41と、オペランドデータアクセス時のアドレ
スに用いられる8個のベースレジスタ42と、科学演算
用の4個の科学演算レジスタ43と、各種演算時の例外
をマスクした夛演算結果のコンディジ曹ンコードを反映
するステータスレジスタ44と、図には示していないが
並列動作可能な複数の演算ユニットとを含む。各演算ユ
ニットはデータIHaおよび7mで転送されるデコード
された命令にしたがい上記各レジスタ41〜44および
主記憶装置1に存在するオペランドデータの処理を行な
う。
Execution control device 4Fi 16 general-purpose registers 41 used for various operations, 8 base registers 42 used for addresses when accessing operand data, 4 scientific operation registers 43 for scientific operations, It includes a status register 44 that reflects the condition code of the multi-operation result with exceptions masked, and a plurality of arithmetic units that can operate in parallel, although not shown in the figure. Each arithmetic unit processes operand data existing in each of the registers 41 to 44 and the main storage device 1 in accordance with the decoded instructions transferred by data IHa and 7m.

退避装置6Fi緩衝虻憶羨置2tたは主記憶装置1とデ
ータ#5・a、S(lを介してデータの退避1復を行な
う2s@エントリから威る主記憶退避バッファ6@と、
実行制御装置4の汎用レジスタ41とデーター51a、
Ilbを介してデータの遥遥a慣を行なう16エントリ
から成る汎用退避レジスタ61と、ベースレジスタ42
とデータ線52m、12bを介してデータの退避回復を
行なう8エントリから成るベース退避レジスタ62と、
科学演算レジスタ43とデータ線53 m、  53 
bを介してデータの退避回復を行なう4エントリかも成
る科学演算退避レジスタ@3と、ステータスレジスタ4
4とデータ線54&、54bを介してデータの退避回復
を行なうステータス退避レジスタ64と、命令制御装置
3の命令カウンタ3sとデータ1155a、SSbを介
してデータの退避回復を行なう命令カウンタ退避レジス
タ65とを含む、tた退避レジスタ111.@2.it
s、li4の各エントリには内容が退避されているか否
かを示す退避ビット11,1121.11$1. 64
1を含む、さらに退避装置6は主記憶退避バッファ60
にアクセスする際の主記憶退避バッファ60内エントリ
を指す退避バッファポインタ66とを含み、アドレスl
!6@aで指示する。退避バッファポインタ66は信号
I16・b、・lig、$@dを入力信号として持ち、
信号*sebによル過避バッファポインタ66の内容が
クリアされ、信号線66Cおよび6・dで内容が+1ま
たは−1される。
A main memory evacuation buffer 6@ which performs evacuation and restoration of data via the evacuation device 6Fi buffer storage 2t or main memory device 1 and data #5, a, and S(l),
General-purpose register 41 and data 51a of execution control device 4,
A general-purpose save register 61 consisting of 16 entries and a base register 42 for transferring data via Ilb.
and a base save register 62 consisting of eight entries for saving and restoring data via data lines 52m and 12b;
Scientific operation register 43 and data line 53 m, 53
A scientific operation save register @3 consisting of 4 entries and a status register 4 for saving and restoring data via
4 and data lines 54&, 54b, and a status save register 64 for saving and recovering data; and an instruction counter save register 65 for saving and recovering data via the instruction counter 3s and data 1155a and SSb of the instruction control device 3. A save register 111. @2. it
Each entry of s, li4 has save bits 11, 1121.11$1., which indicate whether the contents have been saved or not. 64
1, and the evacuation device 6 includes a main memory evacuation buffer 60.
and a save buffer pointer 66 pointing to the entry in the main memory save buffer 60 when accessing the address l.
! 6 Indicate with @a. The save buffer pointer 66 has signals I16.b, .lig, and $@d as input signals,
The contents of the evacuation buffer pointer 66 are cleared by the signal *seb, and the contents are incremented by +1 or -1 by the signal lines 66C and 6.d.

退避回復制御装置Sは命令制御装置13にある命令カウ
ンタ3Sまたは実行制御装置4にある各レジスタ41〜
44の内容を退避装置6へ退避を指示する退避指示信号
線■1と、逆に退避装置6から上記命令カウンタ3sま
たは各レジスタ41〜44に回復を指示する回復指示信
号@ssbと、実行制御装置4で保持している全ての命
令実行シーケンスの実行が完了したことを示す実行制御
装置4かもの実行完了信号II4!Imと、実行制御装
置4で主記憶装置1からのデータを読出したことを通知
する主記憶読出信号[ii4@mと、汎用レジJ#41
.ペースレジスタ42.科学演算レジスタ4sおよびス
テータスレジスタ44に書込みが行なわれえことを通知
すゐ汎用レジスタ書込信号1141m、ベースレジメー
書込信号纏42a、科学演算レジスタ書込信号纏43m
およびステータスレジスタ書込信号−44mと、ムND
回路SO〜Il、BTと、OR回回路口と、ゲートSo
f。
The save/recovery control device S includes the instruction counter 3S in the instruction control device 13 or the registers 41 to 41 in the execution control device 4.
44 to the saving device 6, a recovery instruction signal @ssb that instructs the instruction counter 3s or each register 41 to 44 to recover from the saving device 6, and an execution control line An execution completion signal II4 from the execution control device 4 indicating that execution of all instruction execution sequences held by the device 4 has been completed! Im, a main memory read signal [ii4@m, which notifies that the execution control device 4 has read data from the main memory 1, and a general-purpose register J#41.
.. Pace register 42. A general-purpose register write signal 1141m, a base regime write signal set 42a, and a scientific operation register write signal set 43m notify that writing can be performed to the scientific operation register 4s and the status register 44.
and status register write signal -44m,
Circuit SO~Il, BT, OR circuit port, gate So
f.

!i11,521,531,541,551&!び57
0゜571.572,573,574.r175とを含
む。
! i11,521,531,541,551&! 57
0°571.572,573,574. r175.

ANDlal路50は退避指示信号線■jと主記憶続出
信号線40mを入力に、信号線50Cを出力として持ち
、ゲート501は信号線Sotをゲート信号としてデー
タ線Setを制御する。
The ANDlal path 50 has the save instruction signal line ■j and the main memory continuous output signal line 40m as inputs, and has the signal line 50C as an output, and the gate 501 uses the signal line Sot as a gate signal to control the data line Set.

AND回路51,52,53,54r!一方の入力とし
て退避指示信号線5・aを持ち、他方の入力としてそれ
ぞれ各レジスタ書込信号11411142 &、  4
3 m、  44 mを持ち、出力としてそれぞれ信号
線51c、S2o、SSc、S4cを持つ。ゲート51
1,521,531,541は信号線51s、52c、
SS@、S4oをゲート信号としてデータ線5 l a
、  S 2 a、  S S a、  541を制御
する。AND回路55は退避指示信号線Seaと実行完
了信号1i145 aを入力に、信号線5!I@を出力
として持ち、信号@Seeは退避装置6の各退避レジス
タ61.If、IIS、li4の退避ビットfill、
Ill、111,841のタリアを指示する。ゲート5
s1は信号線S!@をゲート信号としてデータ線55m
を制御する。
AND circuits 51, 52, 53, 54r! It has a save instruction signal line 5/a as one input, and each register write signal 11411142 & 4 as the other input.
3 m and 44 m, and have signal lines 51c, S2o, SSc, and S4c as outputs, respectively. gate 51
1,521,531,541 are signal lines 51s, 52c,
Data line 5 l a with SS@ and S4o as gate signals
, S 2 a, S S a, 541. The AND circuit 55 receives the save instruction signal line Sea and the execution completion signal 1i145a as inputs, and receives the signal line 5! I@ as an output, and the signal @See is sent to each save register 61 . If, IIS, li4 save bit fill,
Ill, instruct Talia of 111,841. gate 5
s1 is the signal line S! Data line 55m with @ as gate signal
control.

ムND回路S7U回復指示信号*ssbと実行制御装置
4からの実行完了信号線45mを入力に、信号線s7C
を出力として持つ。デー)570゜571.572,5
73,574.57SU信号線57cをゲート信号とし
てそれぞれデータ線Sob、51b、S2b、53b、
S4b、55bを制御すゐ。OR回路56は退避指示信
号線Slaと回復指示信号1!S8bを入力に、信号線
Se@を出力として持つ。
The system ND circuit S7U recovery instruction signal *ssb and the execution completion signal line 45m from the execution control device 4 are input, and the signal line s7C
has as output. day) 570°571.572,5
73,574.57SU signal line 57c as a gate signal and data lines Sob, 51b, S2b, 53b,
Controls S4b and 55b. The OR circuit 56 outputs the save instruction signal line Sla and the recovery instruction signal 1! It has S8b as an input and the signal line Se@ as an output.

さらに第2図は、命令制御装置3からのデコードされた
命令を転送するデータ線3aおよび1bを信号@See
で制御する禁止回路7を含む。
Furthermore, in FIG. 2, the data lines 3a and 1b for transferring decoded instructions from the instruction control device 3 are
It includes an inhibition circuit 7 which is controlled by.

第3図は第2図の実行制御装置4の汎用レジクー410
周辺回路を詳細に示した図である。第3因KFi汎用レ
ジスタ41への書込データを保持する汎用書込データレ
ジスタ81と汎用レジスタ41からの読出データを保持
する汎用読出データレジスタ92と、書込時および読出
時の汎用レジスタ41内のエントリを示す汎用書込アド
レスレジスタ83および汎用読出アドレスレジスタ94
と、書込データおよび読出データを転送するデータ##
91mおよび92mと、書込および読出時の汎用レジス
タ41内エントリアドレスを転送するアドレス@SS畠
および14mと、汎用レジスタ41に対する書込(%l
りか読出(値%OI)かを示す信号!95mが示されて
いる。第3図には信号線85mが%11の時に汎用書込
アドレスレジスタs3の出力を汎用レジスタ41に与え
、%61の時に抑止させるゲート−5と信号1ssaが
11111C応答してアドレスasssの書込時の汎用
レジスタ41内エントリを示す書込アドレスを汎用読出
データレジスタs2に転送させるセレクタS6とが示さ
れていゐ。
FIG. 3 shows a general-purpose register 410 of the execution control device 4 in FIG.
FIG. 3 is a diagram showing peripheral circuits in detail. Third cause KFi A general-purpose write data register 81 that holds the data written to the general-purpose register 41, a general-purpose read data register 92 that holds the read data from the general-purpose register 41, and the general-purpose register 41 at the time of writing and reading. General purpose write address register 83 and general purpose read address register 94 indicating entries of
and data ## to transfer write data and read data.
91m and 92m, addresses @SS Hatake and 14m that transfer the entry address in the general-purpose register 41 during writing and reading, and writing to the general-purpose register 41 (%l
Signal indicating whether to read or read (value %OI)! 95m is shown. Figure 3 shows that when the signal line 85m is %11, the output of the general-purpose write address register s3 is given to the general-purpose register 41, and when the signal line 85m is %61, it is inhibited. A selector S6 is shown that transfers the write address indicating the entry in the general-purpose register 41 at the time to the general-purpose read data register s2.

以上の構成によシ本実施例の説明を行なう前に、緩衝記
憶装置2の動作について説明する0本実施例で用いてい
る緩衝記憶装置2はストアスル一方式が採用されている
。ストアスル一方5eFi主記憶装置1かも命令あるい
はオペランドデー−読出時緩衝記憶装置2の記憶部22
に読出データを敞込んだ後に命令制御装置3あるいは実
行制御装置4に転送し、その後骸轟データを読出す時は
主記憶装置1から胱出すことなく緩衝記憶装置2の記憶
部22から絖出す方式であシ、書込時は該当データが緩
衝記憶[12の記憶部22に存在すれば記憶部22と主
記憶装置1の両方に書込み、該当データが記憶部22に
なければ主記憶装置1だけに書込む方式である。ストア
スル一方式はストアインバッファ方式と対比して良く知
られた技術である。
Before explaining this embodiment with the above configuration, the operation of the buffer storage device 2 will be explained.The buffer storage device 2 used in this embodiment employs a store-through type. Store through 5eFi main memory 1 or instruction or operand data - memory section 22 of buffer memory 2 during reading
After reading the read data, it is transferred to the instruction control device 3 or the execution control device 4, and then when reading out the data, it is read out from the storage section 22 of the buffer storage device 2 without removing it from the main storage device 1. When writing, if the relevant data exists in the storage unit 22 of the buffer storage [12], it will be written to both the storage unit 22 and the main storage device 1, and if the relevant data is not in the storage unit 22, it will be written to the main storage device 1. This is a method of writing only to the The store-through method is a well-known technique in contrast to the store-in buffer method.

次に第2図を参照して複数命令にまえがる命令再試行に
ついて概略を説明する。本発明にしたがった複数命令の
命令再試行は、−第2図の情報処理装置の既知の正規状
態を設定し、再試行の必要が生じえ時に情報処理装置が
骸既知の正規状態へ復帰で自るようにすることである。
Next, an outline of instruction retry before multiple instructions will be explained with reference to FIG. Command retry of multiple instructions according to the present invention is achieved by: - setting a known normal state of the information processing device shown in FIG. It's about being able to help yourself.

こむで、既知の正規状態を設定する時点を以下チェック
ポイントと呼ぶ、チェックポイントは図には示していな
いが以下のようにして設定され、退避指示信号線■1で
退避回復制御装置5に通知される。
The time point at which a known normal state is set is hereinafter referred to as a checkpoint. Although the checkpoint is not shown in the figure, it is set as follows, and is notified to the evacuation recovery control device 5 via the evacuation instruction signal line ■1. be done.

(1,外部装置に対する起動命令実行時や外部装置から
の割込みがめった時点) 例えば外部装置には第2図に示していないが周辺装置が
ある。外部装置に附し起動命令を実行すると、外部装置
によって主記憶装置1のデータが変更されること勢があ
シ搏、以前に設定されているチェックポイントの状態へ
復帰できないことがある。また外部装置からの割込みは
命令実行とは非同期に発生するえめ、以前のチェックポ
イントから命令再試行しても動作は保証されないことが
ある。したがって、この場合新たにチェックポイントを
再設定する必要がある。
(1. When a startup command is executed for an external device or when an interrupt from an external device is rarely received) For example, the external device includes a peripheral device, which is not shown in FIG. When a startup command is attached to an external device and executed, the data in the main storage device 1 is likely to be changed by the external device, and it may not be possible to return to the previously set checkpoint state. Furthermore, since interrupts from external devices occur asynchronously with instruction execution, operation may not be guaranteed even if the instruction is retried from a previous checkpoint. Therefore, in this case, it is necessary to set a new checkpoint.

(2,主記憶退避バッファ60が満杯時)主記憶退避バ
ッファ60は本実施例では256エントリしかない。し
たがって、本バッファを越えて主記憶装置1内データを
退避することがで111にい丸め、f#たにチェックポ
イントを設定する必要がある。
(2. When the main memory save buffer 60 is full) The main memory save buffer 60 has only 256 entries in this embodiment. Therefore, it is necessary to save data in the main memory 1 beyond this buffer, rounding up to 111, and setting a checkpoint every f#.

(3,命令制御装置3が予じめ設定した値の数O命令を
デコードし走時) 上記ill、 1fll+の原因によるチェックポイン
ト設定がまれにしか生ぜず、チェックポイント相互間で
多数の合金が実行されると、回復および再試行に多大の
時間を必要とする。この問題を除去するため、以前のチ
ェックポイント設定時から一定数の命令をデコードし走
時に新たにチェックポイントを設定する。
(3. The instruction control device 3 decodes the preset value O instructions and runs) Checkpoint settings due to the causes of ill and 1fll+ described above occur only rarely, and a large number of alloys are set between checkpoints. Once executed, it requires a significant amount of time to recover and retry. To eliminate this problem, a certain number of instructions are decoded from the previous checkpoint setting and a new checkpoint is set at runtime.

チェックポイントで設定された正規状態への復帰する時
点、すなわち再試行が必要となるのは以下に示す異常が
発生した時であり、回復指示信号ill・bで退避回復
制御装置sに通知される。
The point at which the normal state set at the checkpoint is restored, that is, a retry is required, is when the following abnormality occurs, and the evacuation and recovery control device s is notified by the recovery instruction signal ill/b. .

(L 機械チェックを検出時) 各種障害によシ機械チェックが発生しえ場合、障害個所
摘出に必要な障害情報をログアウトし、システムをり竜
ツトした後に正規状態に復帰する。障害の多くは間歇的
であシ、再試行によル救済される確率が高いことによる
(L: When a machine check is detected) If a machine check may occur due to various failures, the system logs out the failure information necessary to identify the failure location, reboots the system, and then returns to the normal state. This is because most of the failures are intermittent and there is a high probability that they will be remedied by retrying.

(2,供給された命令の書替がなされ九時)命令制装置
f3が命令を先取p7エツチし、先行する命令が主記憶
装置1への書込みて該命令を書替え走時であシ、再度命
令ンエツチか必要となる。
(2, The supplied instruction is rewritten at 9 o'clock) The instruction control device f3 preemptively fetches the instruction p7, writes the preceding instruction to the main memory 1, rewrites the instruction, and rewrites the instruction at run time. Instructions and sex are required.

(3,周辺装置への起動に対する応答の推定線りを検出
し走時) 劉辺装置に約する起動命令実行時、周辺装置からの応答
を推定し、以後の命令を先取シ実行する。もし、起動命
令の実際の応答が推定した値と異なっていれば、前述し
たように起動命令実行時のチェックポイントから再実行
する必要がある。
(3. Detecting and running the estimated line of response to activation of peripheral device) When executing a startup command to the Liube device, the response from the peripheral device is estimated and subsequent commands are pre-emptively executed. If the actual response to the activation command differs from the estimated value, it is necessary to re-execute from the checkpoint at the time of execution of the activation command, as described above.

再び第2図と第3図を参照して本実施例の詳細を説明す
る。チェックポイントが設定されると退避指示信号線5
eat−%1’にして退避回復制御装置!5へ通知され
る。退避回復制卿装@Sは退避指示01号線51iaが
slgになるとOR回路56を介して信号線Secに%
11を供給し、禁止回路1で命令制御装置3からのデコ
ードされた命令の供給を禁止させるように作用する。後
続命令の供給が停止されると、実行制御装置4にある図
には示していないが複数の演算ユニットは以前に供給さ
れた命令による動作を完了するように動作し、全ての動
作が完了すると実行完了信号@45mを111にして、
再び退避回復制装置gt5へ通知される。退避1復制御
妓蓋SのムND回路55は、この時点で3つの入力、す
なわち退避指示信号線5@aと実行完了信号@ 45 
mが111となることから出力の信号線55sを11I
とする。信号1155gが’l’とeると、ゲー)55
1で命令カウンタ3sの内容をデータ線55mで退避装
置6の命令カウンタ退避レジスタIi5へ転送させると
ともに、退避装置にある汎用退避レジスタ61゜ベース
退避レジスタ62.科学演算退避レジスタ63の各エン
トリの退避ビット611,621゜631に一クリアし
、ステータスレジスタ64の退避ビット641をクリア
し、さらに退避バッファポインタ66をクリアする。
The details of this embodiment will be explained with reference to FIGS. 2 and 3 again. When a checkpoint is set, evacuation instruction signal line 5
Eat-%1' and evacuation recovery control device! 5 will be notified. The evacuation recovery control system @S sends % to the signal line Sec via the OR circuit 56 when the evacuation instruction line 01 51ia becomes slg.
11, and the prohibition circuit 1 acts to prohibit the supply of decoded instructions from the instruction control device 3. When the supply of subsequent instructions is stopped, the plurality of arithmetic units (not shown in the figure) in the execution control device 4 operate to complete the operations according to the previously supplied instructions, and when all operations are completed, Set the execution completion signal @45m to 111,
The evacuation and recovery control device gt5 is notified again. The ND circuit 55 of the evacuation 1 return control cover S receives three inputs at this point, namely the evacuation instruction signal line 5@a and the execution completion signal @45.
Since m is 111, the output signal line 55s is 11I.
shall be. When the signal 1155g is 'l' and e, game) 55
1 transfers the contents of the instruction counter 3s to the instruction counter save register Ii5 of the save device 6 via the data line 55m, and also transfers the contents of the instruction counter 3s to the instruction counter save register Ii5 of the save device 61 and the base save register 62. The save bits 611, 621, 631 of each entry of the scientific operation save register 63 are cleared, the save bit 641 of the status register 64 is cleared, and the save buffer pointer 66 is cleared.

チェックポイントの設定は信号@55Cの%11Kよる
上記動作がなされた時で完了する。チェックポイントの
設定が完了すると退避指示信号線56mおよび実行完了
信号線45mはともに%01となり、禁止回路1の命令
供給の禁止状態が解除され、再び命令制御装置3から実
行制御装置4−\デコードされた命令の供給が開始され
る。
The checkpoint setting is completed when the above operation by %11K of signal @55C is performed. When the checkpoint setting is completed, the evacuation instruction signal line 56m and the execution completion signal line 45m both become %01, the prohibition state of the instruction supply of the prohibition circuit 1 is canceled, and the instruction control device 3 again decodes the execution control device 4-\decode. The supplied instructions are started to be supplied.

次に、異常状態検出時にチェックポイントに復帰できる
ようにするための情報保存動作について説明する。実行
制御装置4は主記憶装置1に刻し読出動作を指示すると
主記憶読出信号線40mと退避指示信号156mを11
1にして退避回復制御装置Sへ通知する。退避回復制御
aSSのAND回路50は、入力の2つの信号線40a
、S@aが111であることから出力信号線50cを1
1Iにしてゲート501を開く、半記憶装置1からの読
出データは既に説明したように緩衝配憶装置2を介して
行なわれ、データ線2aで実行制御装置4に転送される
とともに、主記憶装置1に対する続出アドレス情報を付
加してデータ線Setにも送出される。データ!ms@
a上の読出データと読出アドレス情報はゲート501が
開かれているので退避装置6にある主記憶退避バッファ
60の退避バッファポインタ1i6で指示されたエント
リに格納される。主記憶退避バッファ60へ格納稜、退
避バッファポインタ66の内容は信号線@6C指示によ
シ+1される。
Next, a description will be given of an information storage operation for enabling return to a checkpoint when an abnormal state is detected. When the execution control device 4 instructs the main memory device 1 to perform a read operation, the main memory read signal line 40m and the evacuation instruction signal 156m are set to 11.
1 and notifies the evacuation and recovery control device S. The AND circuit 50 of the save and recovery control aSS has two input signal lines 40a.
, since S@a is 111, the output signal line 50c is set to 1.
1I and opens the gate 501. The read data from the semi-storage device 1 is performed via the buffer storage device 2 as already explained, and is transferred to the execution control device 4 via the data line 2a, and is also transferred to the main storage device. It is also sent to the data line Set with the subsequent address information for 1 added thereto. data! ms@
Since the gate 501 is open, the read data and read address information on a are stored in the entry indicated by the save buffer pointer 1i6 of the main memory save buffer 60 in the save device 6. The contents of the save buffer pointer 66 are incremented by 1 by the signal line @6C instruction.

まえ、実行制御装置4は汎用レジスタ41に書込む場合
、汎用レジスタ書込信号線41mと退避指示信号線5e
at%IIにする。退避回復制御装置2のAND回路s
1はこの3つの信号1i141”esfJ’&の%lI
に応答して出力信号線51ct%lIにしてゲート51
1を開く。ここで第3図を参照すると、汎用レジスタ4
10書込時、信号線15mが%Igとなり、アドレス線
113mを介して汎用レジスタ41内工/トリを示すア
ドレス情報が汎用書込アドレスレジヌタ■3に転送され
る。この時、信号線@saが% 1111C1にること
Kえ、□V’l fi S @えよ、ア4.い3゜。3
゜のアドレス情報が汎用読出アドレスレジスター4にも
転送され、汎用読出アドレスレジスタs4で示される汎
用レジスタ41のエントリ内容がデータ線S1mに送出
され、−tの後に汎用書込アドレスレジスタs3にした
がって汎用レジスタ41への書込動作が行なわれる。再
び第2図を参照すると、ゲート511は開かれた状態で
ある九め汎用レジスタ41への書込み曲の元の内容が退
避装置6へ転送され、汎用退避レジスタ61の対応する
エントリに格納され、図には示していないが同時に当該
エントリの退避ビット611が%11に設定される。な
お、既に轟咳エントリの退避ビットが%IIの場合は汎
用退避レジスタ61への格納は抑止される。実行制御装
置4がその他のレジスタ42,43.44に書込む場合
も元の内容がそれぞれ退避装置6の各退避レジスタ62
,63゜64に退避されるが、汎用レジスタ41の退避
と動作は同じであるので説明は省略する。
Before writing to the general-purpose register 41, the execution control device 4 uses the general-purpose register write signal line 41m and the save instruction signal line 5e.
Set it to at%II. AND circuit s of evacuation and recovery control device 2
1 is the %lI of these three signals 1i141"esfJ'&
In response to the output signal line 51ct%lI, the gate 51
Open 1. Referring now to FIG. 3, general purpose register 4
When writing 10, the signal line 15m becomes %Ig, and the address information indicating the internal operation/try of the general-purpose register 41 is transferred to the general-purpose write address register 3 via the address line 113m. At this time, the signal line @sa becomes %1111C1, □V'l fi S @Eyo, A4. 3°. 3
The address information of ゜ is also transferred to the general-purpose read address register 4, the entry contents of the general-purpose register 41 indicated by the general-purpose read address register s4 are sent to the data line S1m, and after -t, the general-purpose read address register s3 is transferred to the general-purpose register 41. A write operation to register 41 is performed. Referring again to FIG. 2, the gate 511 is in an open state, and the original content of the song written to the ninth general-purpose register 41 is transferred to the save device 6 and stored in the corresponding entry of the general-purpose save register 61. Although not shown in the figure, the save bit 611 of the entry is set to %11 at the same time. Note that if the save bit of the roar entry is already %II, storage to the general purpose save register 61 is inhibited. Even when the execution control device 4 writes to other registers 42, 43, 44, the original contents are stored in each save register 62 of the save device 6.
, 63° and 64, but the operation is the same as that of the general-purpose register 41, so the explanation will be omitted.

次に、前述したような異常状態を検出した時にチェック
ポイントの状態に復帰し、再試行させる動作について説
明する。異常状態が検出されると、回復指示信号線56
bを11Iにして退避回復制御装置5へ通知される。退
避回復制御装置Sは回復指示信号線56bが%11にな
るとOR回路56を介して信号!is@cに%11を供
給し、禁止(ロ)路Tで命令制御装置1からのデコード
され良命令の供給を禁止させるように作用する。後続会
合の供給が停止されると奥行制御装置4にある、図には
示していないが複数の演算二′ニットは以前に供給され
た命令による動作を完了するように動作し、全ての動作
が完了すると実行完了信号@45aを111にして、再
び退避回復制御装置5へ通知される。退避回復制御装置
5のANDIJ路51は、この時点で2つの入力、すな
わち回憤指示信号M56bと実行完了信号11845畠
が%11となることから、出力の信号線57c#r11
 Iとする。
Next, the operation of returning to the checkpoint state and retrying when an abnormal state as described above is detected will be explained. When an abnormal condition is detected, the recovery instruction signal line 56
b is set to 11I and the evacuation and recovery control device 5 is notified. When the recovery instruction signal line 56b reaches %11, the save recovery control device S sends a signal ! through the OR circuit 56. %11 is supplied to is@c, which acts to inhibit the supply of decoded good instructions from the instruction control device 1 in the prohibition (b) path T. When the supply of the subsequent session is stopped, a plurality of arithmetic units (not shown) in the depth control device 4 operate to complete the operation according to the previously supplied command, and all operations are performed. Upon completion, the execution completion signal @45a is set to 111, and the evacuation and recovery control device 5 is notified again. At this point, the ANDIJ path 51 of the evacuation and recovery control device 5 outputs the signal line 57c#r11 because the two inputs, namely the recovery instruction signal M56b and the execution completion signal 11845, are %11.
Let it be I.

信号線57aが111となると、ゲート5T5で退避装
置6の命令カウンタ退避レジスタ6Sの内容をデータ@
5sbt介して命令制御装置3の命令カウンタ3sへ転
送させる。また、ゲート571、$72,573,57
4で退避装置6の汎用退避レジスタ61.ベース退避レ
ジスタ62゜科学演算退避レジスタ63.ステータス退
避レジスタ・4の内容をそれぞれデータ線Slb、52
b、S3b、54bを介して奥行制御装置4の汎用レジ
スタ41.ペースレジスタ42.科学演算レタス−43
,ステータスレジスタ44に転送される。この時、退避
レジスタ61〜64の各エントリで退避ビットが111
のエントリだけがレジスタ41〜44の対応するエント
リに転送される。
When the signal line 57a becomes 111, the gate 5T5 saves the contents of the instruction counter save register 6S of the save device 6 as data@
5sbt to the instruction counter 3s of the instruction control device 3. Also, Gate 571, $72,573,57
4, the general-purpose save register 61 of the save device 6. Base save register 62° Scientific operation save register 63. The contents of status save register 4 are transferred to data lines Slb and 52, respectively.
b, S3b, general-purpose register 41.b of the depth control device 4 via S3b, 54b. Pace register 42. Scientific operation lettuce-43
, is transferred to the status register 44. At this time, the save bit is 111 in each entry of save registers 61 to 64.
Only those entries are transferred to the corresponding entries in registers 41-44.

さらに信号線S7cが%llとなると、ゲート5Tsで
退避装置6の主1憶退避バツフア60の内容がデータ線
50bを介して主記憶装置1へ次のようKして転送され
る。すなわち、退避バッファポインタ66の内容で示さ
れる主記憶退避バッファ60のエントリに格納されてい
るアドレスとデータで主記憶装置1に書込み、信号1[
6@dで退避バッファポインタ66を−lにした後に再
び退避バッファポインタε6の内容で示される主記憶退
避バッファ60のエントリ内容で主記憶装置1に書込む
。このようにして退避バッファポインタ66がOになる
まで順次主記憶退避バッファ60のエントリ内容で主記
憶装置1に書込む。ただし主記憶退避バッファ6・の内
容を主記憶装置1に書込むに際し、同時に緩衝記憶装置
2に該当データがあれは同時に緩衝記憶装置2に41込
まれる。以上の動作によシ退避装置6に退避され大全て
の情報が命令制御41装置3.奥行制御装置4゜主記憶
装置1$Pよび緩衝記憶装置2に還元されると再び通常
の命令実行動作が一始され、チェックポイントからの命
令再試行が行なわれる。
Further, when the signal line S7c reaches %ll, the contents of the main storage buffer 60 of the save device 6 are transferred to the main memory device 1 via the data line 50b at the gate 5Ts as follows. That is, the address and data stored in the entry of the main memory save buffer 60 indicated by the contents of the save buffer pointer 66 are written to the main memory 1, and the signal 1 [
After setting the save buffer pointer 66 to -l at step 6@d, the entry contents of the main memory save buffer 60 indicated by the contents of the save buffer pointer ε6 are written to the main memory device 1 again. In this way, the entry contents of the main memory save buffer 60 are sequentially written into the main memory 1 until the save buffer pointer 66 reaches O. However, when writing the contents of the main memory save buffer 6 to the main memory 1, any corresponding data is simultaneously written to the buffer memory 2. Through the above operations, all the information is saved to the save device 6 and transferred to the instruction control device 41 and the instruction control device 3. When the depth control device 4 is restored to the main storage device 1$P and the buffer storage device 2, the normal instruction execution operation is restarted and the instruction is retried from the checkpoint.

本発明には以上説明したようにチェックポイントを設定
稜主記憶装置からデータを読出す際はその$l#データ
を退避し、レジスタに書込む際は一度だけ元の内容を退
避し、異常検出時に退避した内容で主記憶装置またはレ
ジスタに1還元するように構成することによプ、ストア
インバラフッ方式やストアスル一方式といった緩衝記憶
方式に依らずにチェックポイントからの命令再試行が行
なえるという効果がある。tた、緩衝記憶装置を有しな
い装置に適用できるという効果もある。
As explained above, in the present invention, a checkpoint is set.When reading data from the main storage device, the $l# data is saved, and when writing to a register, the original content is saved only once, and an abnormality is detected. By configuring the program so that the saved contents are returned to the main memory or register by 1, it is possible to retry the instruction from the checkpoint without relying on buffer storage methods such as the store-in-balance method or the store-through method. There is an effect. Another advantage is that it can be applied to devices that do not have a buffer storage device.

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

第1図は本発明による装置の原理を示す図、第3図は本
発明による装置の一実施例を示すブロック図、第3図は
第2図に示した実行制御装置の周辺回路の評細を示すブ
ロック図である。 1・・・主記憶装置 2e・・緩衝記憶装置 −3−・・命令制御装置 4・・・実行制御装置 5・・・退避回復制御装置 6・・・退避装置 T拳e@禁止回路 21・・・ディレクトリ 22・ ・ 争記憶部 31・拳・命令バッファ 3S・・嘲命令カウンタ 41・・働汎用レジスタ 42・・−ベー≧レジスタ 43拳・−科学演算レジスタ 44・・Φステータスレジスタ 50〜55.  S F −−−AND回M56・・・
OR回路 60・・・主記憶退避パッファ 61・・−汎用退避レジスタ ロ2φ・・ベース退避レジスタ @3・・・科学演算退避レジスタ @4・轡・ステータス退避レジスタ @5・−・命令カウンタ退避レジスタ Is・・11″A避バツフアポインタ 611.621.@31,641−・・退避ビット■1
・拳・汎用書込データレジスタ ■2・・・汎用読出データレジスタ I3・・・汎用書込アドレスレジスタ 94・Φ・汎用読出アドレスレジスタ 501.511,521,531,541,551゜5
TO〜575.Is・seamゲート1a、lb、2m
、2b、3a、Ta、50a 〜55a、Sob〜55
b、91 m、12a・・拳・・データ線 40a 〜45m、50e 〜S7c、6mb、66c
。 lid、ll5a・・・会・信号線 Nla、 93JL、 #4a  a m a m −
7トv、z線牙1図 (a) 噸 (b) 4、、、り                −−−−
オ・°イツト R1→  R2<b’ R3■R4−Th RJ・ b2 R4−1?3  ” OPI   OR30PJ  0P4 R+   R2RJ   R4
FIG. 1 is a diagram showing the principle of the device according to the invention, FIG. 3 is a block diagram showing an embodiment of the device according to the invention, and FIG. 3 is a detailed description of the peripheral circuit of the execution control device shown in FIG. 2. FIG. 1... Main memory device 2e...Buffer storage device-3-...Command control device 4...Execution control device 5...Evacuation recovery control device 6...Evacuation device Tken@prohibition circuit 21...・Directory 22・・Conflict memory unit 31・Fist・Instruction buffer 3S・・Mocking instruction counter 41・・Working general-purpose register 42・・−Ba≧Register 43・・−Scientific operation register 44・・ΦStatus register 50 to 55 .. S F---AND times M56...
OR circuit 60...Main memory save buffer 61...-General purpose save register RO2φ...Base save register @3...Scientific operation save register @4・轡・Status save register @5...-Instruction counter save register Is ...11''A save buffer pointer 611.621.@31,641-... Save bit ■1
・Fist/General-purpose write data register ■2...General-purpose read data register I3...General-purpose write address register 94・Φ・General-purpose read address register 501.511, 521, 531, 541, 551゜5
TO~575. Is seam gate 1a, lb, 2m
, 2b, 3a, Ta, 50a ~ 55a, Sob ~ 55
b, 91 m, 12a...fist...data line 40a ~ 45m, 50e ~S7c, 6mb, 66c
. lid, ll5a... meeting/signal line Nla, 93JL, #4a a m a m -
7 To v, z line fang 1 diagram (a) 噸 (b) 4,,,ri -----
OPI OR30PJ 0P4 R+ R2RJ R4

Claims (1)

【特許請求の範囲】 命令とオペランドデータを配憶する記憶装置と、 命令アドレスカウンタと命令デコーダを含み、前記記憶
懺置KIl続された命令制御装置と、前記命令制御装置
に応答し、かつ前記記憶装置のオペランドデータを読出
しまえは書込みを行なうために前記記憶装置と接続され
命令の実行に必要な複数のレジスタを含む実行制御装置
と、前記記憶装置と前記命令制御装置と前記実行制御装
置に関係して設けられ、命令の処理中KW数の正規状態
を指示する正規状態指示装置と複数の異常状−を検出す
る異常状態検出装置とを含む正規状態指示および異常状
態検出装置と、前記記憶装置との間で転送路を有す為退
避記憶装置と、 前記実行制御装置に11重れる複数のレジスタとの関で
転送路を有する退避レジスタ七、前記命令アドレスカウ
ンタとの間で転送路を有する退避命令アドレスカウンタ
と、 前記正規状態指示装置によって任意の正規状態が指示さ
れ、かつその指示の際にデコードされていた最後の命令
の実行が完了されたことに応答して、前記最後の命令の
次の命令を指示する前記命令アドレスカウンタの内容を
前記退避命令アドレスカウンタに転送させるチェックポ
イント装置と、前記次の命令以後に、前記記憶装置から
オペランドデータを読出す時にこのオペランドデータを
前記退避記憶装置へ転送す為記憶退避制御装置と、前記
次の命令以後に、前記実行制御装置に含まれるレジスタ
に書込みが行なわれる時に、このレジスタの元の内容を
前記退避レジスタへ転送するレジスタ退避制御装置と、 前記異常検出装置によって任意の異常状態が検出されえ
ことに応答して、前i退避命令アドレスカウンタの内容
を前記命令アドレスカウンタへ逆転送するとともに、前
記退避レジスタの内容を前配置行制御装置に含まれるレ
ジスタに逆転送し、かつ前記退避記憶の内容を前記記憶
装置に逆転送させる回復制御装置と、 前記異常状篩検出装fillKよって任意の異常状態が
検出され九ととに応答して前記回復装置の動作が完了す
る!で、を走は前記正規状態指示装置によって任意の正
規状部が指示されたことに応答して、その際にデコード
されていた最後の命令の実行が完了され、かつ前記チェ
ックポイント装置の動作が完了されるまで、前記命令制
御装置の動作を禁止する禁止装置とから構成したデータ
処理装置。
[Scope of Claims] A memory device for storing instructions and operand data, an instruction control device including an instruction address counter and an instruction decoder and connected to the memory, and a memory device responsive to the instruction control device; In order to read and write operand data in a storage device, an execution control device is connected to the storage device and includes a plurality of registers necessary for executing instructions; a normal state indicating and abnormal state detecting device which is provided in relation to the above, and includes a normal state indicating device which indicates the normal state of the KW number during processing of an instruction, and an abnormal state detecting device which detects a plurality of abnormal states; A transfer path is established between the save storage device, which has a transfer path between the storage device and the instruction address counter, and the save register 7, which has a transfer path between the plurality of registers that overlap the execution control device, and the instruction address counter. a save instruction address counter having a save instruction address counter; and in response to an arbitrary normal state being indicated by the normal state indicating device and execution of the last instruction being decoded at the time of the instruction being completed, the last instruction is a checkpoint device that transfers the contents of the instruction address counter instructing the next instruction to the save instruction address counter; and a checkpoint device that transfers the contents of the instruction address counter to the save instruction address counter; a memory save control device for transferring data to a storage device; and a register save control device that transfers the original contents of this register to the save register when a register included in the execution control device is written after the next instruction. and, in response to any abnormal condition being detected by the abnormality detection device, reversely transfer the contents of the previous i save instruction address counter to the instruction address counter, and transfer the contents of the save register to the previous allocation line. a recovery control device that reversely transfers the contents of the save memory to a register included in the control device and reversely transfers the contents of the save memory to the storage device; Then the operation of the recovery device is completed! Then, in response to an arbitrary normal state being indicated by the normal state indicating device, the execution of the last instruction being decoded at that time is completed, and the operation of the checkpoint device is completed. and a prohibition device that prohibits the operation of the instruction control device until the operation is completed.
JP56214137A 1981-12-28 1981-12-28 Data processor Pending JPS58114252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56214137A JPS58114252A (en) 1981-12-28 1981-12-28 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56214137A JPS58114252A (en) 1981-12-28 1981-12-28 Data processor

Publications (1)

Publication Number Publication Date
JPS58114252A true JPS58114252A (en) 1983-07-07

Family

ID=16650837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56214137A Pending JPS58114252A (en) 1981-12-28 1981-12-28 Data processor

Country Status (1)

Country Link
JP (1) JPS58114252A (en)

Similar Documents

Publication Publication Date Title
CN109891393B (en) Main processor error detection using checker processor
US7840768B2 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
US3539996A (en) Data processing machine function indicator
JPS638835A (en) Trouble recovery device
JPH05216700A (en) Recovery control register and recovery control system
US8301992B2 (en) System and apparatus for error-correcting register files
CN1099631C (en) Backout logic for dual execution unit processor
JPS58121457A (en) Information processing device
JP3723243B2 (en) Processor device and control method thereof
JPH07141176A (en) Command retrial control system
JP4155052B2 (en) Emulator, emulation method and program
JPS58114252A (en) Data processor
US5673391A (en) Hardware retry trap for millicoded processor
EP0212132A1 (en) Method and digital computer for recovering from errors
JPS58114251A (en) Data processor
WO2010109631A1 (en) Information processing device, information processing method and information processing program
JPS60142747A (en) Instruction execution control system
JPS58114253A (en) Data processor
USRE45632E1 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
JP3988740B2 (en) Parallel processing device, instruction retry method, and program
JPS58154043A (en) Information processor
USRE27485E (en) Ls ec sdr
JPH04181331A (en) Instruction retry system
JPS5932821B2 (en) information processing equipment
CN102073551A (en) Self-reset microprocessor and method thereof