JPH0916399A - Computer - Google Patents

Computer

Info

Publication number
JPH0916399A
JPH0916399A JP16635195A JP16635195A JPH0916399A JP H0916399 A JPH0916399 A JP H0916399A JP 16635195 A JP16635195 A JP 16635195A JP 16635195 A JP16635195 A JP 16635195A JP H0916399 A JPH0916399 A JP H0916399A
Authority
JP
Japan
Prior art keywords
instruction
register
processing
pipeline
executed
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.)
Granted
Application number
JP16635195A
Other languages
Japanese (ja)
Other versions
JP3490191B2 (en
Inventor
Akira Yamashita
亮 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP16635195A priority Critical patent/JP3490191B2/en
Publication of JPH0916399A publication Critical patent/JPH0916399A/en
Application granted granted Critical
Publication of JP3490191B2 publication Critical patent/JP3490191B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To execute processing at high speed without wasting processings hitherto executed at the time of recovery even when interrupting processing is generated by providing a control means for reading the middle processing result from a storage means and an instruction executing means for executing an instruction after the middle processing result read by the control means. CONSTITUTION: When no interruption is generated, the instructions are successively executed in the other of respective stages by a control circuit 14. When a certain instruction is put into a pipeline and interrupting processing is generated during successive execution, the middle processing result of the instruction under executing is stored in a storage means such as registers 10-13, an interim processing result is read from the registers 10-13 or the like after the interrupting processing is executed, and the instruction is executed from the following register position. Therefore, even when the interrupting processing is generated, recovery efficiency is improved without wasting processings hitherto executed. As a result, processing speed is accelerated and processing efficiency can be improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、命令をパイプライン処
理によって実行する計算機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer that executes instructions by pipeline processing.

【0002】[0002]

【従来の技術】従来から、パイプラインで命令を実行す
る計算機は、割り込み処理が発生したときに復帰に時間
がかかるため改善が望まれている。
2. Description of the Related Art Conventionally, a computer that executes an instruction in a pipeline has been required to be improved because it takes time to recover when an interrupt process occurs.

【0003】従来の計算機では、内部の加算器(演算
器)において命令実行が実行されるが、命令実行中に割
り込みが発生したときには、以下に示すように命令が処
理される。 すなわち、図4に示すように、Fステー
ジ、Dステージ、EステージおよびWステージなどから
なるパイプラインに複数の命令、例えば命令 1、 2、
3、4、 5、 6などが順次投入され実行中、外部からの割
り込み信号により、割り込みが発生すると、割り込み発
生時にパイプラインに投入されていた命令 3、 4、5、
6は全てキャンセルされ、このときの処理結果や処理途
中の情報も失われる。つまり実行中の命令と処理結果が
全て無効になる。
In a conventional computer, an internal adder (arithmetic unit) executes an instruction. When an interrupt occurs during the execution of an instruction, the instruction is processed as shown below. That is, as shown in FIG. 4, a pipeline including an F stage, a D stage, an E stage, and a W stage has a plurality of instructions, for example, instructions 1, 2,
When 3, 4, 5, 6 etc. are sequentially issued and executed and an interrupt is generated by an external interrupt signal, the instructions 3, 4, 5, which were input to the pipeline when the interrupt occurred
All 6 are canceled, and the processing result and information in the process at this time are also lost. That is, all the instructions being executed and the processing results are invalidated.

【0004】したがって、割り込み処理終了後にキャン
セルされた前の命令を再実行させるためには、復帰後、
無効になった命令を初めから、つまり命令 3からパイプ
ラインに投入し直す必要がある。
Therefore, in order to re-execute the previously canceled instruction after the interrupt processing is completed,
The invalidated instruction must be reintroduced into the pipeline from the beginning, that is, from instruction 3.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、これで
は、それまで実行していた命令の処理時間が無駄になる
ばかりか命令を再投入するためのロスが発生し処理が遅
くなるという問題があった。
However, this has a problem that not only the processing time of the instruction that has been executed up to that point is wasted, but also the loss for re-inputting the instruction occurs and the processing becomes slow. .

【0006】本発明はこのような課題を解決するために
なされたもので、割り込み処理が発生しても、復帰時に
それまでの処理が無駄にならず処理を高速に実行するこ
とのできる計算機を提供することを目的としている。
The present invention has been made in order to solve such a problem. Even if an interrupt process occurs, a computer capable of executing the process at high speed without wasting the process up to that point at the time of restoration. It is intended to be provided.

【0007】[0007]

【課題を解決するための手段】上記した目的を達成する
ために、請求項1記載の計算機は、複数段からなるパイ
プラインに命令を順次投入し実行する計算機において、
前記パイプラインの各段の命令処理結果が記憶される記
憶手段と、前記命令が前記パイプラインの各段により順
次実行中、割り込み処理が発生すると、前記各段の命令
処理結果を前記記憶手段に記憶し、前記割り込み処理を
実行後、前記記憶手段に記憶されていた前記途中処理結
果を読み出す制御手段と、前記制御手段により読み出さ
れた途中処理結果以降の命令を実行する命令実行手段と
を具備している。
In order to achieve the above object, a computer according to a first aspect of the present invention is a computer that sequentially inputs and executes instructions in a pipeline consisting of a plurality of stages.
Storage means for storing the instruction processing result of each stage of the pipeline; and, when interrupt processing occurs while the instruction is being sequentially executed by each stage of the pipeline, the instruction processing result of each stage is stored in the storage means. Control means for storing and executing the interrupt processing, and for reading the intermediate processing result stored in the storage means; and instruction executing means for executing an instruction after the intermediate processing result read by the control means. It has.

【0008】また請求項2記載の計算機は、複数段から
なるパイプラインに命令を順次投入し実行する計算機に
おいて、前記パイプライン内のレジスタの値が記憶され
る記憶手段と、前記命令が前記パイプラインの各段によ
り順次実行中、割り込み処理が発生すると、前記パイプ
ライン内のレジスタの値を前記記憶手段に記憶し、前記
割り込み処理を実行後、前記記憶手段に記憶されていた
前記レジスタの値を読み出す制御手段と、前記制御手段
により読み出されたレジスタの値を前記パイプライン内
の各レジスタに設定し、その位置から命令を実行する命
令実行手段とを具備している。
According to a second aspect of the present invention, in a computer that sequentially inputs and executes instructions in a pipeline consisting of a plurality of stages, a storage means for storing a value of a register in the pipeline, and the instruction is the pipe. When interrupt processing occurs during sequential execution by each stage of the line, the value of the register in the pipeline is stored in the storage means, and after the interrupt processing is executed, the value of the register stored in the storage means. And a command execution unit that sets the value of the register read by the control unit to each register in the pipeline and executes the command from that position.

【0009】[0009]

【作用】本発明では、命令をパイプラインに投入し実行
中、割り込み処理が発生すると、実行中の命令の途中処
理結果が記憶手段に記憶される。そして割り込み処理終
了後に、その途中処理結果が記憶手段から読み出されて
処理結果以降の命令から再実行される。
According to the present invention, when an instruction is input to the pipeline and an interrupt process occurs during execution, the intermediate processing result of the instruction being executed is stored in the storage means. Then, after the interrupt processing is completed, the intermediate processing result is read from the storage means and re-executed from the instruction after the processing result.

【0010】また命令をパイプラインに投入し実行中、
割り込み処理が発生すると、実行中の命令のパイプライ
ンレジスタの値が記憶手段に記憶される。そして割り込
み処理終了した後に、そのレジスタの値が各レジスタに
設定されたて、その位置から命令が再実行される。
In addition, when an instruction is input to the pipeline and is being executed,
When interrupt processing occurs, the value of the pipeline register of the instruction being executed is stored in the storage means. After the interrupt processing is completed, the value of that register is set in each register and the instruction is re-executed from that position.

【0011】したがって、割り込み処理が発生しても、
復帰に時間がかからず、それまでの処理も無駄にならな
くなる。
Therefore, even if interrupt processing occurs,
It takes no time to recover, and the processing up to that point is not wasted.

【0012】この結果、処理が高速化し、処理効率を向
上することができる。
As a result, the processing speed can be increased and the processing efficiency can be improved.

【0013】[0013]

【実施例】以下、本発明の実施例を図面を参照して詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は本発明に係る一実施例の計算機の構
成を示す図である。
FIG. 1 is a diagram showing the configuration of a computer according to an embodiment of the present invention.

【0015】同図において、1はレジスタであり、命令
を格納する。2はデコーダ(論理回路)であり、レジス
タ1に格納された命令を解読して、レジスタファイル3
からデータを読み出すためのレジスタを指定する信号
と、計算結果を書き込むレジスタを指定する信号を生成
する。3はレジスタファイルであり、内部にレジスタR
0〜レジスタR15の16個のレジスタを有しており、計
算に必要なデータ、計算結果が格納される。4はレジス
タであり、デコーダ2で生成された計算結果が格納され
るレジスタを指定する信号や、レジスタファイル3への
格納許可信号が格納される。5はレジスタであり、レジ
スタファイル3から読み出されたデータが格納される。
6はレジスタであり、レジスタファイル3から読み出さ
れたデータが格納される。7は加算器(ALU)であ
り、レジスタ5とレジスタ6のレジスタ値を加算してレ
ジスタ9に格納する。この加算器7は命令フェッチ(F
ステージ)、デコード(Dステージ)、実行(Eステー
ジ)、書き込み(Wステージ)の 4段のパイプラインか
ら構成されている。8はレジスタであり、レジスタ4か
らの信号が格納される。9はレジスタであり、加算器7
で計算された結果が格納される。10、11、12、1
3はレジスタであり、制御信号に従ってレジスタ8、9
の値が格納される。14は制御回路であり、パイプライ
ンのキャンセルが起こった場合、キャンセルされた命令
の演算結果をレジスタ10、11、12、13に順番に
格納するための制御信号を生成する。
In the figure, reference numeral 1 is a register for storing an instruction. Reference numeral 2 is a decoder (logic circuit), which decodes the instruction stored in the register 1 to generate the register file 3
A signal designating a register for reading data from and a signal designating a register for writing a calculation result are generated. 3 is a register file, which internally has a register R
It has 16 registers of 0 to register R15, and stores data necessary for calculation and calculation result. Reference numeral 4 denotes a register in which a signal designating a register in which the calculation result generated by the decoder 2 is stored and a storage permission signal in the register file 3 are stored. Reference numeral 5 is a register in which the data read from the register file 3 is stored.
Reference numeral 6 is a register in which the data read from the register file 3 is stored. An adder (ALU) 7 adds the register values of the registers 5 and 6 and stores them in the register 9. This adder 7 has an instruction fetch (F
The pipeline consists of four stages: stage), decode (D stage), execution (E stage), and write (W stage). Reference numeral 8 is a register in which the signal from the register 4 is stored. 9 is a register, and the adder 7
The result calculated in is stored. 10, 11, 12, 1
3 is a register, and registers 8 and 9 according to the control signal
The value of is stored. Reference numeral 14 denotes a control circuit, which generates a control signal for sequentially storing the operation result of the canceled instruction in the registers 10, 11, 12, and 13 when the pipeline cancellation occurs.

【0016】この計算機では、加算器7にて以下の命令
が実行される。
In this computer, the adder 7 executes the following instructions.

【0017】命令1…ADD(R0,R1,R8);命
令2…ADD(R1,R2,R9);命令3…ADD
(R2,R3,R10);命令4…ADD(R3,R
4,R11);命令5…ADD(R4,R5,R1
2);命令6…ADD(R5,R6,R13);命令7
…ADD(R6,R7,R14);命令8…ADD(R
7,R0,R15);命令9…ST(R8,100
0);命令10…ST(R9,1010);・・・。
Instruction 1 ... ADD (R0, R1, R8); Instruction 2 ... ADD (R1, R2, R9); Instruction 3 ... ADD
(R2, R3, R10); instruction 4 ... ADD (R3, R
4, R11); instruction 5 ... ADD (R4, R5, R1
2); instruction 6 ... ADD (R5, R6, R13); instruction 7
... ADD (R6, R7, R14); instruction 8 ... ADD (R
7, R0, R15); instruction 9 ... ST (R8, 100)
0); instruction 10 ... ST (R9, 1010);

