JPH0580690B2 - - Google Patents

Info

Publication number
JPH0580690B2
JPH0580690B2 JP60140965A JP14096585A JPH0580690B2 JP H0580690 B2 JPH0580690 B2 JP H0580690B2 JP 60140965 A JP60140965 A JP 60140965A JP 14096585 A JP14096585 A JP 14096585A JP H0580690 B2 JPH0580690 B2 JP H0580690B2
Authority
JP
Japan
Prior art keywords
instruction
address
arithmetic
exception
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60140965A
Other languages
Japanese (ja)
Other versions
JPS622329A (en
Inventor
Hideo Hayashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60140965A priority Critical patent/JPS622329A/en
Publication of JPS622329A publication Critical patent/JPS622329A/en
Publication of JPH0580690B2 publication Critical patent/JPH0580690B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置における演算例外処理に
関し、特に演算例外を発生した命令のアドレスを
割出す装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to arithmetic exception handling in an information processing device, and particularly to a device for determining the address of an instruction that causes an arithmetic exception.

情報処理装置において、演算の実行時にオーバ
ーフロー、アンダーフロー、ゼロデイバイド等の
演算例外が発生した場合、その後の演算の実行を
中止して割込みを発生させ、演算例外に応じた処
理が必要となる。
In an information processing device, when an arithmetic exception such as overflow, underflow, or zero divide occurs during the execution of an arithmetic operation, it is necessary to stop the execution of the subsequent arithmetic operation, generate an interrupt, and perform processing according to the arithmetic exception.

このような処理を行なうためには、どの命令で
演算例外が発生したかを先ず知ることが必要であ
る。
In order to perform such processing, it is first necessary to know in which instruction an operation exception has occurred.

〔従来の技術〕[Conventional technology]

従来、演算例外を発生した命令のアドレスは、
例えば第3図aに示すようにある種の演算1の実
行終了時に演算例外が発生したことが演算ユニツ
トから報告されると、割込み処理を開始して演算
1に続く演算2の実行を行なわないようにし、割
込み時における命令アドレスレジスタの内容が演
算例外を起こした命令のアドレスを示すことから
割出していた。
Conventionally, the address of the instruction that caused the operation exception was
For example, as shown in Figure 3a, when a calculation unit reports that an operation exception has occurred at the end of execution of a certain type of operation 1, it starts interrupt processing and does not execute operation 2 following operation 1. In this way, the contents of the instruction address register at the time of an interrupt indicate the address of the instruction that caused the operation exception.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来の割出しは、先行する命
令の演算実行が終了してから後続命令の実行が開
始されるシステム構成を前提とするものであり、
そうでないシステムでは演算例外命令アドレスを
割出すことは困難である。
However, the conventional indexing described above is based on a system configuration in which the execution of a subsequent instruction is started after the execution of the arithmetic operation of the preceding instruction is completed.
In other systems, it is difficult to determine the operation exception instruction address.

即ち、性能を向上させるため、演算ユニツトを
例えば加算器、乗算器、シフター等の如く複数個
設け、これらの演算ユニツトを例えば第3図bあ
るいは同図cに示すように並行に動作させる装置
では、ある時点で割込みによりその後の命令実行
を中止しても命令アドレスレジスタは演算例外を
発生した命令の次の命令を示さない。従つて、ソ
フトウエアに演算例外を起こした命令のアドレス
を通知できず、演算例外発生後の必要な処理をソ
フトウエアに行なわせることが困難となる。
That is, in order to improve the performance, a plurality of arithmetic units such as adders, multipliers, shifters, etc. are provided and these arithmetic units are operated in parallel as shown in FIG. 3b or 3c, for example. Even if execution of subsequent instructions is stopped due to an interrupt at a certain point, the instruction address register does not indicate the instruction following the instruction that caused the operation exception. Therefore, it is not possible to notify the software of the address of the instruction that caused the arithmetic exception, making it difficult to have the software perform necessary processing after the arithmetic exception occurs.

本発明はこのような従来の問題点を解決したも
ので、その目的は、後続命令が先行命令の終了前
に実行開始されても演算例外を起こした命令のア
ドレスを正しく割出すことができる装置を提供す
ることにある。
The present invention solves these conventional problems, and its purpose is to provide a device that can correctly determine the address of an instruction that causes an arithmetic exception even if a subsequent instruction starts executing before the preceding instruction ends. Our goal is to provide the following.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点を解決するために、 異なる演算機能を持つ複数の演算ユニツトを有
する情報処理装置において、 前記各々の演算ユニツトに対応して設けられ、
対応する演算ユニツトへの命令実行指示時に歩進
される複数個の第1のカウンタと、 前記演算ユニツトの各々に対応して設けられ、
対応する演算ユニツトで演算が演算例外なしに終
了したときにその演算ユニツトからの信号で歩進
される複数個の第2のカウンタと、 命令実行指示が為された前記演算ユニツトに対
応する前記第1のカウンタの示す値に基づいたア
ドレスを発生する第1のセレクタと、 前記演算ユニツトの各々に対応して設けられ、
対応する演算ユニツトで演算例外が発生したとき
セツトされる複数個の例外発生レジスタと、 該例外発生レジスタがセツトされた前記演算ユ
ニツトに対応する前記第2のカウンタの示す値に
基づいたアドレスを発生する第2のセレクタと、 前記第1のセレクタから送られたアドレスにそ
のときの命令アドレスレジスタの内容を格納し、
前記第2のセレクタから送られたアドレスに格納
された内容を演算例外を起こした命令のアドレス
として出力する命令アドレススタツクとを設け
る。
In order to solve the above-mentioned problems, the present invention provides an information processing apparatus having a plurality of arithmetic units having different arithmetic functions.
a plurality of first counters that are incremented when instructing the corresponding arithmetic unit to execute an instruction; and a plurality of first counters provided corresponding to each of the arithmetic units;
a plurality of second counters that are incremented by a signal from a corresponding arithmetic unit when the arithmetic operation is completed without an exception; a first selector that generates an address based on the value indicated by the counter No. 1; and a first selector provided corresponding to each of the arithmetic units,
Generates an address based on a plurality of exception occurrence registers that are set when an arithmetic exception occurs in a corresponding arithmetic unit, and a value indicated by the second counter corresponding to the arithmetic unit in which the exception occurrence register is set. a second selector that stores the contents of the instruction address register at that time in the address sent from the first selector;
An instruction address stack is provided that outputs the contents stored in the address sent from the second selector as the address of the instruction that caused the operation exception.

〔作用〕[Effect]

命令実行指示毎に、命令実行指示が為された演
算ユニツトに対応する第1のカウンタの内容に基
づく命令アドレスレジスタのアドレスにその命令
のアドレスが格納され、演算ユニツトで演算が例
外なく終了すると第2のカウンタはカウントアツ
プされる。しかし、演算ユニツトで演算例外が発
生すると第2のカウンタはカウントアツプされ
ず、その演算例外を発生した命令のアドレスが格
納されている命令アドレスレジスタのアドレスを
指したまま保持され、命令アドレスレジスタから
は演算例外を起こした命令のアドレスが出力され
たままとなる。
For each instruction execution instruction, the address of that instruction is stored in the address of the instruction address register based on the contents of the first counter corresponding to the arithmetic unit to which the instruction execution instruction was given, and when the operation is completed without exception in the arithmetic unit, the The counter 2 is incremented. However, when an arithmetic exception occurs in an arithmetic unit, the second counter is not incremented, but remains pointing to the address of the instruction address register where the address of the instruction that caused the arithmetic exception is stored, The address of the instruction that caused the operation exception remains output.

〔実施例〕〔Example〕

第1図は本発明の実施例のブロツク図である。 FIG. 1 is a block diagram of an embodiment of the invention.

同図において、命令アドレスレジスタ1は実行
する命令語が格納されている主記憶装置上のアド
レス(命令アドレス)を格納し、命令レジスタ2
は実行する命令語を格納する。また、複数の演算
ユニツト3〜5のうち例えば演算ユニツト3は加
算器、演算ユニツト4は乗算器、演算ユニツト5
はシフターとして働く。各演算ユニツト3〜5に
は、その各々に対応してカウンタ13〜15、カ
ウンタ23〜25が設けられている。なお、これ
らのカウンタはカウント値が例えば9になつたら
零に戻るようになつている。
In the figure, an instruction address register 1 stores an address (instruction address) in the main memory where an instruction word to be executed is stored, and an instruction register 2
stores the instruction word to be executed. Further, among the plurality of arithmetic units 3 to 5, for example, arithmetic unit 3 is an adder, arithmetic unit 4 is a multiplier, and arithmetic unit 5 is an adder.
acts as a shifter. Each arithmetic unit 3-5 is provided with counters 13-15 and counters 23-25, respectively. Note that these counters are designed to return to zero when the count value reaches 9, for example.

上記カウンタのうち、カウンタ13は命令レジ
スタ2に含まれる命令が演算ユニツト3を使用す
る命令のときその命令実行指示時にカウントアツ
プされ、カウンタ14は同様に演算ユニツト4を
使用する命令のときその命令実行指示時にカウン
トアツプされ、カウンタ15は演算ユニツト5を
使用する命令のときその命令実行指示時にカウン
トアツプされる。また、カウンタ23は演算ユニ
ツト3の演算終了時に演算例外の発生がなければ
カウントアツプされ、カウンタ24は演算ユニツ
ト4の演算終了時に演算例外の発生がなければカ
ウントアツプされ、カウンタ25は演算ユニツト
5の演算終了時に演算例外の発生がなければカウ
ントアツプされるよう制御される。
Among the counters mentioned above, the counter 13 is incremented when the instruction included in the instruction register 2 is an instruction that uses the arithmetic unit 3, and the counter 14 is counted up when the instruction is instructed to execute the instruction that uses the arithmetic unit 4. The counter 15 is counted up when an instruction is issued for execution, and the counter 15 is counted up when an instruction using the arithmetic unit 5 is issued. Further, the counter 23 is incremented if no arithmetic exception occurs when the arithmetic unit 3 finishes the arithmetic operation, the counter 24 is incremented if no arithmetic exception occurs when the arithmetic unit 4 finishes the operation, and the counter 25 is incremented by the arithmetic unit 5. If no operation exception occurs at the end of the operation, the count is incremented.

セレクタ6は、命令レジスタ2に含まれる演算
ユニツト3〜5の使用種別情報等によりカウンタ
13〜15の何れかを選択するもので、命令実行
指示時、加算命令ならカウンタ13の内容を、乗
算命令ならカウンタ14の内容を、シフト命令な
らカウンタ15の内容をそれぞれ命令アドレスス
タツク7の書込みアドレスとしてスタツク7に送
出する。
The selector 6 selects one of the counters 13 to 15 based on the usage type information of the arithmetic units 3 to 5 included in the instruction register 2. When an instruction is instructed to execute, the contents of the counter 13 are changed to the contents of the counter 13 in the case of an addition instruction, and If the instruction is a shift instruction, the contents of the counter 14 and the contents of the counter 15 are sent to the stack 7 as the write address of the instruction address stack 7, respectively.

命令アドレススタツク7は、命令アドレスレジ
スタ1の内容をセレクタ6より指定されたアドレ
スに格納する。尚、セレクタ6では命令アドレス
スタツク7のアドレスがカウンタ13〜15間で
同じにならないようにカウンタ13〜15の値に
ある定数例えばカウンタ13を選択するときは
「10」、カウンタ14を選択するときは「20」、カ
ウンタ15を選択するときは「30」等の定数等を
付加する。
The instruction address stack 7 stores the contents of the instruction address register 1 at the address specified by the selector 6. In addition, in the selector 6, in order to prevent the address of the instruction address stack 7 from being the same between counters 13 to 15, a constant in the values of counters 13 to 15 is set, for example, "10" when selecting counter 13, and "10" when selecting counter 14. When selecting the counter 15, add a constant such as "20" and "30" when selecting the counter 15.

一方、命令実行指示により指示された演算ユニ
ツト3〜5は、演算例外を発生することなく演算
を終了すると演算終了時にその旨を示す信号をア
ンド回路9を介してカウンタ23〜25にカウン
トアツプ信号として送出する。しかし、反対に演
算例外が発生するとそのような信号を送出せず、
各演算ユニツト3〜5に対応して設けられた例外
発生レジスタ33〜35にアンド回路12を介し
てセツト信号を送出する。例外発生レジスタ33
〜35の出力はオア回路8を介して図示しない割
込制御部へ例外発生を通知する信号となり、且つ
オア回路8の反転出力によりアンド回路9,12
が閉じられる。従つて、他の演算ユニツトに対応
するカウンタ23〜25のカウントアツプは禁止
され、且つ他の例外発生レジスタのセツトも禁止
される。
On the other hand, when the arithmetic units 3 to 5 instructed by the instruction execution instruction complete the arithmetic operation without generating an arithmetic exception, they send a count-up signal to the counters 23 to 25 via the AND circuit 9 to indicate the completion of the arithmetic operation. Send as. However, on the other hand, when an arithmetic exception occurs, such a signal cannot be sent,
A set signal is sent via an AND circuit 12 to exception generation registers 33-35 provided corresponding to each arithmetic unit 3-5. Exception occurrence register 33
The outputs of 35 to 35 become a signal for notifying an interrupt control section (not shown) of the occurrence of an exception via the OR circuit 8, and the inverted output of the OR circuit 8 causes AND circuits 9 and 12.
is closed. Therefore, counting up of the counters 23 to 25 corresponding to other arithmetic units is prohibited, and setting of other exception generation registers is also prohibited.

各例外発生レジスタ33〜35の出力は選択決
定回路10にも入力され、この選択決定回路10
で演算例外が発生した演算ユニツトに対応するカ
ウンタ23〜25の出力をセレクタ11が選択す
るようにセレクタ11が制御される。なお、レジ
スタ33〜35のうち2個以上が同時にセツトさ
れた場合、選択決定回路10は予め定められた順
序例えば演算ユニツトの実行時間の長い方を優先
して選択する。
The outputs of the exception generation registers 33 to 35 are also input to the selection decision circuit 10, and the selection decision circuit 10
The selector 11 is controlled so that the selector 11 selects the output of the counters 23 to 25 corresponding to the arithmetic unit in which the arithmetic exception has occurred. Note that when two or more of the registers 33 to 35 are set at the same time, the selection determining circuit 10 selects them in a predetermined order, for example, giving priority to the one with the longer execution time of the arithmetic unit.

セレクタ11の出力は読出しアドレスとして命
令アドレススタツク7に入力される。上記セレク
タ11もセレクタ6と同様にカウンタ23〜25
の値の上位にある定数(この定数はカウンタ13
〜15と同じである)を加算し、命令アドレスス
タツク7のエントリアドレスがカウンタ23〜2
5間で同じにならないようにしている。
The output of selector 11 is input to instruction address stack 7 as a read address. The selector 11 also has counters 23 to 25 like the selector 6.
The constant above the value of (this constant is the value of counter 13
~15) is added, and the entry address of the instruction address stack 7 is added to the counter 23~2.
I try not to make it the same between 5.

第2図aは、命令アドレス100の加算命令1
が実行指示された後、命令アドレス101の乗算
命令1が実行指示され、乗算命令1の実行終了前
に加算命令1の実行が終了し命令アドレス102
の加算命令2の実行指示とその実行終了が行なわ
れるような命令シーケンスにおいて、加算命令2
で例えばフローテイングオーバーフローの演算例
外が発生したときの第1図各部の状態の一例を示
したタイムチヤートである。また第2図bは命令
アドレススタツク7の内容の一例を示す図であ
る。
FIG. 2a shows addition instruction 1 at instruction address 100.
is instructed to execute, the multiplication instruction 1 at instruction address 101 is instructed to be executed, and the execution of addition instruction 1 is completed before the execution of multiplication instruction 1 is completed.
In an instruction sequence in which execution of addition instruction 2 is instructed and execution is completed, addition instruction 2
This is a time chart showing an example of the state of each part in FIG. 1 when, for example, a floating overflow operation exception occurs. FIG. 2b is a diagram showing an example of the contents of the instruction address stack 7.

カウンタ13〜15、カウンタ23〜25の内
容は当初零であり、加算命令1の実行指示が為さ
れると、セレクタ6はカウンタ13の値「0」に
定数「10」を加算したアドレス「10」を命令アド
レススタツク7に送出し、スタツク7は命令アド
レスレジスタ1の内容「100」をアドレス「10」
に格納する。その後、カウンタ13はカウントア
ツプされ、その内容は「1」となる。
The contents of counters 13 to 15 and counters 23 to 25 are initially zero, and when an instruction to execute addition instruction 1 is given, selector 6 selects the address ``10'', which is the value ``0'' of counter 13 and the constant ``10.''" is sent to the instruction address stack 7, and the stack 7 transfers the content "100" of the instruction address register 1 to the address "10".
Store in. Thereafter, the counter 13 is counted up and its content becomes "1".

次に、乗算命令1の実行指示が為されると、セ
レクタ6はカウンタ14の値「0」に定数「20」
を加算したアドレス「20」を命令アドレススタツ
ク7に送出し、スタツク7は命令アドレスレジス
タ1の内容「101」をアドレス「20」に格納する。
その後、カウンタ14はカウントアツプされ、
「1」となる。
Next, when an instruction to execute multiplication instruction 1 is given, the selector 6 sets the value of the counter 14 to "0" and the constant "20".
The address ``20'' resulting from the addition of ``20'' is sent to the instruction address stack 7, and the stack 7 stores the content ``101'' of the instruction address register 1 at address ``20''.
After that, the counter 14 is counted up,
It becomes "1".

加算命令1の実行が終了すると、演算例外が発
生していないことからカウンタ23はカウントア
ツプされて「1」となる。また、例外発生レジス
タ33はセツトされない。
When the execution of addition instruction 1 is completed, the counter 23 is incremented to "1" since no operation exception has occurred. Further, the exception occurrence register 33 is not set.

次に加算命令2の実行が指示されると、セレク
タ6はカウンタ13の値「1」に定数「10」を加
算したアドレス「11」を命令アドレススタツク7
に送出し、スタツク7はアドレス「11」にそのと
きの命令アドレスレジスタ1の内容「102」を格
納する。その後、カウンタ13は「2」に変更さ
れる。
Next, when execution of addition instruction 2 is instructed, selector 6 adds address ``11'', which is the value ``1'' of counter 13 and constant ``10'', to instruction address stack 7.
The stack 7 stores the contents of the instruction address register 1 at that time, ``102'', at the address ``11''. Thereafter, the counter 13 is changed to "2".

加算命令2の実行が終了すると、この場合演算
例外が発生しているので、演算例外レジスタ33
がセツトされ、図示しない割込制御部へ演算例外
が発生したことが通知される。このとき、カウン
タ23はカウントアツプされないのでその内容は
「1」のままとなる。また、選定決定回路10で
は、カウンタ23の内容「1」に定数「10」を加
算したアドレス「11」が読出しアドレスとして命
令アドレススタツク7に送出され、命令アドレス
スタツク7からは演算例外を起した命令(加算命
令2)のアドレス「102」が読出される。
When the execution of addition instruction 2 is completed, since an operation exception has occurred in this case, the operation exception register 33 is
is set, and an interrupt control unit (not shown) is notified that an arithmetic exception has occurred. At this time, since the counter 23 is not counted up, its content remains at "1". In addition, in the selection decision circuit 10, the address "11" obtained by adding the constant "10" to the content "1" of the counter 23 is sent to the instruction address stack 7 as a read address, and the instruction address stack 7 receives an operation exception. The address "102" of the generated instruction (addition instruction 2) is read.

なお、レジスタ33がセツトされるとオア回路
8の出力によりアンド回路9,12が閉じられる
ため、他の演算で例外が発生しても演算例外レジ
スタはセツトされず、カウンタもカウントアツプ
されない。
Note that when the register 33 is set, the AND circuits 9 and 12 are closed by the output of the OR circuit 8, so even if an exception occurs in another operation, the operation exception register is not set and the counter is not counted up.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、命令実行指示
時に演算ユニツトに対応して順次命令アドレスを
命令アドレススタツクに格納しておき、演算ユニ
ツトからの例外発生なし信号に応答して演算ユニ
ツト対応の第2のカウンタをカウントアツプし、
例外発生有りを示す信号に応答してそれ以降の第
2のカウンタのカウントアツプを禁止し、例外を
発生した演算ユニツトに対応する第2のカウンタ
の内容で命令アドレススタツクをアクセスするよ
うにしたので、後続命令が先行命令の終了前に実
行開始されても演算例外を起こした命令のアドレ
スを正しく割出すことができる効果がある。
As explained above, the present invention sequentially stores instruction addresses in the instruction address stack corresponding to the arithmetic unit when instruction execution is instructed, and stores the instruction addresses corresponding to the arithmetic unit in response to a no-exception signal from the arithmetic unit. Count up the second counter,
In response to a signal indicating that an exception has occurred, subsequent count-up of the second counter is prohibited, and the instruction address stack is accessed using the contents of the second counter corresponding to the arithmetic unit that generated the exception. Therefore, even if the subsequent instruction starts executing before the preceding instruction ends, the address of the instruction that caused the operation exception can be correctly determined.

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

第1図は本発明の実施例のブロツク図、第2図
は第1図の動作説明図および、第3図は従来の問
題点の説明図である。 図において、1は命令アドレスレジスタ、2は
命令レジスタ、3〜5は演算ユニツト、6,11
はセレクタ、7は命令アドレススタツク、8はオ
ア回路、9はアンド回路、10は選択決定回路、
13,14,15は第1のカウンタ、23,2
4,25は第2のカウンタ、33,34,35は
例外発生レジスタである。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of the operation of FIG. 1, and FIG. 3 is an explanatory diagram of conventional problems. In the figure, 1 is an instruction address register, 2 is an instruction register, 3 to 5 are arithmetic units, and 6, 11 are
is a selector, 7 is an instruction address stack, 8 is an OR circuit, 9 is an AND circuit, 10 is a selection decision circuit,
13, 14, 15 are first counters, 23, 2
4 and 25 are second counters, and 33, 34, and 35 are exception generation registers.

Claims (1)

【特許請求の範囲】 1 異なる演算機能を持つ複数の演算ユニツトを
有する情報処理装置において、 前記各々の演算ユニツトに対応して設けられ、
対応する演算ユニツトへの命令実行指示時に歩進
される複数個の第1のカウンタと、 前記演算ユニツトの各々に対応して設けられ、
対応する演算ユニツトで演算が演算例外なしに終
了したときにその演算ユニツトからの信号で歩進
される複数個の第2のカウンタと、 命令実行指示が為された前記演算ユニツトに対
応する前記第1のカウンタの示す値に基づいたア
ドレスを発生する第1のセレクタと、 前記演算ユニツトの各々に対応して設けられ、
対応する演算ユニツトで演算例外が発生したとき
セツトされる複数個の例外発生レジスタと、 該例外発生レジスタがセツトされた前記演算ユ
ニツトに対応する前記第2のカウンタの示す値に
基づいたアドレスを発生する第2のセレクタと、 前記第1のセレクタから送られたアドレスにそ
のときの命令アドレスレジスタの内容を格納し、
前記第2のセレクタから送られたアドレスに格納
された内容を演算例外を起こした命令のアドレス
として出力する命令アドレススタツクとを具備し
たことを特徴とする演算例外命令アドレス割出装
置。
[Scope of Claims] 1. In an information processing device having a plurality of arithmetic units having different arithmetic functions, provided corresponding to each of the arithmetic units,
a plurality of first counters that are incremented when instructing the corresponding arithmetic unit to execute an instruction; and a plurality of first counters provided corresponding to each of the arithmetic units;
a plurality of second counters that are incremented by a signal from a corresponding arithmetic unit when the arithmetic operation is completed without an exception; a first selector that generates an address based on the value indicated by the counter No. 1; and a first selector provided corresponding to each of the arithmetic units;
Generates an address based on a plurality of exception occurrence registers that are set when an arithmetic exception occurs in a corresponding arithmetic unit, and a value indicated by the second counter corresponding to the arithmetic unit in which the exception occurrence register is set. a second selector that stores the contents of the instruction address register at that time in the address sent from the first selector;
An instruction address stack for outputting the contents stored in the address sent from the second selector as the address of the instruction that caused the operation exception.
JP60140965A 1985-06-27 1985-06-27 Arithmetic exception instruction address calculation device Granted JPS622329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60140965A JPS622329A (en) 1985-06-27 1985-06-27 Arithmetic exception instruction address calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60140965A JPS622329A (en) 1985-06-27 1985-06-27 Arithmetic exception instruction address calculation device

Publications (2)

Publication Number Publication Date
JPS622329A JPS622329A (en) 1987-01-08
JPH0580690B2 true JPH0580690B2 (en) 1993-11-10

Family

ID=15280936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60140965A Granted JPS622329A (en) 1985-06-27 1985-06-27 Arithmetic exception instruction address calculation device

Country Status (1)

Country Link
JP (1) JPS622329A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7172257B2 (en) 2018-08-01 2022-11-16 トヨタ自動車株式会社 Autonomous driving system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576446A (en) * 1978-12-06 1980-06-09 Toshiba Corp Pre-fetch control system
JPS55110340A (en) * 1979-02-16 1980-08-25 Fujitsu Ltd Data processing system
JPS5696339A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Data processing system
JPS56157538A (en) * 1980-05-09 1981-12-04 Fujitsu Ltd Data processing system of advanced mode control
JPS58221447A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Data processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576446A (en) * 1978-12-06 1980-06-09 Toshiba Corp Pre-fetch control system
JPS55110340A (en) * 1979-02-16 1980-08-25 Fujitsu Ltd Data processing system
JPS5696339A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Data processing system
JPS56157538A (en) * 1980-05-09 1981-12-04 Fujitsu Ltd Data processing system of advanced mode control
JPS58221447A (en) * 1982-06-18 1983-12-23 Hitachi Ltd Data processor

Also Published As

Publication number Publication date
JPS622329A (en) 1987-01-08

Similar Documents

Publication Publication Date Title
KR920008280B1 (en) Integrated and programmable processor for word-wise dsp
EP0220682B1 (en) Data processing system
US5539685A (en) Multiplier device with overflow detection function
JPS6254359A (en) Computer apparatus
EP0167959B1 (en) Computer vector register processing
US4754424A (en) Information processing unit having data generating means for generating immediate data
JPH0580690B2 (en)
JPH0346024A (en) Floating point computing element
JPS5935451B2 (en) General purpose register access method
JPS5968058A (en) Floating point multiplier
KR930003399B1 (en) Microprogrammed systems software instruction undo
US5732252A (en) Program counter system capable of incrementing or decrementing after a conditional jump instruction
JPH0580691B2 (en)
JP2511063B2 (en) Pipeline control method
US4649472A (en) Multi-phase subroutine control circuitry
JPS6236255B2 (en)
EP0057313A2 (en) Multi-phase subroutine control circuitry
JPH04195629A (en) Arithmetic flag generation device
JP2696903B2 (en) Numerical calculator
JPS6125275A (en) Vector instruction processor
JP3068406B2 (en) Vector arithmetic unit
JP3271713B2 (en) Micro instruction controller
JPS622324A (en) Processing system at tiem of generation of arithmetic exception
JPS6052449B2 (en) Interrupt processing method
JPH04330519A (en) Multiplier