JPH0594304A - Interrupt controller - Google Patents

Interrupt controller

Info

Publication number
JPH0594304A
JPH0594304A JP25266891A JP25266891A JPH0594304A JP H0594304 A JPH0594304 A JP H0594304A JP 25266891 A JP25266891 A JP 25266891A JP 25266891 A JP25266891 A JP 25266891A JP H0594304 A JPH0594304 A JP H0594304A
Authority
JP
Japan
Prior art keywords
instruction
interrupt
buffer
control information
stage
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.)
Withdrawn
Application number
JP25266891A
Other languages
Japanese (ja)
Inventor
Akira Yasusato
彰 安里
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP25266891A priority Critical patent/JPH0594304A/en
Publication of JPH0594304A publication Critical patent/JPH0594304A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To eliminate pipeline break to the branching due to interrupt in a computer having the instruction execution mechanism of a pipeline control system. CONSTITUTION:The controller is connected to a processor 8 to perform an instruction by a pipeline circuit 1 composed of plural stages 4, has a buffer 2 and an interrupt control part 3, and the buffer 2, when each instruction is controlled by the necessary stages 4 concerning the necessary instruction, holds control information 5 set at the stages. The interrupt control part 3, when the branching to the prescribed interruption destination instruction occurs, inputs and performs each control information 5 of the buffer 2 to the prescribed stages 4 by the prescribed sequence.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機において、パイ
プライン制御方式の命令実行機構を有する処理装置と接
続して、割込みによる命令の実行を制御するための、割
込み制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt controller for controlling the execution of an instruction by an interrupt by connecting to a processor having an instruction execution mechanism of a pipeline control system in a computer.

【0002】[0002]

【従来の技術】計算機の処理装置において、命令の実行
を並列化することによって高速化する一方式として、パ
イプライン制御方式が使用される。
2. Description of the Related Art In a processor of a computer, a pipeline control method is used as one method for speeding up execution of instructions by parallelizing them.

【0003】パイプライン制御方式におけるパイプライ
ン回路は、1命令の実行における命令フェッチ、命令デ
コード、オペランドアドレスの計算、オペランドの読込
み、演算、オペランドの書込み等の過程を複数のステー
ジで分担するように構成される。
The pipeline circuit in the pipeline control system divides the process of instruction fetch, instruction decode, operand address calculation, operand read, operation, and operand write in the execution of one instruction by a plurality of stages. Composed.

【0004】各命令は、それらのステージを一定の順序
で通過することによって実行が完了するように制御さ
れ、各時点では各ステージでそれぞれ異なる命令を処理
することにより、ステージ段数までの個数の命令の並行
処理が行なわれ、例えば1制御サイクルごとにステージ
を通過する場合には、毎サイクルごとに命令実行が完了
する。
Each instruction is controlled so that its execution is completed by passing through those stages in a certain order. At each time point, each stage processes a different instruction, so that the number of instructions up to the stage number is increased. Parallel processing is performed and, for example, when the stage is passed every control cycle, the instruction execution is completed every cycle.

【0005】しかし、分岐命令が実行されて、分岐が起
きる場合には、パイプライン回路で分岐命令に後続する
ステージにあった命令の処理をクリアして、分岐先の命
令の処理を初段ステージから開始しなければならない。
However, when a branch instruction is executed and a branch occurs, the processing of the instruction at the stage subsequent to the branch instruction in the pipeline circuit is cleared and the processing of the instruction at the branch destination is started from the first stage. Have to start.

【0006】従ってその場合には、その命令が複数のス
テージを順次通過して終段ステージの処理を終わるまで
の数サイクルの間、完了する命令が発生しない、いわゆ
るパイプラインブレークが生じ、パイプライン回路の並
列性が有効に機能しない。
Therefore, in that case, a so-called pipeline break occurs in which no instruction is completed for several cycles until the instruction sequentially passes through a plurality of stages and finishes the processing of the final stage. Circuit parallelism does not work effectively.

【0007】図5(a)はこの状況を説明する、命令実行
のタイミングを表す図であって、第1ステージから第4
ステージまでの4ステージのパイプライン回路とし、左
から右に時間が経過するものとして、各命令が各サイク
ルで占めるステージを〜で示すものとする。
FIG. 5 (a) is a diagram for explaining this situation, showing the timing of instruction execution.
Assuming that the pipeline circuit has four stages up to the stage, and that time elapses from the left to the right, the stages occupied by each instruction in each cycle are indicated by.