【0018】ここで、ADDは加算命令であり、例えば
ADD(R0,R1,R2)であれば、レジスタR0の
値とレジスタR1の値を加算してレジスタR2に格納す
ることを示す。STはストア命令であり、例えばST
(R0,1000)であれば、レジスタR0の値をメモ
リの1000番地に書き込むことを示す。
Here, ADD is an addition instruction. For example, if ADD (R0, R1, R2), it indicates that the value of register R0 and the value of register R1 are added and stored in register R2. ST is a store instruction, for example, ST
If it is (R0, 1000), it indicates that the value of the register R0 is written to the address 1000 of the memory.

【0019】レジスタファイル3の初期状態は、以下の
通りである。
The initial state of the register file 3 is as follows.

【0020】レジスタR0:0×0、レジスタR1:0
×1、レジスタR2:0×2、レジスタR3:0×3、
レジスタR4:0×4、レジスタR5:0×6、レジス
タR6:0×6、レジスタR7:0×7、レジスタR
8:0×8、レジスタR9:0×9、レジスタR10:
0×A、レジスタR11:0×B、レジスタR12:0
×C、レジスタR13:0×D、レジスタR14:0×
E、レジスタR15:0×F。
Register R0: 0 × 0, Register R1: 0
X1, register R2: 0x2, register R3: 0x3,
Register R4: 0x4, Register R5: 0x6, Register R6: 0x6, Register R7: 0x7, Register R
8: 0 × 8, register R9: 0 × 9, register R10:
0xA, register R11: 0xB, register R12: 0
× C, register R13: 0 × D, register R14: 0 ×
E, register R15: 0 × F.

