JPH01310443A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH01310443A JPH01310443A JP14039388A JP14039388A JPH01310443A JP H01310443 A JPH01310443 A JP H01310443A JP 14039388 A JP14039388 A JP 14039388A JP 14039388 A JP14039388 A JP 14039388A JP H01310443 A JPH01310443 A JP H01310443A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- execution
- register
- storage means
- instruction register
- 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
- 230000010365 information processing Effects 0.000 claims description 17
- 238000004458 analytical method Methods 0.000 claims description 14
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 230000002194 synthesizing effect Effects 0.000 abstract 2
- 230000004044 response Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Advance Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はパイプ処理型の情報処理装置に係わり、特にパ
イプ処理中断時のロスタイムの軽減に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pipe processing type information processing device, and particularly to reducing loss time when pipe processing is interrupted.
従来、一命令を実行しながら同時に次命令の解析を行い
、次のステップでの次命令の実行に備えてふく、いわゆ
るパイプ処理を行う情報処理装置では、一命令の内容が
次命令を変更するものである場合、すなわち一命令がメ
モリへの書込み命令でかつメモリに格納されている次命
令を書き換えてしまうような場合、命令実行部により行
われる一命令の実行と同時に命令解析部により行われて
いる次命令の解析は無効であり、新に変更を受けた次命
令をメモリから読み直して命令の再解析を行っていた。Conventionally, in information processing devices that perform so-called pipe processing, in which one instruction is executed and the next instruction is simultaneously analyzed and the next instruction is prepared for execution in the next step, the content of one instruction changes the next instruction. In other words, when one instruction is a write instruction to memory and rewrites the next instruction stored in memory, the instruction analysis section executes the instruction at the same time as the execution of the instruction executed by the instruction execution section. The analysis of the next instruction that has changed is invalid, and the newly changed next instruction is reread from memory and the instruction is reanalyzed.
従来のこの種の情報処理装置の構成を第2図を参照して
具体的に説明する。同図において情報処理装置は命令群
が格納されるメモリ10と、メモリ10より呼び出され
た一命令を実行する命令実行部30と、メモ+J I
Oより前記一命令に引き続き実行される次命令を取り込
み保持する命令レジスフ200を含むこの次命令の内容
解析を行う命令解析部20とから構成されている。The configuration of a conventional information processing apparatus of this type will be specifically explained with reference to FIG. In the figure, the information processing device includes a memory 10 in which a group of instructions is stored, an instruction execution unit 30 that executes an instruction called from the memory 10, and a memo+J I
The instruction analyzer 20 includes an instruction register 200 that captures and holds the next instruction to be executed following the one instruction from O, and an instruction analyzer 20 that analyzes the contents of the next instruction.
現在、命令実行部30で命令100が実行中であり、こ
れと同時に命令解析部20では命令102を命令レジス
タ200に取り込んで解析中であるとする。It is assumed that the instruction execution unit 30 is currently executing the instruction 100, and at the same time, the instruction analysis unit 20 is loading the instruction 102 into the instruction register 200 and analyzing it.
命令100の実行により命令実行部30がその処理結果
であるデータをメモリ10にデータ線51を介して書き
込む場合、書き込まれるデータの書込アドレス300と
命令解析部20で解析中の命令102のメモリ10上で
の命令アドレス204の2つのアドレスを比較器202
が比較し、その結果アドレスのオーバーラツプが認めら
れた場合、命令100の実行によりメモリ上の命令10
2が変更を受けることになる。When the instruction execution unit 30 writes data as a processing result to the memory 10 via the data line 51 by executing the instruction 100, the write address 300 of the data to be written and the memory of the instruction 102 being analyzed by the instruction analysis unit 20 Comparator 202 compares the two addresses of instruction address 204 on
As a result, if an overlap in addresses is found, execution of instruction 100 updates instruction 10 in memory.
2 will undergo changes.
命令解析部20ではすでにメモリ10よりデータ線50
を介して変更前の命令102を取り込んで解析中である
が、メモリ上の命令102が変更を受けた以上、解析中
の変更前の命令102は無効となる。The instruction analysis unit 20 has already read the data line 50 from the memory 10.
Although the instruction 102 before the change is fetched and analyzed through the , since the instruction 102 in the memory has been changed, the instruction 102 before the change that is being analyzed becomes invalid.
この時点で解析しなければならないのは変更されたメモ
リ上の命令102であり、命令解析部20はメモリ10
から命令レジスタ200に変更された命令102を再び
取り込み命令の再解析を行うこととなる。What must be analyzed at this point is the instruction 102 on the memory that has been changed, and the instruction analysis unit 20
The changed instruction 102 is re-introduced into the instruction register 200 and the instruction is re-analyzed.
上述したように従来のパイプ処理型の情報処理装置では
、命令レジスタに取り込まれ、解析中の一命令が次命令
の影響を受けた場合、メモリから新に変更後の命令を取
り込み直すという処理を行っていたために、処理部の演
算速度が相対的に応答速度の遅いメモリの影響を受ける
ことにより、情報処理装置全体としてロスタイムが増加
するという問題があった。As mentioned above, in conventional pipe processing type information processing devices, when an instruction that is being read into the instruction register and being analyzed is affected by the next instruction, a new instruction that has been changed is read in from memory. As a result, the calculation speed of the processing section is influenced by the memory having a relatively slow response speed, resulting in an increase in loss time for the information processing apparatus as a whole.
本発明はこのような事情に鑑みてなされたものであり、
メモリアクセス動作に伴うロスタイムの軽減を図った情
報処理装置を提供することを目的とするものである。The present invention was made in view of these circumstances, and
It is an object of the present invention to provide an information processing device that reduces loss time associated with memory access operations.
本発明は上記目的を達成するために、命令群が格納され
る記憶手段と、この記憶手段より読み出された一命令を
実行する命令実行手段と、記憶手段より一命令に引き続
き実行される次命令を取り込み保持する命令レジスタを
含み、この次命令の内容の解析を行う命令解析手段とを
有し、一命令の実行と次命令の内容解析とを同時に並行
して行うパイプ処理型の情報処理装置において、命令実
行手段による命令実行に伴う処理結果を記憶手段に書き
込むための命令実行手段と記憶手段とを直結するデータ
線を分岐させて命令レジスタに入力できるように接続す
ると共に、記憶手段から読み出される“命令、命令実行
に伴う処理結果および命令レジスタの保持内容が入力さ
れ、通常は記憶手段から読み出される命令を選択的に出
力するデータ選択合成手段を有し、この選択合成手段は
、命令実行手段による一命令の実行により命令レジスタ
に、すでに保持されているメモリ上の次命令が変更を受
けた場合には、命令実行に伴う処理結果および命令レジ
スタに保持されていた次命令とを合成して命令レジスタ
に出力することを特徴とするものである。In order to achieve the above object, the present invention includes a storage means in which a group of instructions is stored, an instruction execution means for executing one instruction read from the storage means, and a next instruction executed from the storage means following one instruction. Pipe processing type information processing that includes an instruction register that captures and holds an instruction, and an instruction analysis means that analyzes the contents of the next instruction, and executes one instruction and analyzes the contents of the next instruction at the same time. In the apparatus, a data line that directly connects the instruction execution means and the storage means for writing the processing result accompanying the execution of the instruction by the instruction execution means into the storage means is branched and connected so that it can be input to the instruction register, and The instruction to be read, the processing result associated with the execution of the instruction, and the contents held in the instruction register are inputted, and the selection synthesis means has data selection and synthesis means that selectively outputs the instruction read from the storage means. When the next instruction in the memory that is already held in the instruction register is changed due to the execution of one instruction by the execution means, the processing result associated with the instruction execution and the next instruction held in the instruction register are synthesized. This is characterized by outputting the command to the instruction register.
本発明に係わる情報処理装置では、命令実行手段による
命令実行により命令解析手段の命令レジスタに、すでに
保持されているメモリ上の次命令が変更を受けた場合に
は、命令実行に伴う処理結果および命令レジスタに保持
されていた次命令とを合成して命令レジスタに出力され
るので、命令レジスタの内容変更のために記憶手段から
変更後の命令の再読み込みを行う必要がなく、相対的に
応答速度の遅いメモリアクセス動作に伴うロスタイムの
軽減が図れる。In the information processing device according to the present invention, when the next instruction on the memory already held in the instruction register of the instruction analysis means is changed due to the instruction execution by the instruction execution means, the processing result accompanying the instruction execution and the Since the next instruction held in the instruction register is combined with the next instruction and output to the instruction register, there is no need to reread the changed instruction from the storage means to change the contents of the instruction register, and the response is relatively fast. Loss time associated with slow memory access operations can be reduced.
以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図には本発明に係わる情報処理装置の一実施例の構
成が示されている。なお、第1図に示す情報処理装置と
第2図に示した情報処理装置の構成とで重複する部分は
その説明を省略する。すなわち、命令実行部30により
メモリ10から読み出された命令100が実行された後
、命令解析部20内の比較器202によりアドレスのオ
ーバーラツプが検出されるところまでは、第2図に示し
た従来例とまったく同様である。また同一の構成要素に
ついては同一の参照符号を用いている。本実施例では変
更を受けたメモリ10上の命令102を新にメモリ10
から読み込むことはしない。FIG. 1 shows the configuration of an embodiment of an information processing apparatus according to the present invention. Note that the explanation of the parts that overlap between the configurations of the information processing apparatus shown in FIG. 1 and the information processing apparatus shown in FIG. 2 will be omitted. That is, after the instruction 100 read out from the memory 10 is executed by the instruction execution section 30, until an address overlap is detected by the comparator 202 in the instruction analysis section 20, the conventional method shown in FIG. Exactly the same as the example. Also, the same reference numerals are used for the same components. In this embodiment, the instruction 102 on the memory 10 that has been changed is transferred to the new memory 10.
It does not read from.
すなわち、データ線51を分岐させて、命令解析部20
へ入力するデータ線52を設け、このデータ線52を選
択合成器206に入力するように構成されている。That is, the data line 51 is branched and the instruction analysis section 20
A data line 52 is provided for input to the selector synthesizer 206 .
選択合成器206は比較器202が命令アドレス204
と書込アドレス300とのオーバーラツプを検出しない
限りはメモリ10からの読出データ(命令)を命令レジ
スタ200へ入力するように選択的に出力する。この状
態では第2図に示した従来の情報処理装置でメモリ10
からの読出データ(命令)が命令レジスタ200に直接
、入力されるのと同等である。The selection synthesizer 206 selects the instruction address 204 from the comparator 202.
Unless an overlap between the address and the write address 300 is detected, read data (instruction) from the memory 10 is selectively outputted so as to be input to the instruction register 200. In this state, the memory 10 in the conventional information processing apparatus shown in FIG.
This is equivalent to inputting read data (commands) directly to the instruction register 200.
さて命令解析部20の比較器202がアドレスのオーバ
ーラツプを検出すると、選択合成器206はデータ線5
2を介して入力される書込データと、すでに保持されて
いたデータ線208を介して入力される命令レジスタの
内容とを合成して、命令レジスタ200に入力する。命
令実行部30より命令実行後にその処理結果として、デ
ータ51152を介して出力される書込データはメモリ
10上の命令102のすべてを書き換える内容であると
は限らず、メモリ10上の命令102の一部分のみを書
き換える場合もある。そこで選択合成器206では、一
部分書き換え対応させるため、命令レジスタ200に保
持されていた変更前の命令102と変更を要するデータ
線52を介して入力される部分データの2つを用いて、
変更する部分はデータ線52を介して入力されるデータ
に置き換え、他方、変更しない部分はデータ線208を
介して命令レジスタ200より入力されるデータを使用
して選択合成し、命令レジスフ200に入力する。この
ようにして命令レジスタ200に変更された命令をセッ
トして命令解析部20は命令の再解析を行う。Now, when the comparator 202 of the instruction analysis section 20 detects an address overlap, the selection synthesizer 206
The write data inputted through the input line 200 and the contents of the instruction register inputted through the data line 208 that have already been held are combined and input into the instruction register 200. The write data output via the data 51152 as a processing result after the instruction execution unit 30 executes the instruction does not necessarily rewrite all of the instructions 102 on the memory 10; In some cases, only a portion of the information may be rewritten. Therefore, in order to make the partial rewrite compatible, the selection synthesizer 206 uses two items: the instruction 102 before the change held in the instruction register 200 and the partial data input via the data line 52 that requires the change.
The parts to be changed are replaced with data input via the data line 52, while the parts not to be changed are selectively synthesized using data input from the instruction register 200 via the data line 208 and input to the instruction register 200. do. The instruction analyzer 20 sets the changed instruction in the instruction register 200 and reanalyzes the instruction.
以上に説明したように、本発明では命令実行手段による
命令実行により命令解析手段の命令レジスタに、すでに
保持されているメモリ上の次命令が変更を受けた場合に
は、命令実行に伴う処理結果および命令レジスタに保持
されていた次命令とを合成して命令レジスフに出力する
ように構成したので、本発明によれば命令レジスタの内
容変更のために記憶手段から変更後の命令の再読み込み
を行う必要がなく、相対的に応答速度の遅いメモリアク
セス動作に伴うロスタイムの軽減が図れる。As explained above, in the present invention, when the next instruction in the memory already held in the instruction register of the instruction analysis means is changed by the instruction execution by the instruction execution means, the processing result accompanying the instruction execution is changed. and the next instruction held in the instruction register are combined and output to the instruction register. According to the present invention, in order to change the contents of the instruction register, the instruction after the change is reread from the storage means. There is no need to perform this process, and loss time associated with memory access operations with relatively slow response speeds can be reduced.
第1図は本発明に係わる情報処理装置の一実施例の構成
を示すブロック図、第2図は従来の情報処理装置の構成
を示すブロック図である。
10・・・・・・メモリ、
20・・・・・・命令解析部、
30・・・・・・命令実行部、
200・・・・・・命令レジスタ、
202・・・・・・比較器、
206・・・・・・選択合成器。
出 願 人 日本電気株式会社
代 理 人 弁理士 山内梅雄
第1図
ン
夷2図FIG. 1 is a block diagram showing the configuration of an embodiment of an information processing apparatus according to the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional information processing apparatus. 10...Memory, 20...Instruction analysis unit, 30...Instruction execution unit, 200...Instruction register, 202...Comparator , 206... Selection synthesizer. Applicant: NEC Co., Ltd. Representative: Patent attorney: Umeo Yamauchi Figures 1 and 2
Claims (1)
出された一命令を実行する命令実行手段と、前記記憶手
段より前記一命令に引き続き実行される次命令を取り込
み保持する命令レジスタを含み、この次命令の内容の解
析を行う命令解析手段とを有し、一命令の実行と次命令
の内容解析とを同時に並行して行うパイプ処理型の情報
処理装置において、 命令実行手段による命令実行に伴う処理結果を前記記憶
手段に書き込むための命令実行手段と記憶手段とを直結
するデータ線を分岐させて前記命令レジスタに入力でき
るように接続すると共に、前記記憶手段から読み出され
る命令、前記命令実行に伴う処理結果および前記命令レ
ジスタの保持内容が入力され、通常は記憶手段から読み
出される命令を選択的に出力するデータ選択合成手段を
有し、 この選択合成手段は、前記命令実行手段による一命令の
実行により命令レジスタに、すでに保持されているメモ
リ上の次命令が変更を受けた場合には、前記命令実行に
伴う処理結果および命令レジスタに保持されていた次命
令とを合成して命令レジスタに出力することを特徴とす
る情報処理装置。[Scope of Claims] A storage means for storing a group of instructions, an instruction execution means for executing one instruction read from the storage means, and a next instruction to be executed subsequent to the one instruction taken from the storage means. In a pipe processing type information processing device, which includes an instruction register for holding, and an instruction analysis means for analyzing the contents of the next instruction, and simultaneously executes one instruction and analyzes the contents of the next instruction in parallel, A data line that directly connects the instruction execution means and the storage means for writing the processing result accompanying the execution of the instruction by the instruction execution means into the storage means is branched and connected so as to be input to the instruction register, and a data line from the storage means A data selection and synthesis means receives an instruction to be read, a processing result accompanying execution of the instruction, and contents held in the instruction register, and normally outputs an instruction read from the storage means selectively, and the selection and synthesis means includes: If the next instruction on the memory already held in the instruction register is changed due to the execution of one instruction by the instruction execution means, the processing result associated with the execution of the instruction and the next instruction held in the instruction register are changed. What is claimed is: 1. An information processing device characterized in that:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14039388A JPH01310443A (en) | 1988-06-09 | 1988-06-09 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14039388A JPH01310443A (en) | 1988-06-09 | 1988-06-09 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01310443A true JPH01310443A (en) | 1989-12-14 |
Family
ID=15267758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14039388A Pending JPH01310443A (en) | 1988-06-09 | 1988-06-09 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01310443A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100335785B1 (en) * | 1993-09-23 | 2002-11-30 | 에이알엠 리미티드 | Execution of data processing instructions |
-
1988
- 1988-06-09 JP JP14039388A patent/JPH01310443A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100335785B1 (en) * | 1993-09-23 | 2002-11-30 | 에이알엠 리미티드 | Execution of data processing instructions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0241946A2 (en) | Information processing system | |
KR101032563B1 (en) | Data processing in which concurrently executed processes communicate via a fifo buffer | |
JPH10214203A (en) | Information processor | |
JPH01310443A (en) | Information processor | |
JPH0628499A (en) | Data driving-type information processor | |
JP2000353092A (en) | Information processor and register file switching method for the processor | |
JP2878264B1 (en) | Tracer device, trace data compression method, and compressed trace data reading method | |
JP3145545B2 (en) | Memory access device | |
JP3305841B2 (en) | Program control unit | |
US5822775A (en) | Efficient data processing method for coefficient data in a digital dignal, processor | |
JPS6336441A (en) | Rewriting system for preread instruction | |
JPH024011B2 (en) | ||
JPS63237143A (en) | Programmable controller | |
JPH03269650A (en) | Buffer storage | |
JPH0443431A (en) | Method for storing microprogram into control storage | |
JPH023822A (en) | Data processor | |
JP2001325102A (en) | Computing element | |
JPH027129A (en) | Arithmetic processing unit | |
JPH07129411A (en) | Machine language translating device | |
JPH0298751A (en) | Tracer control circuit | |
JPH04350727A (en) | Multiplex branch processing method | |
JPH09325935A (en) | Bus switching circuit | |
JPH0553827A (en) | Dynamic link optimizing system | |
JPS62108333A (en) | Semiconductor device | |
JPH04305783A (en) | Microcomputer |