【0008】図のように命令A、B、Cがシーケンシャ
ルにフェッチされて実行されている間は、各命令はそれ
ぞれで示すサイクルに実行を完了し、従って毎サイク
ルに命令が完了する。
As shown in the figure, while the instructions A, B, and C are sequentially fetched and executed, each instruction completes execution in the cycle indicated by each instruction, and thus the instruction completes every cycle.

【0009】ここで、命令Cの次に分岐命令があって、
分岐命令にシーケンシャルに続く命令が命令D、E、F
のようにあったし、分岐命令の実行の結果(図で網か
けした)で分岐が発生すると、その時それぞれ途中の
、、ステージにある命令D、E、Fは処理を中止
されて、パイプライン回路はクリアされる。
Here, there is a branch instruction after the instruction C,
Instructions sequentially following the branch instruction are instructions D, E, and F
When a branch occurs as a result of the execution of a branch instruction (shaded in the figure), the instructions D, E, and F at the stage in the middle of that time are interrupted from processing, and the pipeline is executed. The circuit is cleared.

【0010】その後、分岐命令で指定される分岐先命令
がパイプライン回路の初段から処理されて、図に示す
ように、分岐先命令の処理が終段ステージを終わるの
タイミングまで、パイプラインブレークとなる。
After that, the branch destination instruction designated by the branch instruction is processed from the first stage of the pipeline circuit, and as shown in the figure, a pipeline break occurs until the timing when the processing of the branch destination instruction ends the final stage. Become.

【0011】以上のようなパイプラインブレークの発生
を減少するために、遅延分岐方式がある、この方式では
分岐命令に続く数命令を、分岐の発生に関わらず常に実
行するように制御し、その制御に対応するように命令列
をプログラムしておく。
In order to reduce the occurrence of pipeline breaks as described above, there is a delayed branch method. In this method, several instructions following a branch instruction are controlled so that they are always executed regardless of the occurrence of a branch. The instruction sequence is programmed to correspond to the control.

【0012】従って、分岐が発生してもパイプライン回
路中の未完了後続命令をクリアする必要が無く、それら
の命令に続いて分岐先命令が実行される。又、分岐予測
方式では、例えばそれまでの分岐命令での分岐条件の成
立状況を参照する等によって分岐命令に続けて、分岐命
令に続く命令をフェッチするか、分岐先の命令をフェッ
チするか選択する制御により、分岐命令実行結果によっ
てパイプライン回路をクリアする場合が、確率的に少な
くなるようにする。
Therefore, even if a branch occurs, it is not necessary to clear the uncompleted subsequent instructions in the pipeline circuit, and the branch destination instruction is executed following these instructions. Further, in the branch prediction method, it is possible to select whether to fetch the instruction following the branch instruction or the instruction at the branch destination, following the branch instruction, for example, by referring to the condition of the branch condition being satisfied in the branch instruction so far. By the control, the number of cases in which the pipeline circuit is cleared by the branch instruction execution result is stochastically reduced.

【0013】従って、このような対策がある場合には、
その機能を有効に利用するようにプログラムすることに
より、パイプラインブレークの減少を期待できる。
Therefore, if such measures are taken,
By programming to make effective use of that function, pipeline breaks can be expected to decrease.

【0014】[0014]

【発明が解決しようとする課題】しかし、前記のような
パイプラインブレーク対策は、以上の説明で明らかなよ
うに、分岐命令がプログラムされて、分岐の発生するタ
イミングが予定できる場合のみ利用でき、予測できない
タイミングで発生する割込みによって、割込みルーチン
に分岐する場合には利用できない。
However, as is clear from the above description, the countermeasure for the pipeline break as described above can be used only when the branch instruction is programmed and the timing at which the branch occurs can be scheduled. It cannot be used when branching to an interrupt routine due to an interrupt that occurs at an unpredictable timing.

【0015】本発明は、割込みによる分岐に対して、パ
イプラインブレークを解消できる割込み制御装置を目的
とする。
An object of the present invention is to provide an interrupt control device capable of eliminating a pipeline break for a branch caused by an interrupt.

【0016】[0016]