【0021】この計算機では、割り込み処理は命令aか
ら命令fまで実行され、その後、通常の処理に復帰する
ものとする。
In this computer, it is assumed that the interrupt processing is executed from the instruction a to the instruction f, and then the normal processing is restored.

【0022】次に、図2〜図3を参照しこの計算機の動
作を説明する。
Next, the operation of this computer will be described with reference to FIGS.

【0023】この計算機の場合、図2に示すように、割
り込みが発生しないときは、制御回路14によって、F
ステージ→Dステージ→Eステージ→Wステージの順に
命令1〜命令 9などが順次実行される。
In the case of this computer, as shown in FIG. 2, when the interrupt does not occur, the control circuit 14 causes the F
Instructions 1 to 9 are sequentially executed in the order of stage → D stage → E stage → W stage.

【0024】一方、上記命令処理中、ある命令を処理し
た時点で割り込みが発生したときは、以下に示すような
命令処理になる。
On the other hand, during the above instruction processing, if an interrupt occurs at the time when a certain instruction is processed, the following instruction processing is performed.

【0025】すなわち、図3に示すように、命令 3のW
ステージで制御回路14が、外部からの割り込み信号
(0真値)を受け取ると、命令 3〜命令 6の各ステージ
の処理はキャンセルされる。
That is, as shown in FIG.
When the control circuit 14 receives an interrupt signal (true value 0) from the outside in the stage, the processing of each stage of the instruction 3 to the instruction 6 is canceled.

