JPH03282963A - Interruption address correcting processing system - Google Patents
Interruption address correcting processing systemInfo
- Publication number
- JPH03282963A JPH03282963A JP2084707A JP8470790A JPH03282963A JP H03282963 A JPH03282963 A JP H03282963A JP 2084707 A JP2084707 A JP 2084707A JP 8470790 A JP8470790 A JP 8470790A JP H03282963 A JPH03282963 A JP H03282963A
- Authority
- JP
- Japan
- Prior art keywords
- vector
- instruction
- unit
- correction value
- scalar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Executing Machine-Instructions (AREA)
- Debugging And Monitoring (AREA)
- Complex Calculations (AREA)
- Advance Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
本発明は、スカラユニットとベクトルユニットと主記憶
装置とを有する並列処理計算機におけるプログラム例外
発生に対処する割込みアドレス補正処理方式に関し。DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an interrupt address correction processing method for dealing with the occurrence of a program exception in a parallel processing computer having a scalar unit, a vector unit, and a main storage device.
並列処理が実行される際における割込みアドレスの補正
に当たって、補正処理を簡単に行い得るようにすること
を目的とし。The purpose of this invention is to easily perform correction processing when correcting interrupt addresses when parallel processing is executed.
割込みの発生に当たって実行されなかったベクトル命令
の長さを示す補正値レジスタをもうけておくと共に、制
御命令ペンディング信号をもうけておき、 (i)デバ
ッグモードがオンのときか制御命令ペンディング信号が
オンのときにベクトル命令がベクトルユニットに供給さ
れたら上記補正値レジスタの内容を第1の方向に変更し
、(ii)デバッグモードがオンのときにベクトル命令
が終了したら上記補正値レジスタの内容を第2の方向に
変更するよう構成し、プログラム例外発生時に上記補正
値レジスタの内容を用いて旧プログラム・ステータス・
ワードの値を補正するよう構成する。A correction value register is provided that indicates the length of the vector instruction that was not executed when an interrupt occurred, and a control instruction pending signal is also provided. (ii) when a vector instruction is supplied to the vector unit, the contents of the correction value register are changed in a first direction; and (ii) when the vector instruction is completed while the debug mode is on, the contents of the correction value register are When a program exception occurs, the content of the above correction value register is used to update the old program status.
Configure to correct word values.
本発明は、スカラユニットとベクトルユニットと主記憶
装置とを有する並列処理計算機におけるプログラム例外
発生に対処する割込みアドレス補正処理方式に関する。The present invention relates to an interrupt address correction processing method for dealing with the occurrence of a program exception in a parallel processing computer having a scalar unit, a vector unit, and a main memory.
いわゆるベクトル計算機においては、ベクトル命令とス
カラ命令との間や、ベクトル命令同士の間で、命令の並
列実行が行われるためと、ベクトル命令でプログラム例
外が発生した場合には、旧プログラム・ステータス・ワ
ードC以下PSWと略す)の命令アドレスは2例外の発
生した次の命令を示すか否か予測できない。このことか
ら、旧PSWO値を補正することが行われるが、その制
御が複雑である。In so-called vector computers, instructions are executed in parallel between vector instructions and scalar instructions, or between vector instructions, and when a program exception occurs with a vector instruction, the old program status It is not possible to predict whether the instruction address of word C (abbreviated as PSW) indicates the next instruction in which the two exceptions occurred. For this reason, the old PSWO value is corrected, but its control is complicated.
上記ベクトル計算機などの並列処理計算機では。 In parallel processing computers such as the vector calculator mentioned above.
命令間で並列実行が行われるため、ある命令でプログラ
ム例外が発生したときに旧PSWは例外を発生した次の
命令を必ずしも示すとは限らない。Because parallel execution is performed between instructions, when a program exception occurs in a certain instruction, the old PSW does not necessarily indicate the next instruction that caused the exception.
そこで、プログラムのデバッグを行い易くするためにデ
バッグモードを設け、このモードでは3例外が発生した
ときに旧PSWが例外を発生した命令の次の命令を示す
ように制御することが行われている。このデバッグモー
ドにおいてはスカラ命令とベクトル命令との並列実行は
禁止されるが。Therefore, in order to make it easier to debug programs, a debug mode is provided, and in this mode, when three exceptions occur, the old PSW is controlled to point to the next instruction after the instruction that generated the exception. . In this debug mode, parallel execution of scalar instructions and vector instructions is prohibited.
ベクトル命令が、スカラユニットからベクトルユニット
に転送されるときにPSWを更新されベクトルユニット
内にバッファリングされるために。When vector instructions are transferred from the scalar unit to the vector unit, the PSW is updated and buffered within the vector unit.
あるベクトル命令で例外が発生した場合に、実行されな
かったベクトル命令の分のアドレスを旧PSWから戻し
てやる必要が生じる。この旧pswの補正値(l A
M A : In5tructionAddress
Modify Amount)をデクリメント/インク
リメントする制御が複雑である。When an exception occurs in a certain vector instruction, it becomes necessary to return the addresses of the unexecuted vector instructions from the old PSW. This old psw correction value (l A
M A: In5tructionAddress
The control for decrementing/incrementing Modify Amount is complicated.
上記デバッグモードは、ベクトルユニット内のベクトル
・コントロール・レジスタ(以下VCRと略す)の中に
あるビットにより定義され、そのVCRはベクトル制御
命令によって更新される。The debug mode is defined by a bit in a vector control register (hereinafter abbreviated as VCR) in the vector unit, and the VCR is updated by vector control instructions.
このため、以下に示す問題がある。Therefore, there are the following problems.
■ デバッグモードOFFすなわち通常実行モードでは
複数の命令が同時に終了する場合もあるため、IAMA
のインクリメントは不可能である。■ When debug mode is OFF, that is, in normal execution mode, multiple instructions may finish at the same time, so IAMA
cannot be incremented.
■ 制御命令ではデバッグモードの0N10FFを切り
換える可能性があるため、IAMAに対するデクリメン
ト制御部では、VCRの値がデバッグモードでない場合
でも先行に制御命令が実行待ちとなっている場合には、
デクリメントさせる必要がある。■ Since the control command may switch the debug mode 0N10FF, in the decrement control unit for IAMA, even if the value of the VCR is not in the debug mode, if there is a control command waiting to be executed in advance,
Need to be decremented.
■ デバッグモードOFFすなわち通常実行モードにお
いて、プログラム割込みコードが完了型の例外(例えば
演算系の例外)を示している場合には、旧PSWで示さ
れる命令アドレスまでの命令は完了していなければなら
ない。しかし完了型の例外の発生した命令から旧PSW
で示される命令までの間に制御命令があった場合この制
御命令は実行できない、なぜならば、制御命令はデバッ
グモードのON10 F Fを切す換える可能性があり
、ここで切り換わると制御が非常に困難になるために、
制御命令は先行するすべての命令が完了してから実行さ
れるようにされるが、この完了条件には剖込み処理も含
まれるためである。従って9通常実行モードにおいても
IAMAによるPSWO値の補正が必要とされる場合が
ある。■ When the debug mode is OFF, that is, in the normal execution mode, if the program interrupt code indicates a completion type exception (for example, an arithmetic exception), the instruction up to the instruction address indicated by the old PSW must be completed. . However, from the instruction that caused the completion type exception, the old PSW
If there is a control instruction before the instruction indicated by , this control instruction cannot be executed. This is because the control instruction may switch the debug mode ON10 FF, and if it switches here, the control will be severely disabled. to become difficult to
This is because the control command is executed after all preceding commands have been completed, and this completion condition also includes late-breaking processing. Therefore, correction of the PSWO value by IAMA may be necessary even in the 9 normal execution mode.
本発明は、上記の点を考慮しつつ、並列処理が実行され
る際における割込みアドレスの補正に当たって、補正処
理を簡単に行い得るようにすることを目的としている。The present invention takes the above-mentioned points into consideration and aims to facilitate correction processing when correcting interrupt addresses when parallel processing is executed.
第1図は本発明の原理説明図を示す0図中の符号101
はスカラユニット、102はベクトル命令ッ1−. 1
03は主記憶装置を表す、またベクトルユニット102
内において、11はベクトル命令入力ステージであって
、スカラユニッ目O1から供給されるベクトル命令を受
は取る。12はベクトル命令バッファであって、受は取
ったベクトル命令をバッファリングする。13は命令管
理バイブ部であり、ロード/ストアバイブ13−1と9
乗除・加減算パイプ13−2と、マスク処理に利用する
マスクパイプ13−3をそなえている。14はベクトル
命令終了ステージであって、任意の1つのベクトル命令
が終了された場合に必要な処理を実行する。FIG. 1 is a diagram illustrating the principle of the present invention with reference numeral 101 in FIG.
is a scalar unit, 102 is a vector instruction 1-. 1
03 represents the main memory, and the vector unit 102
11 is a vector instruction input stage, which receives a vector instruction supplied from the scalar unit O1. Reference numeral 12 denotes a vector instruction buffer for buffering the received vector instructions. 13 is a command management vibe section, which includes load/store vibes 13-1 and 9.
It is provided with a multiplication/division/addition/subtraction pipe 13-2 and a mask pipe 13-3 used for mask processing. 14 is a vector instruction termination stage, which executes necessary processing when any one vector instruction is terminated.
更に15はベクトル・コントロール・レジスタであって
、その中にあるビットによって、上記デバッグモード(
以下、非通常実行モード、または先行モード、または先
行制御モード、またはADVANCE−ONと呼ぶこと
がある)が指示される(なおADVANCE−OFFは
通常実行モード(非先行制御モード)にあることあるい
はデバッグモードにないことを意味する)。Furthermore, 15 is a vector control register, and the bit in it controls the debug mode (
Hereinafter, the non-normal execution mode, advance mode, advance control mode, or ADVANCE-ON) is indicated. mode).
16はデクリメントIAMA@m部であつて。16 is the decrement IAMA@m section.
ベクトル命令が受は取られると所定の条件の下で後述す
る補正値レジスタ(IAMAレジスタ)19の内容をデ
クリメントする指示を行う。17はインクメリントIA
M、6Jll?11部であうで、ベクトル命令が終了す
ると所定の条件の下で補正値レジスタ19の内容をイン
クリメントする指示を行う、1Bは制御命令ペンディン
グ信号オン/オフ・ラッチであって、上述の制御命令が
ベクトル命令入力ステージ11に受付けられて当該制御
命令が終了するまでの間、制御命令ペンディング信号を
オン状態にする。19は補正値レジスタである。When a vector command is accepted, an instruction is given to decrement the contents of a correction value register (IAMA register) 19, which will be described later, under predetermined conditions. 17 is inkmelint IA
M, 6Jll? Part 11 instructs to increment the contents of the correction value register 19 under predetermined conditions when the vector command is completed.1B is a control command pending signal on/off latch; The control command pending signal is kept on until the control command is received by the command input stage 11 and completed. 19 is a correction value register.
また20は1選択回路であって、補正値レジスタ19の
内容を(i)ゼロ・クリヤ、(ii)+6のインクリメ
ント(ベクトル命令が6バイトであることから)、(i
n)−6のデクリメントのいずれかが選択される。また
図中のADVANCEON10 F Fは、上記非通常
実行モードにあるか通常実行モードにあるかを指示する
信号である。20 is a 1 selection circuit which changes the contents of the correction value register 19 by (i) clearing to zero, (ii) incrementing by +6 (since the vector instruction is 6 bytes), (i)
n) -6 decrement is selected. Further, ADVANCEON10FF in the figure is a signal indicating whether the above-mentioned non-normal execution mode or normal execution mode is present.
■ デクリメントIAMA制御部16では、制御命令の
入力でセットされ制御命令の終了でリセットされる制御
命令ペンディング信号オン/オフ・ラッチ(以下当該ラ
ッチがオンのとき5QPENDINGがONと表示する
ことがある)18を有する。そして制御部16が補正値
レジスタ19をデクリメントする条件は。■ Decrement In the IAMA control unit 16, a control command pending signal on/off latch is set upon input of a control command and reset upon completion of the control command (hereinafter, 5QPENDING may be displayed as ON when the latch is on) It has 18. The conditions under which the control unit 16 decrements the correction value register 19 are as follows.
(ADVANCE−OFF+5Q−
PEND I NG) ・ (ベクトル命令入力)で
ある。(ADVANCE-OFF+5Q- PENDING) (Vector command input).
■ インクリメントIAMA制御部17では。■ In the increment IAMA control unit 17.
ADVANCE−OFFのときのみ補正値レジスタ19
をインクリメントする。その条件は。Correction value register 19 only when ADVANCE-OFF
Increment. What are the conditions?
(ADVANCE−OFF) ・ (ベクトル命令終了) である。(ADVANCE-OFF)・ (end of vector instruction) It is.
■ 制御命令が終了したときに、、ADVANCEON
であったならば、補正値レジスタ19をゼロ・クリヤす
る。これは、5Q−PENDINGがONの間に上記デ
クリメントのみが行われていることから これをキャン
セルするためである。■ When the control command ends, ADVANCEON
If so, the correction value register 19 is cleared to zero. This is to cancel the decrement described above, which is only being performed while 5Q-PENDING is ON.
このように補正値レジスタ19の内容を更新しておき、
プログラム例外が発生した場合に、そのときの補正値レ
ジスタ19の内容はスカラユニノト101側に通知され
、スカラユニノ目01側では旧PSWO値を補正するよ
うにされる。In this way, the contents of the correction value register 19 are updated,
When a program exception occurs, the contents of the correction value register 19 at that time are notified to the scalar unit node 101 side, and the old PSWO value is corrected on the scalar unit node 01 side.
第2図はADVANCE−OFFの状態において制御命
令が入力されて当該制御命令が実行されてもADVAN
CE−OFFの状態が持続される場合の処理態様を示す
0図示左右方向にベクトル命令入力ステージ11とベク
トル命令終了ステージ14との処理状況を区別して図示
し、また図示下方向は1時間経過の方向を表している(
以下。Figure 2 shows that even if a control command is input and executed in the ADVANCE-OFF state, the ADVANCE-OFF state is
The figure shows the processing mode when the CE-OFF state is maintained.The figure shows the processing status of the vector instruction input stage 11 and the vector instruction end stage 14 separately in the horizontal direction, and the downward direction shows the processing status of the vector instruction input stage 11 and the vector instruction end stage 14. It represents the direction (
below.
第3図ないし第7図においても同じ)。The same applies to Figures 3 to 7).
図示の場合には1頭初、ADVANCE−OFFの状態
にあり、(i)ベクトル命令入力ステージ11にベクト
ル命令を受取るたびにデクリメン) IAMA制御部1
6は補正値レジスタ19の内容をデクリメントし、(i
i)ベクトル命令終了ステージ14においてベクトル命
令が終了するたびにインクリメントIAMA@ll1部
17は補正値レジスタ19の内容をインクリメントして
いる0次いで途中において制御命令(SQ−INST)
が供給されたことによってSQ−PEMD I NGが
オンの状態となるが、補正値レジスタ19に対する処理
は変わらない、そして上記制御命令が実行されるが1図
示の場合にはこの実行によっても上記のADVANCE
−OFFの状態に変化はないことから、補正値レジスタ
19に対する処理は頭初と変わりはない。In the illustrated case, one animal is initially in the ADVANCE-OFF state, and (i) decrement every time a vector command is received in the vector command input stage 11) IAMA control unit 1
6 decrements the contents of the correction value register 19, and (i
i) Every time a vector instruction ends in the vector instruction end stage 14, the IAMA@ll1 unit 17 increments the contents of the correction value register 19.
Although SQ-PEMD ING is turned on due to the supply of SQ-PEMD ING, the processing for the correction value register 19 remains unchanged, and the above control command is executed. ADVANCE
Since there is no change in the -OFF state, the processing for the correction value register 19 is unchanged from the beginning.
第3図は制御命令によってADVANCEOFFの状態
がADVANCE−ONの状態に変更される場合の処理
態様を示す。この場合には。FIG. 3 shows a processing mode when the ADVANCE OFF state is changed to the ADVANCE-ON state by a control command. In this case.
第2図と対比すると判る如く、制御命令の実行によって
ADVANCE−ONの状態になったことから、並列処
理の禁止が解除されることとなって。As can be seen by comparing with FIG. 2, since the ADVANCE-ON state is entered by the execution of the control command, the prohibition of parallel processing is lifted.
上記補正値レジスタ19の内容によって旧PSWO値を
補正する必要性がなくなったことから、補正値レジスタ
19の内容はゼロ・クリヤされた後に、そのままに置か
れる。Since the contents of the correction value register 19 eliminate the need to correct the old PSWO value, the contents of the correction value register 19 are cleared to zero and left as they are.
第4図はADVANCE−ONの状態において制御命令
が入力されて当該制御命令が実行されてもADVANC
E−ONの状態が持続される場合の処理態様を示す。図
示の場合には1頭初ADVANCE−ONの状態にあり
、(1)ベクトル命令入力ステージ11においてベクト
ル命令が受取られても、補正値レジスタ19の内容はデ
クリメントされることがなく(ii)ベクトル命令終了
ステージ14においてベクトル命令が終了しても、補正
値レジスタ19の内容はインクリメントされることはな
い。次いで途中において制御命令(SQ−INST)が
供給されたことから。Figure 4 shows that even if a control command is input and executed in the ADVANCE-ON state, the ADVANCE-ON
The processing mode when the E-ON state is maintained is shown. In the illustrated case, one horse is in the initial ADVANCE-ON state, and (1) even if a vector command is received at the vector command input stage 11, the contents of the correction value register 19 are not decremented, and (ii) the vector Even if the vector instruction ends in the instruction end stage 14, the contents of the correction value register 19 are not incremented. Then, a control command (SQ-INST) was supplied during the process.
制御命令ペンディング信号オン/オフ・ラッチ18がオ
ン(SQ−PEND I NG)とされ。The control command pending signal on/off latch 18 is turned on (SQ-PEND ING).
(ii)以後ベクトル命令入力ステージ11においてベ
クトル命令を受取るたびに、デクリメントIAMA制御
部16は補正値レジスタの内容をデクリメントすること
となるが、 (N)ベクトル命令が終了されても、イン
クリメントIAMAilJm部17は補正値レジスタ1
9をインクリメントしない状態をつづける。そして、上
記制御命令が実行されるが9図示の場合には、この実行
によっても上記のADVANCE−ONの状態に変化は
ない。この場合には、補正値レジスタ19の内容はゼロ
・クリヤされ、以後そのクリヤ状態がつづくこととなる
。(ii) From now on, every time a vector instruction is received in the vector instruction input stage 11, the decrement IAMA control unit 16 decrements the contents of the correction value register. 17 is correction value register 1
Continue not incrementing 9. The above control command is executed, but in the case shown in Figure 9, the above ADVANCE-ON state does not change even after this execution. In this case, the contents of the correction value register 19 are cleared to zero, and the cleared state continues thereafter.
第5図はADVANCE−ONの状態がADVANCE
−OFFの状態に変更される場合の処理態様を示す。こ
の場合には、第4図と対比すると判る如く、制御命令が
実行されてADVANCEOFFの状態に変更された時
点から、以後ベクトル命令が終了するたびに、インクリ
メントIAMA@@部17は補正値レジスタ19の内容
をインクリメントしてゆく。Figure 5 shows that the ADVANCE-ON state is ADVANCE.
- The processing mode when the state is changed to OFF is shown. In this case, as can be seen from the comparison with FIG. 4, from the time when the control instruction is executed and the state is changed to ADVANCE OFF, every time the vector instruction is completed thereafter, the increment IAMA@@ unit 17 is set to the correction value register The contents of are incremented.
第6図はADVANcE−OFFの状態の下で制御命令
(SQ−INST)が実行される手前でプログラム例外
が生じた場合の処理態様を示す。FIG. 6 shows a processing mode when a program exception occurs before a control instruction (SQ-INST) is executed under the ADVANcE-OFF state.
この場合、制御命令が実行される以前のベクトル命令■
、においで、完了型または中断型または抑止型の例外が
発生している。したがってベクトル命令■1以−の命令
はベクトルユニット102内に実行されずにバッファリ
ングされており2割込み処理時にクリヤされることとな
る。第6図図示の場合には1例外が発生した以降におい
ては、補正値レジスタ19に対するインクリメントは行
われない。この結果、補正値レジスタ19の内容は。In this case, the vector instruction before the control instruction is executed
, a completion-type, abort-type, or suppressed-type exception occurs. Therefore, the instructions after vector instruction (1) are buffered in the vector unit 102 without being executed, and are cleared during the second interrupt processing. In the case shown in FIG. 6, the correction value register 19 is not incremented after one exception occurs. As a result, the contents of the correction value register 19 are as follows.
ベクトル命令■1の次から旧PSWが示しているアドレ
スまでとなっている。即ち実行されなかったベクトル命
令に相当する分の値だけが補正値レジスタ19に存在し
ている。このことから、補正値レジスタ19の内容をス
カシユニット101側に通知し、スカラユニット101
側で旧PSWO値を補正すれば1例外の生じたベクトル
命令vlの次の命令を知ることができる。It is from the address following vector instruction 1 to the address indicated by the old PSW. That is, only the values corresponding to vector instructions that were not executed exist in the correction value register 19. Therefore, the contents of the correction value register 19 are notified to the scalar unit 101 side, and the scalar unit 101
By correcting the old PSWO value on the side, it is possible to know the next instruction after the vector instruction vl in which one exception occurred.
なお第6図に見合う場合として、制御命令(SQ−IN
ST)が実行された後に例外が発生した場合が考慮され
る。この場合には1次の如くなる。即ち、制御命令が実
行されても、ADVANCE−OFFのままにある状態
で、制御命令以後のベクトル命令で例外が発生したとす
ると。In addition, as a case corresponding to Fig. 6, the control command (SQ-IN
The case where an exception occurs after ST) is executed is considered. In this case, it becomes first-order. That is, suppose that even if a control instruction is executed, the ADVANCE-OFF state remains and an exception occurs in a vector instruction after the control instruction.
ADVANCE−OFFのままにあることから。This is because ADVANCE remains OFF.
第6図を参照して説明した場合と全く同等である。This is exactly the same as the case described with reference to FIG.
また制御命令が実行されてADVANCE−ONに変わ
った後に例外が発生したとすると、第3図図示の場合と
同様に補正値レジスタ19の内容による補正を行う必要
がないものとなっている。Further, if an exception occurs after the control command is executed and the state changes to ADVANCE-ON, there is no need to perform correction based on the contents of the correction value register 19, as in the case shown in FIG.
第7図はADVANCE−ONの状態の下で制御命令(
SQ−INST)が実行される手前でプログラム例外が
生じた場合の処理態様を示す、この場合もベクトル命令
V、において完了型の例外が発生している。完了型の例
外が発生した場合には、pswで示されるまでの処理を
かまわず実行するか、制御命令の直前までの処理をかま
わず実行するかとなる。このことから、第7図図示の場
合には、制御命令(3Q−INST)の直前までの命令
は実行されてしまう、一方、補正値レジスタ19の内容
は、制御命令(SQ−INST)が供給された以後にお
いてデクリメントされていることとなっている。したが
って、補正値レジスタ19の内容は、制御命令(SQ−
lN5T)から旧PSWが示しているアドレスまでとな
っている。Figure 7 shows the control command (
In this case, a completion-type exception occurs in the vector instruction V, which shows the processing mode when a program exception occurs before SQ-INST) is executed. When a completion type exception occurs, either the process up to the point indicated by psw is executed regardless, or the process up to the point immediately before the control instruction is executed regardless. Therefore, in the case shown in FIG. 7, the instructions immediately before the control instruction (3Q-INST) are executed, while the contents of the correction value register 19 are After that, it is decremented. Therefore, the contents of the correction value register 19 are the control command (SQ-
1N5T) to the address indicated by the old PSW.
このことから、補正値レジスタ19の内容を、スカシユ
ニット101側に通知し、旧PSWO値を補正すればよ
い。From this, it is sufficient to notify the contents of the correction value register 19 to the scanning unit 101 side and correct the old PSWO value.
なお、第7図に見合う場合として、制御命令(SQ−I
NST)が実行された後に例外が発生した場合が考慮さ
れる。この場合には9次の如くなる。即ち、制御命令が
実行されてもADVANCE−ONのままであり、この
状態の下で例外が生じたとすると、この状態は第4図を
参照して説明したと全く同等であり、補正値レジスタ1
9の内容にもとづく補正を行う必要がないものである。In addition, as a case corresponding to FIG. 7, the control command (SQ-I
The case where an exception occurs after NST) is executed is considered. In this case, it becomes 9th order. That is, even if the control command is executed, ADVANCE-ON remains on, and if an exception occurs under this state, this state is exactly the same as that described with reference to FIG. 4, and the correction value register 1
There is no need to perform correction based on the contents of 9.
また制御命令が実行されてADVANCEOFFに切り
換わった後に例外が発生したとすると、第6図を参照し
て説明した場合と全(同等である。Further, if an exception occurs after the control instruction is executed and the switch is made to ADVANCE OFF, then the entire process is equivalent to the case described with reference to FIG.
第8図はベクトルユニット内の命令ユニットの構成を説
明する説明図である0図示のVFS。FIG. 8 is an explanatory diagram illustrating the configuration of an instruction unit in a vector unit; the VFS shown in FIG.
VPS、VQS、MR3,VSS、VVS。VPS, VQS, MR3, VSS, VVS.
VUS、、VWS夫々パイプライン処理の処理ステージ
である。また108は命令管理部(I−ユニット)を表
し9図中のSUOやSUlはスカラユニットを表してい
る。以下、各部の構成について簡単に説明する。VUS, VWS are processing stages of pipeline processing. Further, 108 represents an instruction management unit (I-unit), and SUO and SU1 in FIG. 9 represent scalar units. The configuration of each part will be briefly explained below.
■ SIJインタフェース制御部=40スカラユニット
101 (StJ)からのベクトル命令やスカラデー
タを受信し、GRレジスタやERレジスタへの書込みデ
ータの送信を制御する。図示の場合には2台のスカラユ
ニットと同時に交信する。■ SIJ interface control unit = 40 Receives vector instructions and scalar data from the scalar unit 101 (StJ), and controls the transmission of write data to the GR register and ER register. In the illustrated case, two SCARA units communicate simultaneously.
■ パイプライン制御部
パイプライン制御部は、スカラユニットから受信したベ
クトル命令を解読し、VS−UNIT(メモリ・アクセ
ス処理部)109やVB−UNIT(演算処理部)10
7に命令の実行を指示する。パイプラインは、以下の9
ステージから構成される。■ Pipeline control unit The pipeline control unit decodes vector instructions received from the scalar unit and sends them to the VS-UNIT (memory access processing unit) 109 and VB-UNIT (arithmetic processing unit) 10.
7 to execute the command. The pipeline consists of the following 9
Consists of stages.
−V F S (vector fetch stag
e) :命令のデータの受信
V P S (vector predecode
stage) :命令のデコードと例外チエツク
VQS (vector queue stage)
:命令のキューイングと実行の起動
−V RS (vector read stage)
:VRまたはMRの読出し期間の管理
V S S (vector 5et−up stag
e) :実行結果出力の管理
−VTS (vector teri+1nate s
tage) :VRまたはMRへの書込み期間の管理
−V V S (vector vanish st
age) :5calar Write命令の収束サイ
クルの管理VUS (vector unite s
tage) :例外条件の処理
−VWS (vector warning stag
e) :例外条件の保持とIAMAの更新
以下にパイプライン制御部の主な構成要素を説明する。-V F S (vector fetch stag
e): Reception of command data VPS (vector predecode)
stage): Instruction decoding and exception checking VQS (vector queue stage)
: Instruction queuing and execution start-V RS (vector read stage)
: Management of VR or MR readout period VSS (vector 5et-up stag
e): Management of execution result output-VTS (vector teri+1nates
:Management of writing period to VR or MR-VVS (vector vanish st
age): Management of convergence cycle of 5calar Write command VUS (vector unit s
vector warning stag): Handling of exception conditions - VWS (vector warning stag)
e): Maintaining exceptional conditions and updating IAMA The main components of the pipeline control section will be explained below.
a、パイプラインレジスタ:23ないし30パイプライ
ンの各ステージごとに、命令コード、データ、例外条件
、および制御タグなどの情報を保持するレジスタである
。a. Pipeline register: 23 to 30 This is a register that holds information such as instruction codes, data, exception conditions, and control tags for each stage of the pipeline.
b、 V F S RO〜1 (vector f
etch stageregister) : 21
、 22スカラユニツト(SU)から受信した命令と
データを保持するVFステージ(VFS)のパイプライ
ンレジスタである。SUO/SUI用に2IJlある。b, V F S RO~1 (vector f
etch stage register): 21
, 22 are pipeline registers of the VF stage (VFS) that hold instructions and data received from the scalar unit (SU). There are 2IJl for SUO/SUI.
c、 SDB (scalar data buff
er) : 31SUから送られるスカラデータを保
持するバッファである。メモリアクセス命令用と演算命
令用に分離している。c, SDB (scalar data buff
er): A buffer that holds scalar data sent from the 31SU. It is separated into memory access instructions and arithmetic instructions.
■ スカラライト制御部
SUに送出するスカラデータを処理する。構成要素を以
下に示す。■ Process the scalar data sent to the scalar write control unit SU. The components are shown below.
a、スカラデータ処理部:34
SCALARWRITE命令(SUM、 F IND、
EXTRACT)におけるスカラデータの後処理を■
■ステージ(VVS)で実行する。SUO/SOL用に
2組ある。a. Scalar data processing unit: 34 SCALARWRITE command (SUM, F IND,
■ Post-processing of scalar data in EXTRACT)
■Execute on stage (VVS). There are two sets for SUO/SOL.
b、 5WDRO〜1 (SU write dat
a register):36,31
SU送信するデータを保持するレジス
タである。SUO/SUI用に2組ある。b, 5WDRO~1 (SU write dat
a register): 36, 31 SU This is a register that holds data to be transmitted. There are two sets for SUO/SUI.
■ プロセス制御部
プロセス制御部は、命令の例外処理やヘクトルユニソト
(VU)のマシンチェンク処理ヲ行う。SUO/5LI
I用にそれぞれ2&Ilある。主な構成要素を以下に示
す。■ Process Control Unit The process control unit performs instruction exception handling and vector unisoto (VU) machine change processing. SUO/5LI
There are 2 & Il each for I. The main components are shown below.
a 、V CR(vector control re
gister) : 15VUの制御情報や割込コード
を保持するベクトル制御レジスタである0例えば32ビ
ツト・3語である。a, V CR (vector control re)
(gister): A vector control register that holds 15VU control information and interrupt codes.For example, it is 32 bits and 3 words.
V U T (vector unit tiger
)/ V WT(vector wait ti+5e
r) : 39ベクトル命令の処理時間や実行待ち時
間を例えば1マイクロ秒ごとに計数するタイマである。VUT (vector unit tiger)
) / V WT (vector wait ti+5e
r): This is a timer that counts the processing time and execution waiting time of 39 vector instructions, for example, every 1 microsecond.
I AMA R(instruction addre
ss @odifyasount register)
: 19 (補正値レジスタ)、ベクトル命令の例
外を起こした命令のアドレスを求めるための補正値(I
AMA)を計数するレジスタである(第1図参照)。I AM A R (instruction address)
ss @odifyasount register)
: 19 (correction value register), correction value (I
This is a register for counting AMA) (see FIG. 1).
ステート制御部:41
VUのステートの管理機構である。VUで検出した例外
、マシンチエツクなどによりステートの遷移を行う。以
下の4つのステートがある。State control unit: 41 This is a VU state management mechanism. State transitions are performed based on exceptions detected by the VU, machine checks, etc. There are four states:
PROCESS ステート
−EχCEPTION ステート
MACHINE CHECK ステートCHECK
5TOP ステート
■ SUインタフェース動作
(受信データの形式)
1個のベクトル命令に対して、SUは4バイトのデータ
を4回連続して転送する。前半の2回では命令コード(
6バイト全体)と制御情報(FCR,PSW、CR15
Rの一部)をIV(instruction vali
d)信号とともに転送する。PROCESS State-EχCEPTION State MACHINE CHECK State CHECK
5TOP State ■ SU interface operation (received data format) For one vector instruction, the SU transfers 4 bytes of data four times in succession. In the first two times, the instruction code (
6 bytes) and control information (FCR, PSW, CR15
IV (instruction vali)
d) Transfer with the signal.
後半の2回はオペランドに関する情報をDV(data
valid)信号とともに転送する。In the latter two times, information about the operands is stored in DV (data
valid) signal.
ベクトル命令にはVR形式と■X形式とがある。第9図
は命令形式によって決められている転送内容を示す。There are two types of vector instructions: VR format and ■X format. FIG. 9 shows the transfer contents determined by the command format.
(パイプラインとの関係)
第10図はADVANCE−OFF時の命令実行とIA
MAの更新とについてADD命令を例にとり示す。Vl
−UNIT20のパイプラインは第9図図示の1’5t
lVを受取った次のサイクルから開始される。VHSお
よびVTSステージはベクトル・リードのアクセス回数
により可変となる。(Relationship with pipeline) Figure 10 shows instruction execution and IA when ADVANCE-OFF.
Regarding MA updating, the ADD command will be taken as an example. Vl
-UNIT20 pipeline is 1'5t as shown in Figure 9
It starts from the next cycle after receiving lV. The VHS and VTS stages are variable depending on the number of vector read accesses.
補正値レジスタ(IAMA)19の内容は命令受信を終
了した2サイクル後に−6され、言うまでもなく1次々
と命令が受信されるにつれて補正値レジスタ19の値は
−12,−18゜・・・・・・となる。そして命令が終
了されるとその都度vWSステージの次のサイクルでレ
ジスタ19の内容は+6される。ただしIAMAは非先
行制御モードのときだけ更新され、先行制御モードで、
は常に0である。また制御命令がベクトルユニットに転
送されたときには、先行制御モードであっても更新が行
われることは、先に述べた通りである。The contents of the correction value register (IAMA) 19 are decremented by -6 two cycles after the command reception is completed, and needless to say, as the commands are received one after another, the value of the correction value register 19 changes to -12, -18°, etc. ...becomes. Each time an instruction is completed, the contents of the register 19 are incremented by 6 in the next cycle of the vWS stage. However, IAMA is updated only in non-preemptive control mode, and in preemptive control mode,
is always 0. Further, as described above, when the control command is transferred to the vector unit, updating is performed even in advance control mode.
第11図(A)(B)(C)は補正値レジスタに対する
制御回路を示す。図中の符号18は第1図図示の制御命
令ペンディング信号オン/オフ・ラッチを表す、42な
いし45はアンド回路、46ないし49はオア回路を表
す。FIGS. 11(A), 11(B), and 11(C) show control circuits for the correction value register. Reference numeral 18 in the figure represents the control command pending signal on/off latch shown in FIG. 1, 42 to 45 represent AND circuits, and 46 to 49 represent OR circuits.
図に示される入力信号および出力信号は夫々次の内容を
示している。即ち。The input signals and output signals shown in the figure have the following contents, respectively. That is.
(a)+FST3 :
スカラユニント101からベクトルユニット102へは
命令はΔτかけて転送されるが、この際の4τ目をフェ
ッチ・ステージ・タイミング3 (Fetch Sta
ge Timing3− F S T 3 )と呼んで
おり、当該信号子FST3はこの4τ目を表す。(a) +FST3: The instruction is transferred from the scalar unit 101 to the vector unit 102 by applying Δτ, but at this time, the 4th τ fetch stage timing 3 (Fetch Sta
ge Timing3-FST3), and the signal child FST3 represents this 4th τ.
(b) 十5Q−INSTニ
スカラユニット101からベクトルユニット102へベ
クトル命令が転送されたとき命令のオペレーション・コ
ードをデコードした信号であって制御命令であることを
表す。(b) 15Q-INST This is a signal obtained by decoding the operation code of the instruction when the vector instruction is transferred from the NISCARA unit 101 to the vector unit 102, and indicates that it is a control instruction.
(c) 十5TART−3Q:
制御命令が、第10図図示のW y Q S ?ステー
ジからスタートしたことを表す。(c) 15TART-3Q: Is the control command W y Q S shown in FIG. 10? Indicates that you started from the stage.
(d)+RUPT−CLEAR: 割込み処理終了時のクリヤ信号を表す。(d) +RUPT-CLEAR: Represents a clear signal at the end of interrupt processing.
(e)+ADVANCE−OFF :
第2図に関連して説明した如きAD−OFF信号と同じ
ものであって並列処理可を表す。(e) +ADVANCE-OFF: This is the same as the AD-OFF signal as explained in connection with FIG. 2, and indicates that parallel processing is possible.
(f)+DEC−IAMA: IAMAの値をデクリメントすることを指示する。(f)+DEC-IAMA: Instructs to decrement the value of IAMA.
(g)+DECREMEN’r−IAMA−3PCL:
AD−ONの下で完了型例外が発生した時に5Q−IN
ST信号が待ったときを表す。(g) +DECREMEN'r-IAMA-3PCL: 5Q-IN when a completion type exception occurs under AD-ON
Indicates when the ST signal is waited.
(h)+DEC−IAMA−TRtJE :LA M
AO値をデクリメントすることを表す。(h)+DEC-IAMA-TRtJE :LA M
Represents decrementing the AO value.
(i)+1NSTRUCTTON−END:命令の終了
を表す。(i) +1NSTRUCTTON-END: Indicates the end of the instruction.
(j)十完了型割込み無: 完了型割込みでないことを表す。(j) No completion type interrupt: Indicates that it is not a completion type interrupt.
(k)+AD−〇N→OFFに変更した制御命令でない
:
AD−ONからAD−OFFに変更することを指示した
制御命令でないことを表す。(k) Not a control command that changed from +AD-〇N to OFF: Indicates that this is not a control command that instructs to change from AD-ON to AD-OFF.
(1)+ I NC−I AMA−TRUE :I A
MAの値をインクリメントすることを表す。(1) + I NC-I AMA-TRUE :I A
Indicates that the value of MA is to be incremented.
(m)+ADVANCE−ON :
第3図に関連して説明した如きAD−ON信号と同じも
のであって並列処理を禁止していることを表す。(m) +ADVANCE-ON: This is the same as the AD-ON signal as explained in connection with FIG. 3, and indicates that parallel processing is prohibited.
(n)+5Q−T N5T−3TART :5Q−IN
ST信号がスタートしたことを表す。(n)+5Q-T N5T-3TART:5Q-IN
Indicates that the ST signal has started.
(0)+側込み処理終了: 割込み処理が終了したことを表す。(0) + side-in processing completed: Indicates that interrupt processing has ended.
(p)+マシンチエツク処理中: マシンチェソクが行われていることを表す。(p) + Machine check processing: Indicates that machine chaesok is being performed.
(Q)+5ETO: I AMAの値に零をセットすることを表す。(Q)+5ETO: I represents setting the value of AMA to zero.
この信号はデクリメントやインクリメントよりも優先し
て与えられる。This signal is given priority over decrement and increment.
以上の如き信号を用いることによって、第11図(A)
においてはI AMAをデクリメントすることが与えら
れ、第11図CB)においてはI AMAをインクリメ
ントすることが与えられ。By using the above signals, FIG. 11(A)
In FIG. 11 CB) it is given to decrement I AMA, and in FIG. 11 CB) it is given to increment I AMA.
第11図(C)においてはIAMAをクリヤすることが
与えられる。In FIG. 11(C), clearing IAMA is provided.
第12図は本発明が適用される如き並列処理計算機シス
テムの従来からの一般的な構成を示す。FIG. 12 shows a conventional general configuration of a parallel processing computer system to which the present invention is applied.
図中の符号101はスカラユニット、102はベクトル
ユニット、103は主記憶装置、104はスカラユニッ
ト内演算処理部、105はスカラユニノト内命令管理部
、106はスカラユニント内メモリアクセス処理部、1
07はベクトルユニット内演算処理部。In the figure, reference numeral 101 is a scalar unit, 102 is a vector unit, 103 is a main memory, 104 is an arithmetic processing section within the scalar unit, 105 is an instruction management section within the scalar unit, 106 is a memory access processing section within the scalar unit, 1
07 is an arithmetic processing section within the vector unit.
10Bはベクトルユニット内命令管理部、109はベク
トルユニット内メモリアクセス処理部、200はメモリ
制御ユニットを表している。10B represents an intra-vector unit instruction management section, 109 represents an intra-vector unit memory access processing section, and 200 represents a memory control unit.
スカラユニット101 とベクトルユニット102とは
一般には並行的に処理が実行される。即ちスカラユニノ
ト101側からベクトルユニット102に対して、ベク
トル演算が指示される。ベクトルユニット102内にお
いては、命令管理部108内で当該ベクトル命令がバン
ファリングされ、演算処理部107やメモリアクセス処
理部109と交信しつつ夫々のベクトル命令がパイプラ
イン処理されてゆく。またスカラユニット101内にお
いても、命令管理部105が演算処理部104やメモリ
アクセス処理部106と交信しつつ、スカラ命令を実行
してゆく。The scalar unit 101 and the vector unit 102 generally perform processing in parallel. That is, the scalar unit 101 instructs the vector unit 102 to perform vector calculation. In the vector unit 102, the vector instructions are buffered in the instruction management section 108, and each vector instruction is pipeline processed while communicating with the arithmetic processing section 107 and the memory access processing section 109. Also within the scalar unit 101, the instruction management section 105 executes scalar instructions while communicating with the arithmetic processing section 104 and the memory access processing section 106.
通常の場合には上記並行処理が許されている(アドバン
ス・オフ・モード)が、必要に応してアドバンス・オン
・モードとされ、上記両種類の命令の実行がクリヤライ
ズされることがある。In normal cases, the parallel processing described above is allowed (advanced off mode), but if necessary, the advanced on mode may be set and execution of both types of instructions mentioned above may be cleared.
なお第12図図示のメモリ制御ユニット200は主記憶
装置103に対するアクセスを制御する役割をはたして
いる。Note that the memory control unit 200 shown in FIG. 12 plays a role of controlling access to the main storage device 103.
第12図開示の構成において、ベクトルユニット102
においてプログラム例外が発生すると、この旨がスカラ
ユニノト101の命令管理部105に通知され1割込み
処理実行体(ハイパーバイザHP■やVMモニタやホス
トなど)に対して割込みが行われて、対応処理が行われ
る。また、スカラユニノ目01において割込み原因が生
しても、同様に対応処理が行われる。In the configuration disclosed in FIG.
When a program exception occurs, the command management unit 105 of the Scalar Uninote 101 is notified of this, an interrupt is issued to one interrupt processing execution body (hypervisor HP, VM monitor, host, etc.), and the corresponding processing is performed. be exposed. Furthermore, even if an interrupt cause occurs in scalar unit 01, corresponding processing is performed in the same way.
[発明の効果]
以上説明した如(2本発明によれば、スカラユニットと
ベクトルユニットとの並列処理を許した場合におけるア
ドレス補正(IAMAの値の補正)を容易に行うことが
可能となる。[Effects of the Invention] As described above, according to the present invention, it is possible to easily perform address correction (correction of IAMA value) when parallel processing of a scalar unit and a vector unit is allowed.
第1図は本発明の原理説明図、第2図はADVA N
CE、−OF FからADVANCE−OFFへ持続す
る場合の処理態様、第3図はADVANCE−OFFか
らADVANCE−ONへ変更する場合の処理態様、第
4図はAD、VANCE−ONからADVANCE−O
Nへ持続する場合の処理態様、第5図はADVANCE
−ONからADVANCE−OFFへ変更する場合の処
理態様、第6図はADVANCE−OFFの下でSQ命
令の手前で例外が生した場合の処理態様、第7図はAD
VANCE−ONの下でSQ命令の手前で例外が生じた
場合の処理態様、第8図はベクトルユニット内の命令ユ
ニットの構成を説明する説明図第9図は命令形式によっ
て決められている転送内容、第10図はADVANCE
−OFF時の命令実行とIAMAの更新とについての説
明、第11図(A)(B)(C)は夫々IA’MAの制
御についての構成、第12図は本発明が適用される如き
並列処理計算機システムの構成を示す。
図中、101はスカラユニント102はベクトルユニソ
)、 103は主記憶装置、 104.107は演
算処理部、 105.108は命令管理部、 10
6,109はメモリアクセス処理部、 200はメモ
リ制御ユニント、11はベクトル命令入力ステージ、1
2はベクトル命令ハソファ、13は命令管理パイプ部。
14はベクトル命令終了ステージ、15はベクトル・コ
ントロール・レジスタ、16はデクリメント+AMAl
ll?1部、17はインクリメントIAMA制御部、1
8は制御命令ペンディング信号オン/オフ・ランチ、1
9は補正値レジスタを表す。
空間
ADVANCE−OFF−ADVANCE−OFFの滉
合第 2 口
〈べ“クトル命令入力ステーシ〉
〈ヘクθし命令終ゴステージ゛〉
ADVANCE OFF −ADVANCE ON 0
91合〈ベクトル命令入力ステージ〉
DECREMENT
■
〈ベクトル命令終了ステージ゛〉
TNC随MENT
AD−ON
ADVANCE
ON −ADVANCE ON ノ塙合くベクトノし命
令入力ステーシ〉
〈ベクトル命令終了ステージ〉
ADVANCE−ON−ADVANCE−OFFの場合
第5図
〈へ゛クトノ(−1m+λカステーシ〉〈ベク緋命令終
了ステージ〉
AD−OFF r−SQ命令の手前で例外発生第6図
〈ベクトル命令入力ステージ〉
〈ベクリし命令終了ステージ〉
OECREMENT
1
■
AD−ONr:SQ命命令0前前vFE了fl’J外t
l生第7図
+
+
+
÷Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is an illustration of the principle of the present invention.
CE, -OFF Processing mode when continuing from F to ADVANCE-OFF, Figure 3 shows processing mode when changing from ADVANCE-OFF to ADVANCE-ON, Figure 4 shows AD, from VANCE-ON to ADVANCE-O
Processing mode when continuing to N, Figure 5 is ADVANCE
Figure 6 shows the processing when changing from -ON to ADVANCE-OFF, and Figure 6 shows the processing when an exception occurs before the SQ instruction under ADVANCE-OFF.
Processing mode when an exception occurs before the SQ instruction under VANCE-ON, Figure 8 is an explanatory diagram explaining the configuration of the instruction unit in the vector unit Figure 9 is the transfer content determined by the instruction format , Figure 10 is ADVANCE
- Explanation of instruction execution and update of IAMA when OFF, Figures 11 (A), (B), and (C) are configurations of IA'MA control, respectively, Figure 12 is a parallel configuration to which the present invention is applied. The configuration of the processing computer system is shown. In the figure, 101 is a scalar unit (102 is a vector unit), 103 is a main memory, 104.107 is an arithmetic processing unit, 105.108 is an instruction management unit, 10
6, 109 is a memory access processing unit, 200 is a memory control unit, 11 is a vector instruction input stage, 1
2 is a vector instruction processor, and 13 is an instruction management pipe section. 14 is the vector instruction end stage, 15 is the vector control register, and 16 is decrement + AMAl.
Ill? 1 part, 17 is an increment IAMA control part, 1
8 is control command pending signal on/off launch, 1
9 represents a correction value register. Combination of space ADVANCE-OFF-ADVANCE-OFF 2nd opening <Vector command input station><Hex θ command end stage> ADVANCE OFF - ADVANCE ON 0
91st stage <Vector instruction input stage> DECREMENT ■ <Vector instruction end stage> TNC MENT AD-ON ADVANCE ON -ADVANCE ON NCE- In the case of OFF, Figure 5 (-1m+λ caste) (Vector scarlet instruction end stage) AD-OFF An exception occurs before the r-SQ instruction Figure 6 (Vector instruction input stage) (Vector command end stage) OECREMENT 1 ■ AD-ONr: SQ command before command 0 vFE completed fl'J outside t
l Life Figure 7 + + + ÷
Claims (3)
とベクトル命令を処理するベクトルユニット(102)
と主記憶装置(103)とから構成されてなり、スカラ
命令とベクトル命令との間あるいは、ベクトル命令同士
の間で並列実行が行われ、かつプログラム例外による割
込みが発生した場合に、旧プログラム・ステータス・ワ
ードが割込みの発生した命令の次の命令を示すことを保
障するデバッグモードを有する並列処理計算機において
、 割込みの発生に当たって実行されなかったベクトル命令
の長さを示す補正値レジスタ(19)をもうけると共に
、 少なくとも、上記デバッグモードのオン/オフを変更す
る命令を含む制御命令がベクトルユニット(102)に
入力されたときにセットされ、上記制御命令が実行され
たときにリセットされる制御命令ペンディング信号をも
うけ、 かつ上記デバッグモードがオフのときかあるいは制御命
令ペンディング信号がオンのときにベクトル命令がベク
トルユニット(102)に送られたら上記補正値レジス
タ(19)を第1の方向に変更し、 デバッグモードがオフのときにベクトル命令が終了した
ら上記補正値レジスタ(19)を第2の方向に変更する
よう構成してなり、 プログラム例外発生時には、上記補正値レジスタ(19
)の内容をスカラユニット(101)に転送し、スカラ
ユニット(101)では旧プログラム・ステータス・ワ
ードの値を上記補正値レジスタの内容で補正する ことを特徴とする割込みアドレス補正処理方式。(1) Scalar unit (101) that processes scalar instructions
and a vector unit (102) that processes vector instructions.
and a main memory (103), and when parallel execution is performed between scalar instructions and vector instructions or between vector instructions and an interrupt due to a program exception occurs, the old program In a parallel processing computer having a debug mode that ensures that the status word indicates the instruction following the instruction in which the interrupt occurred, a correction value register (19) is provided that indicates the length of the vector instruction that was not executed when the interrupt occurred. A control instruction pending which is set when a control instruction including at least an instruction to turn on/off the debug mode is input to the vector unit (102) and reset when the control instruction is executed. signal is generated, and when a vector command is sent to the vector unit (102) while the debug mode is off or the control command pending signal is on, change the correction value register (19) to the first direction. , when the vector instruction is completed when the debug mode is off, the correction value register (19) is changed to the second direction, and when a program exception occurs, the correction value register (19) is changed to the second direction.
) is transferred to a scalar unit (101), and the scalar unit (101) corrects the value of the old program status word with the content of the correction value register.
処理を行うと共に、上記ベクトルユニット(102)に
対してベクトル命令を供給するよう構成され。 上記ベクトルユニット(102)は、上記スカラユニッ
ト(101)から供給されたベクトル命令をバッファリ
ングすると共に個々のベクトル命令をパイプライン処理
の下で実行するよう構成されてなり、 上記ベクトルユニット(102)において上記プログラ
ム例外が発生した際に、当該ベクトルユニット(102
)が当該例外の発生を上記スカラユニット(101)に
通知し、その後に上記補正値レジスタの内容を上記スカ
ラユニット(101)に通知する ことを特徴とする請求項(1)記載の割込みアドレス補
正処理方式。(2) In the parallel processing computer, the scalar unit (101) is configured to perform scalar arithmetic processing within itself and supply vector instructions to the vector unit (102). The vector unit (102) is configured to buffer the vector instructions supplied from the scalar unit (101) and execute each vector instruction under pipeline processing, and the vector unit (102) When the above program exception occurs in the vector unit (102
) notifies the scalar unit (101) of the occurrence of the exception, and then notifies the scalar unit (101) of the contents of the correction value register. Processing method.
ユニット(101)からのベクトル命令を受付けるベク
トル命令入力ステージ(11)と、個々のベクトル命令
の終了に対処するベクトル命令終了ステージ(14)と
をそなえ、 上記両者ステージ(11,14)からの指示に対応して
、上記補正値レジスタの内容を補正する指示が制御され
る ことを特徴とする請求項(1)記載の割込みアドレス補
正処理方式。(3) The vector unit (102) has a vector instruction input stage (11) that receives vector instructions from the scalar unit (101), and a vector instruction termination stage (14) that handles termination of each vector instruction. The interrupt address correction processing method according to claim 1, wherein an instruction to correct the contents of the correction value register is controlled in response to instructions from both the stages (11, 14).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2084707A JPH03282963A (en) | 1990-03-30 | 1990-03-30 | Interruption address correcting processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2084707A JPH03282963A (en) | 1990-03-30 | 1990-03-30 | Interruption address correcting processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03282963A true JPH03282963A (en) | 1991-12-13 |
Family
ID=13838138
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2084707A Pending JPH03282963A (en) | 1990-03-30 | 1990-03-30 | Interruption address correcting processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03282963A (en) |
-
1990
- 1990-03-30 JP JP2084707A patent/JPH03282963A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0464615B1 (en) | Microcomputer equipped with DMA controller | |
| US5694617A (en) | System for prioritizing quiesce requests and recovering from a quiescent state in a multiprocessing system with a milli-mode operation | |
| JPS5932045A (en) | information processing equipment | |
| JPH04649A (en) | Fault information transfer system for remote channel device | |
| JPS6356747A (en) | Data processor | |
| JPH0810437B2 (en) | Guest execution control method for virtual machine system | |
| EP0385136B1 (en) | Microprocessor cooperating with a coprocessor | |
| JPH03282963A (en) | Interruption address correcting processing system | |
| US4566062A (en) | Timing control system in data processor | |
| JPS586971B2 (en) | arithmetic processing unit | |
| JPH04288625A (en) | Microcomputer | |
| JP2846760B2 (en) | Programmable controller | |
| JPH04181331A (en) | Instruction retry system | |
| CN121326409A (en) | Processor system and interrupt response method | |
| CN121187734A (en) | An interrupt response method and system for an embedded processor | |
| JPH05120155A (en) | Microprogram controller | |
| JPS58166454A (en) | data processing equipment | |
| JPS63155330A (en) | Microprogram controller | |
| JPH0555895B2 (en) | ||
| JPH0472266B2 (en) | ||
| JPH0530950U (en) | Information processing equipment | |
| JPH02148329A (en) | System for controlling register access competition | |
| JPS5896346A (en) | Hierarchical calculation method | |
| JPS6149695B2 (en) | ||
| JPS5848150A (en) | Preventing system for influence of fault |