【課題を解決するための手段】図1は、本発明の構成を
示すブロック図である。図1は割込み制御装置の構成で
あって、複数のステージ4からなるパイプライン回路1
によって命令を実行する処理装置8に接続し、バッファ
2と、割込み制御部3とを有する。
FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 1 shows the configuration of an interrupt controller, which is a pipeline circuit 1 including a plurality of stages 4.
It has a buffer 2 and an interrupt control unit 3 connected to a processing unit 8 for executing instructions.

【0017】バッファ2は、所要の該命令について、各
該命令が所要のステージ4で制御される場合に当該ステ
ージに設定される制御情報5を保持する。割込み制御部
3は、所定の割込み先命令への分岐が起こった場合に、
バッファ2の各制御情報5を、所定のステージ4に所定
の順序で入力して実行させる。
The buffer 2 holds, for each of the required instructions, control information 5 which is set in each stage when the instruction is controlled in the required stage 4. The interrupt control unit 3, when a branch to a predetermined interrupt destination instruction occurs,
The control information 5 of the buffer 2 is input to a predetermined stage 4 in a predetermined order and executed.

【0018】その場合に割込み制御部3は、例えばバッ
ファ2の各制御情報5を、特定の1段のステージ4に順
次入力して実行させ、或いは、各制御情報5を、各制御
情報5ごと個別のステージ4に同時に入力して実行させ
るようにしてもよい。
In that case, the interrupt control section 3 sequentially inputs each control information 5 of the buffer 2 to a specific one stage 4 to be executed, or each control information 5 for each control information 5 is executed. You may make it input into separate stage 4 simultaneously, and may be performed.

【0019】又、前記の割込み制御装置に、更に復帰バ
ッファ6と、復帰制御部7とを有し、復帰バッファ6
は、所要の該命令について、各該命令が所要のステージ
4で制御される場合に当該ステージに設定される制御情
報5を保持する。
Further, the interrupt control device further includes a return buffer 6 and a return control section 7, and the return buffer 6
Holds the control information 5 for the required instructions, which is set in the stage when each instruction is controlled in the required stage 4.

【0020】復帰制御部7は、特定命令の実行が特定の
該ステージまで進んだことを検出した場合に、復帰バッ
ファ6の各制御情報5を、所定のステージ4に所定の順
序で入力して実行させる。
When it is detected that the execution of the specific instruction has reached the specific stage, the recovery control unit 7 inputs each control information 5 of the recovery buffer 6 to the specific stage 4 in the specific order. Let it run.

【0021】[0021]

【作用】例えば割込みルーチンの最初の部分の命令を、
そのプログラムから除いて、それらの命令を実行するた
めの制御情報を、本発明の割込み制御装置のバッファに
準備しておく。
Operation: For example, the instruction of the first part of the interrupt routine is
Except from the program, control information for executing those instructions is prepared in the buffer of the interrupt control device of the present invention.

【0022】このようにすれば、割込み発生により、割
込み先への分岐のために、パイプライン回路がクリアさ
れても、割込み処理ルーチンの命令列でパイプライン回
路の全ステージが埋まるまでの間、バッファにある制御
情報が実行され、パイプラインブレークを発生させない
ようにすることができる。
In this way, even if the pipeline circuit is cleared due to the branch to the interrupt destination due to the occurrence of the interrupt, until all stages of the pipeline circuit are filled with the instruction sequence of the interrupt processing routine. The control information in the buffer will be executed and you can prevent pipeline breaks from occurring.

【0023】復帰バッファを設ければ、割込み処理を終
わって、被割込みプログラムへ復帰するための分岐が行
なわれる場合にも、同様の効果を得ることができる。
If a return buffer is provided, the same effect can be obtained even when the interrupt processing is completed and a branch is made to return to the interrupted program.

【0024】[0024]

【実施例】図2は本発明の一実施例を示すブロック図で
あって、バッファ10は所要数のレジスタ11からなり、各
レジスタ11に1命令の制御情報を保持する。バッファ10
へは、予めプログラムによって、制御情報を設定できる
ようにする。
FIG. 2 is a block diagram showing an embodiment of the present invention. A buffer 10 comprises a required number of registers 11, and each register 11 holds control information for one instruction. Buffer 10
The control information can be set in advance by a program.