【0026】しかし、Eステージまでの命令処理は割り
込みが入らない場合と同様に行われる。
However, the instruction processing up to the E stage is performed in the same way as when the interrupt is not entered.

【0027】この際、Wステージでレジスタファイル3
に結果を書き込む代わりに、命令 3の結果はレジスタ1
0に、命令 4の結果はレジスタ11に、命令 5の結果は
レジスタ12に、命令 6の結果はレジスタ13にそれぞ
れ格納される。
At this time, in the W stage, the register file 3
The result of instruction 3 instead of being written to
The result of instruction 4 is stored in register 11, the result of instruction 5 is stored in register 12, and the result of instruction 6 is stored in register 13.

【0028】つまり命令 6のWステージが完了した時点
では、レジスタ10に演算結果として0×5と、レジス
タファイル番号として“10”、レジスタ11に演算結
果として0×7と、レジスタファイル番号として“1
1”、レジスタ12に演算結果として0×9と、レジス
タファイル番号として“12”、レジスタ13に演算結
果として0×Bと、レジスタファイル番号として“1
3”が書き込まれている。これにより、演算途中の処理
結果と書き込みレジスタファイル番号とがレジスタ1
0、11、12、13などの記憶手段に書き込まれたこ
とになる。
That is, at the time when the W stage of the instruction 6 is completed, the operation result in the register 10 is 0 × 5, the register file number is “10”, the operation result in the register 11 is 0 × 7, and the register file number is “0”. 1
1 ", the register 12 has a calculation result of 0x9, the register file number is" 12 ", the register 13 has a calculation result of 0xB, and the register file number is" 1 ".
3 "is written in this way, so that the processing result in the middle of calculation and the write register file number are registered in the register 1
It is written in the storage means such as 0, 11, 12, and 13.

