Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0758465B2 - Pipeline processing type information processing device - Google Patents
[go: Go Back, main page]

JPH0758465B2 - Pipeline processing type information processing device - Google Patents

Pipeline processing type information processing device

Info

Publication number
JPH0758465B2
JPH0758465B2 JP62036485A JP3648587A JPH0758465B2 JP H0758465 B2 JPH0758465 B2 JP H0758465B2 JP 62036485 A JP62036485 A JP 62036485A JP 3648587 A JP3648587 A JP 3648587A JP H0758465 B2 JPH0758465 B2 JP H0758465B2
Authority
JP
Japan
Prior art keywords
instruction
retry
stage
register
pipeline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62036485A
Other languages
Japanese (ja)
Other versions
JPS63204328A (en
Inventor
孝三 山野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62036485A priority Critical patent/JPH0758465B2/en
Publication of JPS63204328A publication Critical patent/JPS63204328A/en
Publication of JPH0758465B2 publication Critical patent/JPH0758465B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Retry When Errors Occur (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバイプライン処理型情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bipline processing type information processing apparatus.

〔従来の技術〕 従来のバイプライン処理型情報処理装置では、ソフトウ
エアビジブルレジスタの更新を命令カウンタの更新まで
極力遅らせることにより命令カウンタの更新とソフトウ
エアビジブルな(ソフトウエアから操作可能な)レジス
タ(ベースレジスタ、汎用レジスタ等)の最初の更新ま
での命令リトライ不可期間の短縮を図っているが、障害
発生箇所のパイプライン上のステージを認識したリトラ
イ不可領域の削減がなされていなかった。
[Prior Art] In the conventional bi-line processing type information processing apparatus, the update of the software visible register is delayed as much as possible until the update of the instruction counter to update the instruction counter and the software visible (operable from software) register ( Although the non-retry period until the first update of the base register, general-purpose register, etc.) is shortened, the non-retry region that recognizes the stage on the pipeline where the failure occurs is not reduced.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上述した従来のバイプライン処理型情報処理装置では、
処理ステージの認識がなされていないためリトライ不可
期間中ならば障害がいずれのパイプラインステージで発
生してもリトライ不可と見なさねばならずリトライ率を
実質的に向上させることができないという欠点がある。
In the conventional bi-line processing type information processing apparatus described above,
Since the processing stage is not recognized, there is a disadvantage in that it cannot be retried even if a failure occurs in any of the pipeline stages during the period in which the retry is not possible and the retry rate cannot be substantially improved.

[問題点を解決するための手段] 本発明は、ソフトウェアビジブルレジスタを更新した命
令の識別番号を保持する更新命令保持手段と、パイプラ
イン処理中に障害が発生したときに障害の原因となった
命令の識別番号を通知する障害命令通知手段と、ソフト
ウェアビジブルレジスタの更新がなされた場合に障害命
令通知手段が通知した識別番号と更新命令保持手段が保
持する識別番号とが同一のときに命令リトライ不可と判
定する命令リトライ判定手段を有することを特徴として
いる。
[Means for Solving Problems] The present invention is a cause of a failure when an update instruction holding means that holds an identification number of an instruction that updates a software visible register and a failure occurs during pipeline processing. The fault instruction notifying means for notifying the instruction identification number and the instruction retry when the identification number notified by the fault instruction notifying means when the software visible register is updated and the identification number held by the update instruction holding means are the same It is characterized in that it has an instruction retry judging means for judging as impossible.

〔作 用〕[Work]

パイプライン上の障害発生ステージと該ステージで処理
中の命令の認識を行ない、命令リトライ不可期間中でも
実行命令と関連のない後続命令に関する障害に対しては
命令リトライを可能とすることにより、結果としてリト
ライ率が向上する。
By recognizing the failure occurrence stage on the pipeline and the instruction being processed in the stage, and enabling the instruction retry for the failure related to the subsequent instruction that is not related to the execution instruction even during the instruction retry impossible period, The retry rate is improved.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第3図はパイプライン処理の一例を示す図である。ステ
ージIFからステージSTまで6ステージに分割されてい
る。ステージIFは命令を取出す処理、ステージACはオペ
ランドアドレスを生成する処理、ステージATは論理アド
レスを実アドレスに変換する処理、ステージCAはオペラ
ンドを読出す処理、ステージEXは読出されたオペランド
の演算処理そしてステージSTは演算結果の格納を行なう
処理である。
FIG. 3 is a diagram showing an example of pipeline processing. It is divided into 6 stages from stage IF to stage ST. Stage IF fetches an instruction, stage AC generates an operand address, stage AT translates a logical address into a real address, stage CA reads an operand, stage EX computes the read operand. Then, the stage ST is a process of storing the calculation result.

第4図は、第1図に示した各パイプラインステージに対
応して設けられた命令IDレジスタを示す図である。各パ
イプラインステージレジスタAIC,IR,〜,ICが命令IDレジ
スタID0〜ID6にそれぞれ対応している。P1は命令IDレジ
スタID0よびID6のIDを更新する“+1"カウント回路を表
わしている。
FIG. 4 is a diagram showing an instruction ID register provided corresponding to each pipeline stage shown in FIG. Each pipeline stage register AIC, IR, ~, IC corresponds to the instruction ID register ID0 ~ ID6, respectively. P1 represents a "+1" counting circuit for updating the IDs of the instruction ID register ID0 and ID6.

第1図は本発明のパイプライン処理型情報処理装置の一
実施例の要部のブロック図である。
FIG. 1 is a block diagram of essential parts of an embodiment of a pipeline processing type information processing apparatus of the present invention.

リトライ不可表示ビット3は、命令カウンタ2の更新以
前にソフトウエアビジブルレジスタ(不図示)の更新が
発生すると、演算制御部1からセット指示が信号線101
を通して行なわれ、命令終了時の命令カウンタ2の更新
指示(信号線102)により命令カウンタ更新制御部4が
起動され、信号線103により命令カウンタ2の更新(カ
ウンタ回路5により)とともにリトライ不可表示ビット
3のリセットが行なわれる。しかし障害処理制御部6か
ら障害検出通知が信号線104により行なわれると、命令
カウンタ2の更新およびリトライ不可表示ビット3のリ
セットは抑止されてリトライ不可表示ビット3がリトラ
イ判定に使用される。
When the software visible register (not shown) is updated before the instruction counter 2 is updated, the retry impossible display bit 3 is set by the arithmetic control unit 1 by a signal line 101.
The instruction counter update control unit 4 is activated by the instruction to update the instruction counter 2 (signal line 102) at the end of the instruction, and the instruction counter 2 is updated by the signal line 103 (by the counter circuit 5) together with a non-retry display bit. 3 is reset. However, when the fault processing control unit 6 issues a fault detection notification through the signal line 104, updating of the instruction counter 2 and resetting of the retry non-display bit 3 are suppressed, and the retry non-display bit 3 is used for retry determination.

さらに、障害発生通知は信号線104から各ステージの命
令IDレジスタID0,ID1,ID2,ID3,ID4,ID5およびID6に行な
われ、各IDレジスタID0〜ID6は各ステージのID値を保持
する。ID選択回路7は、障害処理制御部6から信号線10
5を通して送られてきた障害発生ステージ情報により障
害発生ステージの命令IDを選択する。ID比較回路8は、
ID選択回路14で選択された障害発生ステージの命令IDと
実行命令IDを保持するIDレジスタID6の値を比較し、一
致したとき信号線106をオンにする。アンド回路9はリ
トライ不可表示ビット3の出力(信号線107)とID比較
回路8の出力(信号線106)の論理積をとり、障害処理
制御部6に命令リトライの可または不可を信号線108に
より報告する。すなわち、リトライ不可表示ビット3に
リトライ不可が表示されていても、ID比較回路8におけ
る比較の結果、信号線106がオフ、つまり障害発生ステ
ージが実行命令と異なるときはアンド回路9の出力であ
る信号線108は“0"となり障害処理制御部6に命令リト
ライ可の報告が行なわれる。
Further, the fault occurrence notification is sent from the signal line 104 to the instruction ID registers ID0, ID1, ID2, ID3, ID4, ID5 and ID6 of each stage, and each ID register ID0 to ID6 holds the ID value of each stage. The ID selection circuit 7 is connected to the signal line 10 from the failure processing control unit 6.
The instruction ID of the failure occurrence stage is selected according to the failure occurrence stage information sent through 5. The ID comparison circuit 8
The instruction ID of the fault occurrence stage selected by the ID selection circuit 14 is compared with the value of the ID register ID6 holding the execution instruction ID, and when they match, the signal line 106 is turned on. The AND circuit 9 takes the logical product of the output of the retry impossible display bit 3 (the signal line 107) and the output of the ID comparison circuit 8 (the signal line 106), and the failure processing control unit 6 indicates whether the instruction retry is possible or not. Report by. That is, even if the retry impossible display bit 3 indicates that retry is not possible, as a result of the comparison in the ID comparison circuit 8, the signal line 106 is off, that is, when the failure occurrence stage is different from the execution instruction, it is the output of the AND circuit 9. The signal line 108 becomes "0", and the failure processing control unit 6 is notified that the instruction retry is possible.

第4図は本実施例における各パイプラインステージの流
れをタイミングチャートで表わしたものである。サイク
ルIでパイプラインステージレジスタAICに命令Aの命
令アドレスが設定されてからサイクルII以降サイクルVI
Iでソフトウエアビジブルレジスタの更新が行なわれる
ことを示している。このとき命令IDレジスタもサイクル
Iで命令IDレジスタID0に命令AのID“0"がセットされ
てからサイクルVIで命令IDレジスタID5へ、サイクルVII
で命令IDレジスタID6へ命令IDレジスタID5の内容に+1
カウントして“1"がセットされることを示している。本
タイムチャートは命令Cがソフトウエアビジブルレジス
タを4個更新する場合を示した図で、命令CのIDも各ス
テージで4サイクル間同一値(ここで2)となって命令
Cが4サイクル命令であることがわかる。リトライ不可
表示ビット3のリトライ不可表示は命令Cでの最初のソ
フトウエアビジブルレジスタ更新時、即ちサイクルIXか
ら行なわれ、この表示中は命令Cの実行に関する障害発
生時は命令リトライ不可となる。しかし、命令Cに関連
しないパイプラインステージでの処理(例えばサイクル
IXのIRステージまたはサイクルXのLARステージなど)
での障害発生時は図に示すリトライ不可表示ビットを無
視して命令リトライ可とみなすことができる。
FIG. 4 is a timing chart showing the flow of each pipeline stage in this embodiment. After the instruction address of instruction A is set in the pipeline stage register AIC in cycle I, cycle II and subsequent cycles VI
I indicates that the software visible register is updated. At this time, the instruction ID register is also set to the instruction ID register ID0 to the instruction ID register ID5 in cycle I, and then to the instruction ID register ID5 in cycle VI to cycle VII.
To instruction ID register ID6 + 1 to the content of instruction ID register ID5
It indicates that "1" is set by counting. This time chart shows the case where the instruction C updates four software visible registers. The ID of the instruction C also becomes the same value (2 here) for 4 cycles at each stage, and the instruction C is a 4 cycle instruction. It can be seen that it is. Retry disabled display The retry disabled display of bit 3 is performed at the time of the first software visible register update in the instruction C, that is, from the cycle IX. During this display, the instruction retry is disabled when a failure related to the execution of the instruction C occurs. However, processing in a pipeline stage not related to the instruction C (for example, a cycle
IR stage of IX or LAR stage of cycle X, etc.)
When a failure occurs in, the instruction retry possible can be considered as ignoring the retry impossible display bit shown in the figure.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、パイプライン上の障害発
生ステージと該ステージで処理中の命令の認識を行な
い、命令リトライ不可期間中でも実行命令と関連のない
後続命令に関する障害に対しては命令リトライを可能と
することにより、結果としてリトライ率が向上する効果
がある。
As described above, the present invention recognizes a failure occurrence stage on a pipeline and an instruction being processed in the stage, and performs an instruction retry for a failure related to a subsequent instruction unrelated to an execution instruction even during an instruction retry unavailable period. As a result, the retry rate is improved.

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

第1図は本発明のパイプライン処理型情報処理装置の一
実施例の要部を示すブロック図、第2図は各パイプライ
ンステージの流れのタイミングチャート、第3図はパイ
プラインの例を示す図、第4図は第3図に示した各パイ
プラインステージに対応して設けられた命令IDレジスタ
を示す図である。 1……演算制御部、 2……命令カウンタ、 3……リトライ不可表示ビット、 4……命令カウンタ更新制御部、 5……カウンタ回路、 6……障害処理制御部 7……ID選択回路、 8……ID比較回路、 9……アンドゲート、 101〜108……信号線、 ID0〜ID6……命令IDレジスタ。
FIG. 1 is a block diagram showing a main part of an embodiment of a pipeline processing type information processing apparatus of the present invention, FIG. 2 is a timing chart of the flow of each pipeline stage, and FIG. 3 is an example of a pipeline. 4 and 5 are diagrams showing the instruction ID register provided corresponding to each pipeline stage shown in FIG. 1 ... Arithmetic control unit, 2 ... Instruction counter, 3 ... Retry impossible display bit, 4 ... Instruction counter update control unit, 5 ... Counter circuit, 6 ... Fault processing control unit, 7 ... ID selection circuit, 8 ... ID comparison circuit, 9 ... AND gate, 101-108 ... Signal line, ID0-ID6 ... Instruction ID register.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ソフトウェアビジブルレジスタを更新した
命令の識別番号を保持する更新命令保持手段と、 パイプライン処理中に障害が発生したときに、該障害の
原因となった命令の識別番号を通知する障害命令通知手
段と、 ソフトウェアビジブルレジスタの更新がなされた場合
に、前記障害命令通知手段が通知した識別番号と前記更
新命令保持手段が保持する識別番号とが同一のときに命
令リトライ不可と判定する命令リトライ判定手段を有す
ることを特徴とするパイプライン処理型情報処理装置。
1. Update instruction holding means for holding an identification number of an instruction that updates a software visible register, and when a failure occurs during pipeline processing, the identification number of the instruction causing the failure is notified. When the fault instruction notifying means and the software visible register are updated, it is determined that the instruction retry is not possible when the identification number notified by the fault instruction notifying means and the identification number held by the update instruction holding means are the same. A pipeline processing type information processing apparatus having an instruction retry determination means.
JP62036485A 1987-02-18 1987-02-18 Pipeline processing type information processing device Expired - Lifetime JPH0758465B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62036485A JPH0758465B2 (en) 1987-02-18 1987-02-18 Pipeline processing type information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62036485A JPH0758465B2 (en) 1987-02-18 1987-02-18 Pipeline processing type information processing device

Publications (2)

Publication Number Publication Date
JPS63204328A JPS63204328A (en) 1988-08-24
JPH0758465B2 true JPH0758465B2 (en) 1995-06-21

Family

ID=12471122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62036485A Expired - Lifetime JPH0758465B2 (en) 1987-02-18 1987-02-18 Pipeline processing type information processing device

Country Status (1)

Country Link
JP (1) JPH0758465B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0769822B2 (en) * 1988-11-08 1995-07-31 日本電気株式会社 Calculation register bypass check method

Also Published As

Publication number Publication date
JPS63204328A (en) 1988-08-24

Similar Documents

Publication Publication Date Title
JPS6226732B2 (en)
JP2000040075A5 (en)
JPS5886648A (en) Tracing device
JPS644216B2 (en)
JPH0758465B2 (en) Pipeline processing type information processing device
JPH0326862B2 (en)
JPH05298135A (en) Processing system for cpu
JPS595932B2 (en) Data processing method
JPS6260035A (en) Artificial trouble generation system
JPS63204329A (en) Pipeline processing type information processor
JP3011166B2 (en) Debug circuit
JPH0814779B2 (en) Initialization method for arithmetic and control unit
JPS63201832A (en) Pipeline processing type information processor
JP3414579B2 (en) Programmable controller
JPS592056B2 (en) Microcomputer program counter
JPS60178524A (en) One-chip microcomputer
JPH0330022A (en) Information processor
JPS63150732A (en) Program running supervisory equipment
JPH01100638A (en) Instruction retry control system
JPS6282439A (en) False trouble generating system
JPH04312111A (en) Data processor
JPH0332817B2 (en)
JPS6238748B2 (en)
JPH02242349A (en) Command processor
JPH01320547A (en) Program execution information collecting system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term