【0025】レジスタ11の必要数は、割込みによる分岐
発生で、次のサイクルに直ちに分岐先の命令がパイプラ
イン回路に入力される場合には、パイプライン回路12の
ステージ数より1個少ない数でよく、分岐先命令のフェ
ッチ等に時間が掛かるシステムでは、それに応じてレジ
スタを増加するのが望ましい。
The required number of registers 11 is one less than the number of stages of the pipeline circuit 12 when a branch destination instruction is immediately input to the pipeline circuit in the next cycle when a branch occurs due to an interrupt. Often, in a system where it takes time to fetch a branch target instruction, it is desirable to increase the number of registers accordingly.

【0026】レジスタ11は、例えばレジスタ間で制御情
報を順次シフトするように接続され、終段のレジスタ11
の出力は終段のステージ13に入力するように接続され
る。このパイプライン回路12は、多くの場合のように終
段ステージでオペランドの処理結果の書込み等を行なう
ようになっているものとし、各レジスタ11に保持する制
御情報を、例えば図3(a)のようにする。
The registers 11 are connected so as to sequentially shift control information among the registers, and the registers 11 at the final stage are connected.
The output of is input to the final stage 13. This pipeline circuit 12 is assumed to write the processing result of the operand in the final stage as in many cases, and the control information held in each register 11 is stored in, for example, FIG. Like

【0027】図3(a)の制御情報は、図に示すように有
効ビット、転送元レジスタ番号、転送先レジスタ番号か
らなり、有効ビットで制御情報の内容の有効性を示し、
有効情報を終段のステージ13に設定することにより、指
定のレジスタ番号の汎用レジスタ間でデータの転送を実
行できる。
As shown in the figure, the control information of FIG. 3A consists of a valid bit, a transfer source register number, and a transfer destination register number. The valid bit indicates the validity of the content of the control information.
By setting the valid information in the final stage 13, data can be transferred between the general-purpose registers having the designated register numbers.

【0028】割込み制御部14は割込みによる分岐の発生
を処理装置からの信号で検出した時、パイプラインの制
御サイクルに同期して、レジスタ11のその制御情報を順
次シフトし、終段のステージ13に設定するように送り出
すので、有効な制御情報であれば、終段のステージで実
行される。
When the interrupt control unit 14 detects the occurrence of a branch due to an interrupt with a signal from the processing unit, the control information of the register 11 is sequentially shifted in synchronization with the control cycle of the pipeline, and the final stage 13 Since the control information is valid, it is executed in the final stage if the control information is valid.

【0029】従って、割込み処理の最初の部分で行なう
必要のある、例えば汎用レジスタの内容保存等のため
の、汎用レジスタ間の転送命令を制御情報に変換してバ
ッファ10に置くようにすることにより、割込み時のパイ
プラインブレークを発生しないようにすることができ
る。
Therefore, by converting a transfer instruction between general-purpose registers, which needs to be performed in the first part of the interrupt processing, for example, to save the contents of the general-purpose registers, into the control information and place it in the buffer 10. , It is possible to prevent pipeline break at interrupt.

【0030】図5(b)はこの状況を説明する図であり、
前記図5(a)と同様のパイプラインとして、通常のプロ
グラムの実行のために、命令A〜Dが順次フェッチされ
て、図のようにパイプライン回路で処理されていると
し、命令Dの後に割込みによる分岐が発生したとする。
FIG. 5 (b) is a diagram for explaining this situation.
As a pipeline similar to that shown in FIG. 5A, it is assumed that instructions A to D are sequentially fetched and processed by a pipeline circuit as shown in FIG. Assume that a branch has occurred due to an interrupt.

【0031】そこで、途中ステージの命令B、C、Dは
クリアされ、割込み先命令の行以下に示すように割込み
処理ルーチンの命令が、順次パイプライン回路に入る
が、最初の命令が4サイクル後に完了するまで、3サイ
クルのパイプラインブレークとなる。
Therefore, the instructions B, C, and D in the intermediate stages are cleared, and the instructions of the interrupt processing routine sequentially enter the pipeline circuit as shown below in the line of the interrupt destination instruction. It will be a pipeline break of 3 cycles until completion.

【0032】しかし、前記のようにして、バッファ10か
ら終段ステージに順次供給される制御情報を実行するこ
とにより、図示のようにパイプラインブレークは埋めら
れて、割込み処理ルーチンの処理が、効率よく進められ
る。
However, as described above, by executing the control information sequentially supplied from the buffer 10 to the final stage, the pipeline break is filled as shown in the figure, and the processing of the interrupt processing routine becomes efficient. Well done.