【0029】そして、命令a〜命令fなどの割り込み処
理が実行され終了し復帰した時点で、命令 3から命令を
実行する指示の場合、命令 3を実行する代わりに命令 Z
を実行する。
Then, when the instruction a to the instruction f and the like are executed and the instruction is executed from the instruction 3 at the time when the interrupt processing is completed and returned, the instruction Z is executed instead of executing the instruction 3.
Execute

【0030】この命令 Zは、キャンセルされた命令(実
施例では命令 3、 4、 5、 6)の実行結果をレジスタ1
0、11、12、13からそれぞれ取り出し、レジスタ
ファイル3に書き込む命令である。
This instruction Z stores the execution result of the canceled instruction (instructions 3, 4, 5, 6 in the embodiment) in the register 1
It is an instruction to extract from 0, 11, 12, and 13 and write to the register file 3.

【0031】またこの命令 Zが実行された後、次の命令
は命令 7から実行するように、図示しないロケーション
カウンタが設定される。なお処理が分岐しないケース、
例えば異常などがなく元のルーチンに戻る場合、現在の
命令のアドレスに 1を足した値を次の命令のアドレスと
するところを、命令 Zを実行した場合は、現在のアドレ
スに 4を足した値を次の命令のアドレスとする。つまり
命令 3の後は、命令 Zを実行し、その後、命令 3に 4を
足した命令 7を実行する。この 4という数字は、パイプ
ラインの段数や命令の実行形態によって変わるものであ
る。
After the instruction Z is executed, the location counter (not shown) is set so that the next instruction is executed from the instruction 7. If the process does not branch,
For example, when returning to the original routine without any error, the value obtained by adding 1 to the address of the current instruction is used as the address of the next instruction, and when executing instruction Z, adding 4 to the current address. Let the value be the address of the next instruction. That is, after instruction 3, instruction Z is executed, and then instruction 7 that is obtained by adding 4 to instruction 3 is executed. The number 4 changes depending on the number of pipeline stages and the instruction execution mode.

【0032】したがって、図3に示すように、命令 Zの
次に命令 7が実行されるようになる。 このように本実
施例の計算機によれば、ある命令をパイプラインに投入
し順次実行中、割り込み処理が発生すると、実行中の命
令の途中処理結果がレジスタ10、11、12、13な
どの記憶手段に記憶され、割り込み処理実行後に、レジ
スタ10、11、12、13などから途中処理結果が読
み出されてその以降のレジスタ位置から命令が実行され
るので、割り込み処理が発生しても、それまでの処理が
無駄にならず復帰効率がよくなる。
Therefore, as shown in FIG. 3, the instruction 7 is executed next to the instruction Z. As described above, according to the computer of the present embodiment, when an interrupt is generated during the sequential execution of a certain instruction in the pipeline, the intermediate processing result of the instruction being executed is stored in the registers 10, 11, 12, 13 and the like. Even if interrupt processing occurs, even if the interrupt processing occurs, the intermediate processing results are read from the registers 10, 11, 12, 13 and the like and are executed after the interrupt processing is executed. The process up to is not wasted, and the recovery efficiency is improved.

【0033】この結果、処理が高速化し、処理効率を向
上することができる。
As a result, the processing speed can be increased and the processing efficiency can be improved.