【0033】以上では、制御情報をレジスタ間転送に限
るものとしたが、例えば図3(b)に示すように、制御情
報で演算コード、オペランドのレジスタ番号又は即値を
指定できるようにして、各種の演算命令をバッファにお
けるようにしてもよい。
In the above description, the control information is limited to the transfer between registers. However, as shown in FIG. 3B, for example, the operation information, the register number of the operand, or the immediate value can be specified by the control information, so that various kinds of data can be specified. The arithmetic instruction of may be in a buffer.

【0034】その場合に、パイプライン回路の構成によ
り必要であれば、制御情報を設定するステージを終段よ
り前の段にし、又は最初の制御情報を終段ステージに設
定し、同時に2番目の制御情報をその前段のステージに
設定し、同じステージに以後の制御情報を順次入力する
ようにする。
In that case, if necessary due to the configuration of the pipeline circuit, the stage for setting the control information is set to a stage before the final stage, or the first control information is set to the final stage, and at the same time, the second stage is set. The control information is set in the preceding stage, and subsequent control information is sequentially input to the same stage.

【0035】図4は本発明の別の実施例であって、バッ
ファ20に例えば所要数のレジスタ21を設けて制御情報を
保持し、各レジスタ21の出力を、パイプライン回路22の
例えば終段からその前の必要な段までの、それぞれ個別
のステージ23に接続する。
FIG. 4 shows another embodiment of the present invention. For example, a required number of registers 21 are provided in the buffer 20 to hold control information, and the output of each register 21 is output to the final stage of the pipeline circuit 22, for example. To the required stage before that, each stage 23 is connected.

【0036】割込み制御部24は、割込みによる分岐の発
生を処理装置から検出した時、バッファ20に有効な制御
情報が設定されていれば、全レジスタ21の保持する制御
情報を一斉に各ステージ23に設定する。
The interrupt control unit 24, when detecting the occurrence of a branch due to an interrupt from the processing device, if the control information valid in the buffer 20 is set, the control information held by all the registers 21 is collectively sent to each stage 23. Set to.

【0037】図2の復帰バッファ15及び復帰制御部16
は、割込みから被割込みプログラムへの復帰のための分
岐によって生じるパイプラインブレークを補償するため
の機構である。
The return buffer 15 and the return controller 16 shown in FIG.
Is a mechanism for compensating for a pipeline break caused by a branch for returning from an interrupt to an interrupted program.

【0038】図の例では、復帰バッファ15はバッファ10
と同一の構成に接続したレジスタ17からなり、その終段
のレジスタ17の出力はバッファ10の場合と同様にパイプ
ライン回路の終段のステージ13に接続される。
In the illustrated example, the return buffer 15 is the buffer 10
The register 17 is connected in the same configuration as the above, and the output of the register 17 at the final stage is connected to the final stage 13 of the pipeline circuit as in the case of the buffer 10.

【0039】一般に、割込みからの復帰時に使用する分
岐命令として、特定の種類の無条件分岐命令(以下にお
いて特定ジャンプ命令という)が設けられているので、
復帰制御部16は処理装置からの信号によって特定ジャン
プ命令が実行されたことを検出する。
In general, a specific type of unconditional branch instruction (hereinafter referred to as a specific jump instruction) is provided as a branch instruction used when returning from an interrupt.
The return control unit 16 detects that the specific jump instruction has been executed by a signal from the processing device.

【0040】復帰制御部16は、上記検出により動作し
て、割込み制御部14の場合と同様に、復帰バッファ15の
保持する制御情報をステージ13に順次入力して実行させ
る。制御情報は前記と同様の形式でよい。
The return control unit 16 operates by the above detection, and similarly to the case of the interrupt control unit 14, the control information held by the return buffer 15 is sequentially input to the stage 13 to be executed. The control information may be in the same format as above.

【0041】従って、割込み処理ルーチンの最後の部分
で必要な、例えばレジスタ内容の回復等のためのレジス
タ間転送命令等の命令列を、プログラムから除いて復帰
バッファ15に制御情報として保持することにより、復帰
先の最初の命令がパイプラインの最終ステージに到達す
るまでのパイプラインブレークを解消できる。
Therefore, an instruction string such as an inter-register transfer instruction for recovering the register contents, which is necessary in the final part of the interrupt processing routine, is excluded from the program and held in the return buffer 15 as control information. , The pipeline break until the first instruction of the return destination reaches the final stage of the pipeline can be resolved.

【0042】図5(c)はその状況を説明する図であり、
(a)と同様のパイプライン回路として、割込み処理ルー
チンが命令A、Bのように実行されてきて、次に前記の
特定ジャンプ命令が実行され、図で網かけをしたで被
割込みプログラムの復帰先命令への分岐が起きたとす
る。
FIG. 5 (c) is a diagram for explaining the situation,
As a pipeline circuit similar to (a), an interrupt processing routine is executed like instructions A and B, then the specific jump instruction is executed, and the interrupted program is restored by hatching in the figure. Suppose a branch to the previous instruction occurs.

【0043】そこで図示のように復帰先の命令が順次パ
イプライン回路に入るが、復帰先の最初の命令が4サイ
クル後に完了するまで、少なくとも3サイクルのパイプ
ラインブレークとなる。
Therefore, as shown in the figure, the instruction at the return destination sequentially enters the pipeline circuit, but a pipeline break of at least 3 cycles occurs until the first instruction at the return destination is completed 4 cycles later.

【0044】しかし、前記のようにして、復帰バッファ
15から終段ステージに順次供給される制御情報を実行す
ることにより、図示のようにパイプラインブレークは埋
められて、割込み処理ルーチンの最終部分の処理が行な
われる。
However, as described above, the return buffer
By executing the control information sequentially supplied from 15 to the final stage, the pipeline break is filled in as shown, and the final part of the interrupt processing routine is processed.

【0045】なお、特定ジャンプ命令に続いている、ク
リアされる命令は、例えば特定ジャンプ命令に続くアド
レスにある情報を命令とみなしてフェッチしたごみ情報
である。
The instruction to be cleared following the specific jump instruction is, for example, garbage information fetched by regarding the information at the address following the specific jump instruction as an instruction.

【0046】以上の動作から明らかなように、この例で
復帰バッファ15に制御情報として保持されるための元の
命令は、通常のプログラムであれば、命令Bと特定ジャ
ンプ命令との間で実行される割込み処理ルーチンの命令
列に相当する。
As is clear from the above operation, in this example, the original instruction to be held as the control information in the return buffer 15 is a normal program and is executed between the instruction B and the specific jump instruction. Corresponds to the instruction sequence of the interrupt processing routine performed.

【0047】[0047]

【発明の効果】以上の説明から明らかなように本発明に
よれば、パイプライン制御方式の命令実行機構を有する
計算機において、割込みによる分岐に対して、パイプラ
インブレークを解消できるので、計算機の処理効率を改
善するという著しい工業的効果がある。
As is apparent from the above description, according to the present invention, in a computer having a pipeline control type instruction execution mechanism, a pipeline break can be eliminated for a branch due to an interrupt, so that the processing of the computer is performed. There is a significant industrial effect of improving efficiency.

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

【図1】 本発明の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】 本発明の一実施例を示すブロック図FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】 制御情報の構成例を示す図FIG. 3 is a diagram showing a configuration example of control information.

【図4】 本発明の他の実施例を示すブロック図FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】 命令実行のタイミングを説明する図FIG. 5 is a diagram illustrating timing of instruction execution.

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