【0034】なお、本発明は上記実施例のみに限定され
るものではない。
The present invention is not limited to the above embodiment.

【0035】例えばある命令をパイプラインに投入し実
行中、割り込み処理が発生すると、実行中の命令のキャ
ンセルされる各パイプラインレジスタの値、つまりレジ
スタ1、4、5、6、8、9、10、11、12、13
などの値をメモリなどの記憶手段に記憶し、割り込み命
令実行後に、そのメモリから各レジスタ1、4、5、
6、8、9、10、11、12、13の値を読み出しそ
のレジスタ位置から命令を実行してもよい。
For example, when an instruction is input to the pipeline and an interrupt process occurs during execution, the value of each pipeline register in which the instruction being executed is canceled, that is, registers 1, 4, 5, 6, 8, 9, 10, 11, 12, 13
Are stored in a storage means such as a memory, and after execution of the interrupt instruction, the registers 1, 4, 5,
The values of 6, 8, 9, 10, 11, 12, 13 may be read and the instruction executed from that register location.

【0036】この場合、パイプラインレジスタ全ての値
を記憶する必要があるものの、上記実施例同様に、割り
込み処理発生時までの処理が無駄にならず、処理が高速
化し、処理効率を向上することができる。
In this case, although it is necessary to store the values of all the pipeline registers, it is possible to speed up the processing and improve the processing efficiency without wasting the processing until the interrupt processing occurs as in the above embodiment. You can

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、命
令をパイプラインに投入し実行中、割り込み処理が発生
すると、キャンセルされるパイプラインレジスタの値や
命令の途中処理結果が記憶手段に記憶され、割り込み処
理終了後に、パイプラインレジスタの値や命令の途中処
理結果が記憶手段から読み出されてそのレジスタ位置か
ら命令が実行されるので、割り込み処理が発生しても、
復帰時にそれまでの処理が無駄にならず復帰効率がよく
なる。
As described above, according to the present invention, the value of the pipeline register to be canceled and the result of the intermediate processing of the instruction are stored in the storage means when the interrupt processing occurs during the execution of the instruction in the pipeline. After the completion of the interrupt processing, the value of the pipeline register and the intermediate processing result of the instruction are read from the storage means and the instruction is executed from the register position.
At the time of restoration, the processing up to that point is not wasted and the restoration efficiency is improved.

【0038】この結果、処理を高速に実行することがで
きる。
As a result, the processing can be executed at high speed.

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

【図1】本発明に係る一実施例の計算機の構成を示す図
である。
FIG. 1 is a diagram showing a configuration of a computer according to an embodiment of the present invention.

【図2】この計算機において割り込みが発生しないとき
の命令処理を示す図である。
FIG. 2 is a diagram showing instruction processing when an interrupt does not occur in this computer.

【図3】この計算機において命令 3で割り込みが発生し
たときの命令処理を示す図である。
FIG. 3 is a diagram showing instruction processing when an interrupt occurs at instruction 3 in this computer.

【図4】従来の計算機において割り込みが発生したとき
の命令処理を示す図である。
FIG. 4 is a diagram showing instruction processing when an interrupt occurs in a conventional computer.

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