1、12、22 パイプライン回路 2、10、20 バッファ 3、14、24 割込み制御部 4、13、23 ステージ 5 制御情報 6、15 復帰バッファ 7、16 復帰制御部 8 処理装置 11、17、21 レジスタ 1, 12, 22 Pipeline circuit 2, 10, 20 Buffer 3, 14, 24 Interrupt control unit 4, 13, 23 Stage 5 Control information 6, 15 Return buffer 7, 16 Return control unit 8 Processor 11, 17, 21 register

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のステージ(4)からなるパイプライ
ン回路(1)によって命令を実行する処理装置(8)に接続
し、 バッファ(2)と、割込み制御部(3)とを有し、 該バッファ(2)は、所要の該命令について、各該命令が
所要の該ステージ(4)で制御される場合に当該ステージ
に設定される制御情報(5)を保持し、 該割込み制御部(3)は、所定の割込み先命令への分岐が
起こった場合に、該バッファ(2)の各該制御情報(5)
を、所定の該ステージ(4)に所定の順序で入力して実行
させるように構成されていることを特徴とする割込み制
御装置。
1. A pipeline circuit (1) comprising a plurality of stages (4) is connected to a processor (8) for executing instructions, and has a buffer (2) and an interrupt controller (3), The buffer (2) holds, for each of the required instructions, control information (5) set in the relevant stage when the instruction is controlled in the required stage (4), and the interrupt control unit ( 3) is for each control information (5) of the buffer (2) when a branch to a predetermined interrupt destination instruction occurs.
Is configured to be input to and executed in a predetermined stage (4) in a predetermined order.
【請求項2】 前記割込み制御部(3)は、前記バッファ
(2)から前記制御情報(5)を、特定の1段の前記ステージ
(4)に順次入力して実行させる、請求項1記載の割込み
制御装置。
2. The interrupt control unit (3) comprises the buffer
From (2) to the control information (5), the specific one of the stages
The interrupt control device according to claim 1, wherein the interrupt control device is sequentially input to (4) and executed.
【請求項3】 前記割込み制御部(3)は、前記バッファ
(2)の各前記制御情報(5)を、各該制御情報ごと個別の前
記ステージ(4)に同時に入力して実行させる、請求項1
記載の割込み制御装置。
3. The interrupt control unit (3) is provided with the buffer.
The control information (5) of (2) is simultaneously input to the individual stage (4) for each control information and executed.
The interrupt control device described.
【請求項4】 請求項1、請求項2又は請求項3記載の
割込み制御装置であって、 復帰バッファ(6)と、復帰制御部(7)とを有し、 該復帰バッファ(6)は、所要の前記命令について、各該
命令が所要の前記ステージ(4)で制御される場合に当該
ステージに設定される制御情報(5)を保持し、 該復帰制御部(7)は、特定命令の実行が特定の該ステー
ジ(4)まで進んだことを検出した場合に、該復帰バッフ
ァ(6)の各該制御情報(5)を、所定の該ステージに所定の
順序で入力して実行させるように構成されていることを
特徴とする割込み制御装置。
4. The interrupt control device according to claim 1, claim 2, or claim 3, comprising a return buffer (6) and a return controller (7), wherein the return buffer (6) Holds the control information (5) set for each of the required instructions when the instruction is controlled at the required stage (4), and the return control unit (7) When it is detected that the execution of the above has reached the specific stage (4), each control information (5) of the return buffer (6) is input to the predetermined stage in a predetermined order and executed. An interrupt control device having the following configuration.
JP25266891A 1991-10-01 1991-10-01 Interrupt controller Withdrawn JPH0594304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25266891A JPH0594304A (en) 1991-10-01 1991-10-01 Interrupt controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25266891A JPH0594304A (en) 1991-10-01 1991-10-01 Interrupt controller

Publications (1)

Publication Number Publication Date
JPH0594304A true JPH0594304A (en) 1993-04-16

Family

ID=17240574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25266891A Withdrawn JPH0594304A (en) 1991-10-01 1991-10-01 Interrupt controller

Country Status (1)

Country Link
JP (1) JPH0594304A (en)

Similar Documents

Publication Publication Date Title
JP3984786B2 (en) Scheduling instructions with different latency
JPH0776921B2 (en) Data processing method and device
JP5815596B2 (en) Method and system for accelerating a procedure return sequence
JPH07248897A (en) Method and device for recovery from exception in computer system
US7620804B2 (en) Central processing unit architecture with multiple pipelines which decodes but does not execute both branch paths
EP0094535B1 (en) Pipe-line data processing system
JP2620511B2 (en) Data processor
US5095426A (en) Data processing system for effectively handling exceptions during execution of two different types of instructions
EP0093430A2 (en) Pipeline data processing system
JPH03286332A (en) Digital data processor
JPS62226231A (en) Processor
US5283891A (en) Error information saving apparatus of computer
JPH0594304A (en) Interrupt controller
EP0211487A1 (en) Conditional operations in computers
KR20180126518A (en) Vector instruction processing
US7167973B2 (en) Method and system for performing multi-tests in processors using results to set a register and indexing based on the register
JPH0248733A (en) Information processor
JPH0269825A (en) Pipe line control system
KR100515039B1 (en) Pipeline status indicating circuit for conditional instruction
JP3743155B2 (en) Pipeline controlled computer
JP2003108387A (en) Method and apparatus for processing pipe lining
JPH0619705A (en) Pipeline control system
JPH0546390A (en) Operation error information holding device of electronic computer
JPS59220844A (en) Instruction reexecution control system
JPH04175930A (en) Data processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990107