1、4、5、6、8、9、10、11、12、13…レ
ジスタ、2…デコーダ(論理回路)、3…レジスタファ
イル、7…加算器(ALU)、14…制御回路。
1, 4, 5, 6, 8, 9, 10, 11, 12, 13 ... Registers, 2 ... Decoder (logical circuit), 3 ... Register file, 7 ... Adder (ALU), 14 ... Control circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数段からなるパイプラインに命令を順
次投入し実行する計算機において、 前記パイプラインの各段の命令処理結果が記憶される記
憶手段と、 前記命令が前記パイプラインの各段により順次実行中、
割り込み処理が発生すると、前記各段の命令処理結果を
前記記憶手段に記憶し、前記割り込み処理を実行後、前
記記憶手段に記憶されていた前記途中処理結果を読み出
す制御手段と、 前記制御手段により読み出された途中処理結果以降の命
令を実行する命令実行手段とを具備したことを特徴とす
る計算機。
1. A computer that sequentially inputs and executes instructions in a pipeline having a plurality of stages, and a storage unit that stores an instruction processing result of each stage of the pipeline; and the instruction is stored in each stage of the pipeline. Running sequentially,
When an interrupt process occurs, a control unit that stores the instruction process result of each stage in the storage unit, reads the intermediate process result stored in the storage unit after executing the interrupt process, and the control unit. A computer comprising: an instruction executing unit that executes an instruction after the read intermediate processing result.
【請求項2】 複数段からなるパイプラインに命令を順
次投入し実行する計算機において、 前記パイプライン内のレジスタの値が記憶される記憶手
段と、 前記命令が前記パイプラインの各段により順次実行中、
割り込み処理が発生すると、前記パイプライン内のレジ
スタの値を前記記憶手段に記憶し、前記割り込み処理を
実行後、前記記憶手段に記憶されていた前記レジスタの
値を読み出す制御手段と、 前記制御手段により読み出されたレジスタの値を前記パ
イプライン内の各レジスタに設定し、その位置から命令
を実行する命令実行手段とを具備したことを特徴とする
計算機。
2. A computer that sequentially inputs and executes instructions in a pipeline consisting of a plurality of stages, and storage means for storing register values in the pipeline, and the instructions are sequentially executed by each stage of the pipeline. During,
When an interrupt process occurs, the control unit stores the value of the register in the pipeline in the storage unit, and after executing the interrupt process, reads the value of the register stored in the storage unit; And a command execution means for setting the value of the register read by the above to each register in the pipeline and executing the command from that position.
JP16635195A 1995-06-30 1995-06-30 calculator Expired - Fee Related JP3490191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16635195A JP3490191B2 (en) 1995-06-30 1995-06-30 calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16635195A JP3490191B2 (en) 1995-06-30 1995-06-30 calculator

Publications (2)

Publication Number Publication Date
JPH0916399A true JPH0916399A (en) 1997-01-17
JP3490191B2 JP3490191B2 (en) 2004-01-26

Family

ID=15829775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16635195A Expired - Fee Related JP3490191B2 (en) 1995-06-30 1995-06-30 calculator

Country Status (1)

Country Link
JP (1) JP3490191B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6851044B1 (en) 2000-02-16 2005-02-01 Koninklijke Philips Electronics N.V. System and method for eliminating write backs with buffer for exception processing
US6862677B1 (en) 2000-02-16 2005-03-01 Koninklijke Philips Electronics N.V. System and method for eliminating write back to register using dead field indicator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6851044B1 (en) 2000-02-16 2005-02-01 Koninklijke Philips Electronics N.V. System and method for eliminating write backs with buffer for exception processing
US6862677B1 (en) 2000-02-16 2005-03-01 Koninklijke Philips Electronics N.V. System and method for eliminating write back to register using dead field indicator

Also Published As

Publication number Publication date
JP3490191B2 (en) 2004-01-26

Similar Documents

Publication Publication Date Title
JPS6231379B2 (en)
JPS6028015B2 (en) information processing equipment
JP2620511B2 (en) Data processor
JP3834145B2 (en) Data processing apparatus having a microprocessor having a nestable delay branch instruction and a method of operating the microprocessor
JPH0760388B2 (en) Pipeline control circuit
JPH0916399A (en) Computer
JPH07219766A (en) Arithmetic processor
JP2783285B2 (en) Information processing device
JPH0377137A (en) Information processor
JP2562838B2 (en) Processor and store buffer control method
JP2812610B2 (en) Pipeline control method
JPS6242301B2 (en)
JPH0954694A (en) Pipeline processor and its processing method
JPH06162067A (en) Device and method for controlling vector instruction
JPH04181331A (en) Instruction retry system
JP2671161B2 (en) Register interference check method
JP2843428B2 (en) Information processing device
JPH09330234A (en) Interruption processing method and microprocessor
JPS6042983B2 (en) Command control method
JPH0419575B2 (en)
JPS61194566A (en) Vector data reference control system
JPS6028014B2 (en) microprocessor
JPH0424836A (en) Microprocessor
JPH03154929A (en) Central processing unit
JPH08227360A (en) Information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031021

LAPS Cancellation because of no payment of annual fees