JPS60238937A - Precedence controlling device - Google Patents

Precedence controlling device

Info

Publication number
JPS60238937A
JPS60238937A JP9518084A JP9518084A JPS60238937A JP S60238937 A JPS60238937 A JP S60238937A JP 9518084 A JP9518084 A JP 9518084A JP 9518084 A JP9518084 A JP 9518084A JP S60238937 A JPS60238937 A JP S60238937A
Authority
JP
Japan
Prior art keywords
instruction
operand
supply
type
information
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
Application number
JP9518084A
Other languages
Japanese (ja)
Inventor
Ritsuo Sugaya
菅谷 律雄
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP9518084A priority Critical patent/JPS60238937A/en
Publication of JPS60238937A publication Critical patent/JPS60238937A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To efficiently perform operand supply, by continuously suppying operands designated by a variable-length operand instruction by a necessary length and, at the same time, detecting the operand supply of the instruction through precedence control. CONSTITUTION:Operand starting address implementing means 201 and 202 implement the operand starting address of an instruction prefetched by an instruction prefetching instruction. The type of the prefetched instruction is identified by an instruction type identifying means and, if it is identified as a instruction for executing operand supply as the results of execution of accessing of plural memories, the order of the operand supply is designated by an operand supplying order type designating means 121. Then start of the operand supply of the succeeding instruction is designated in accordance with a judged result obtained by calculating the moment when the continuous operand supply is terminated and instruction type.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はパイプライン方式の情報処理装置に関し、特に
、命令語、あるーは命令語により指定されたレジスタに
より任意のオペランド長を指定することが可能な可変長
オペランド命令のオペランド先取り方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a pipeline type information processing device, and in particular, to specifying an arbitrary operand length using an instruction word or a register specified by the instruction word. This paper relates to an operand prefetching method for variable-length operand instructions that allows for variable-length operand instructions.

(従来技術) 従来の先行制御装置では命令デコード部によって可変長
オペランド命令であると識別された場合には、先行制御
部は演算部に対して上記可変長オペランド命令で指定さ
れたオペランド長とは無関係にその第1ワードのみを供
給し、演算部では必要に応じて残りのオペランド供給の
だめのメモリリクエストを送出してbた。着た、可変長
オペランド命令に後続する命令のオペランド供給は、演
算部からの開始指示によって行われていた。
(Prior Art) In a conventional advance control device, when an instruction decoder identifies a variable-length operand instruction, the advance control section informs the operation section of the operand length specified by the variable-length operand instruction. Only the first word is supplied regardless, and the arithmetic unit sends out a memory request for supplying the remaining operands as necessary. The operand supply for the instruction following the arrived variable length operand instruction was performed by a start instruction from the arithmetic unit.

従って、演算部からメモリリクエストを送出LJcff
lにオペランドデータが演算部に返ってくるオでの間の
ロスサイクル、および、オペランド供給の必要の有無の
判断をするために命令の実行速度を向上する必要性があ
ると云う観点から好ましくなかった。また、上記可変長
オペランド命令の終了を演算部から先行制御部に通知す
ることによって後続する命令のオペランド供給が開始さ
れ、これにより、先行制御部と演算部との間でパイプラ
イン段数分のロスサイクルが生じるという欠点があった
Therefore, the memory request is sent from the calculation unit LJcff
This is undesirable from the viewpoint of the loss cycle between L and O when operand data is returned to the arithmetic unit, and the need to improve the instruction execution speed in order to judge whether or not it is necessary to supply operands. Ta. In addition, by notifying the preceding control section of the end of the variable-length operand instruction, the supply of operands for the subsequent instruction is started, resulting in a loss equal to the number of pipeline stages between the preceding control section and the calculating section. There was a drawback that a cycle occurred.

(発明の目的) 本発明の目的は、先行制御装置に可変長オペランド命令
によって命令ごとに指定されたオペランドを必要な長さ
分のみ連続的に、演算部での処理が容易になるような順
序で供給し、可変長オペランド命令のオペランド供給の
終了を先行制御部で検出して、後続する命令のオペラン
ド供給を直ちに実行することにより上記欠点を除去し、
オペランド供給を効果的に行うように構成した先行制御
装置を提供することにある。
(Objective of the Invention) An object of the present invention is to provide a variable-length operand instruction to a preceding control device so that operands specified for each instruction are sequentially transmitted for the necessary length in an order that facilitates processing in an arithmetic unit. The preceding control unit detects the end of operand supply for a variable-length operand instruction and immediately executes operand supply for a subsequent instruction, thereby eliminating the above disadvantages.
An object of the present invention is to provide a advance control device configured to effectively supply operands.

(発明の構成) 本発明による先行制御装置はパイプライン方式の情報処
理における複数のメモリアクセスによってオペランドを
供給するための命令のオペランド連続供給、および上記
命令のオペランド供給の終了を検出することが可能なも
のである。
(Structure of the Invention) The advance control device according to the present invention is capable of detecting the continuous supply of operands of instructions for supplying operands through multiple memory accesses in pipelined information processing, and the end of the supply of operands of the above-mentioned instructions. It is something.

本発明による先行制御装置はオペランド開始アドレス生
成手段と、命令タイプ識別手段と、読出し手段と、オペ
ランド供給順序タイプ指定手段と、制御手段と、判定手
段と、次オペランド供給指示手段とを具備して構成した
ものであ 3− る。
The advance control device according to the present invention includes operand start address generation means, instruction type identification means, reading means, operand supply order type designation means, control means, determination means, and next operand supply instruction means. 3-

オペランド開始アドレス生成手段は、命令先取り命令に
より先取りされた命令のオペランド開始アドレスを生成
するためのものである。
The operand start address generation means is for generating an operand start address of an instruction prefetched by an instruction prefetch instruction.

命令タイプ識別手段は、先取りされた命令のタイプを識
別するためのものである。
The instruction type identification means is for identifying the type of the prefetched instruction.

続出し手段は、命令語あるいは命令語からの間接的な指
示によりオペランド長を読出すためのものである。
The successive output means is for reading out the operand length by a command word or an indirect instruction from a command word.

オペランド供給順序タイプ指示手段は、命令タイプ識別
手段によって複数のメモリアクセスを実行した結果とし
てオペランド供給を実行する命令であると識別された場
合に、オペランド供給の順序のタイプを指定するための
ものである。
The operand supply order type indicating means is for specifying the type of operand supply order when the instruction type identification means identifies an instruction that executes operand supply as a result of executing multiple memory accesses. be.

制御手段は、オペランド供給順序タイプ指定手段による
指定に従って行われる連続的なオペランドアドレスの生
成を制御するためのものである。
The control means is for controlling the generation of continuous operand addresses in accordance with the designation by the operand supply order type designation means.

判定手段は、制御手段による連続的なオペラ4− ンド供給が終了する時点を計算して判定するためのもの
である。
The determining means is for calculating and determining the point in time when the continuous supply of operands by the control means ends.

次オペランド供給指示手段は、判定の結果および命令の
タイプに従って、後続する命令のオペランド供給の開始
を指示するためのものである。
The next operand supply instruction means is for instructing the start of operand supply for a subsequent instruction according to the result of the determination and the type of instruction.

(実 流側) 次に、本発明について図面を参Hして詳細に説明する。(Actual flow side) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明による先行制御装置の一実施例を示す
構成のブロック図である。第1図にお込て、101は命
令レジスタ、110は命令解読ブロック、130はオペ
ランド供給開始指示ブロック、150.155 、15
6.157.、261.262.263 。
FIG. 1 is a block diagram of the configuration of an embodiment of the advance control device according to the present invention. In FIG. 1, 101 is an instruction register, 110 is an instruction decoding block, 130 is an operand supply start instruction block, 150, 155, 15
6.157. , 261.262.263.

264はそれぞれレジスタ、230.271 、272
はそれぞれセレクタ回路、270はカウンタ回路、20
1゜202はオペランドアドレス生成回路、260けオ
ペランド長読出しブロック、290は分岐回路である。
264 are registers, 230.271, 272 respectively
270 is a selector circuit, 270 is a counter circuit, and 20 is a selector circuit, respectively.
1. 202 is an operand address generation circuit, 260 operand length read block, and 290 is a branch circuit.

第1図において命令レジスタ101は解読すべき命令を
保持するレジスタで、命令解読ブロック110によって
オペランドを取出すのに必要々情報を展開し、解読情報
レジスタ群150に送られる。アドレス生成制御情報1
20は上記のオペランドアドレス生成ステージにおける
第1サイクルで解読レジスタ群150から入力されアド
レス情報を生成するためのもので、オペランドアドレス
生成回路201のための制御情報である。
In FIG. 1, an instruction register 101 is a register that holds an instruction to be decoded, and an instruction decoding block 110 expands the information necessary to extract an operand and sends it to a decoding information register group 150. Address generation control information 1
Reference numeral 20 is input from the decoding register group 150 in the first cycle of the operand address generation stage to generate address information, and is control information for the operand address generation circuit 201.

この制御情報は命令レジスタ101の命令コードに対応
して指定され、制御情報レジスタ156に送出される。
This control information is designated corresponding to the instruction code of the instruction register 101 and sent to the control information register 156.

オペランド供給タイプ指示情報121け命令レジスタ1
01の命令コードに対応して指定され、命令のオペラン
ド供給が複数回のメモリアクセスを要する固定長オペラ
ンド命令の場合、あるbは命令語の場合、あるhは命令
語で指定されたレジスタで任意のオペランド長を指定し
た可変長オペランド命令の場合には、オペランドアドレ
ス生成ステージの第2サイクル以降のアドレス生成制御
の手順、ならびに可変長命令時のオペランド供給終了監
視制御の方法を指定するもので、制御情報レジスタ15
5に送られる。命令レジスタ101に格納された命令が
、1回のメモリアクセスによりオペランド供給が終了す
る固定長オペランド命令タイプと、複数回のメモリアク
セスによりオペランド供給が終了する固定長オペランド
命令タイプと、可変長オペランドタイプとのいずれかで
ちる。与えられた命令がAずれであるかに識別するだめ
の命令識別情報122け、前記制御情報レジスタ155
の有効性を指示すると共に後続命令のオペランド生成ス
テージの開始指示ブロック130にも送られる。
Operand supply type instruction information 121 instruction register 1
In the case of a fixed-length operand instruction that is specified corresponding to an instruction code of 01 and requires multiple memory accesses to supply operands, a certain b is an instruction word, and a certain h is an arbitrary register specified by the instruction word. In the case of a variable-length operand instruction that specifies an operand length of Control information register 15
Sent to 5. The instructions stored in the instruction register 101 are of a fixed length operand instruction type where operand supply ends with one memory access, a fixed length operand instruction type where operand supply ends with multiple memory accesses, and a variable length operand type. Chill with either. The control information register 155 includes instruction identification information 122 for identifying whether a given instruction is A-shifted or not.
It is also sent to the start instruction block 130 of the operand generation stage of the subsequent instruction.

オペランドアドレス生成ステージの第2サイクル以降の
制御情報は、メモリ250にあらかじめ与えておく。
Control information for the second and subsequent cycles of the operand address generation stage is given to the memory 250 in advance.

オペランド供給タイプ指示情報121が命令識別情報1
22によって制御情報レジスタ155に有効情報として
セットされて起動がかかると、次サイクルの予測される
制御情報によって予め与えられた情報を制御情報レジス
タ155にセット−7= して自走方式をとることにより、上記命令のオペランド
供給は連続的に制御される。オペランド供給の終了が検
出されると、メモリ250の内容は無効になって自走は
中止される。メモリ250の内容は、オペランドアドレ
ス生成ステージの第2サイクル以降のアドレス生成制御
情報と、オペランドアドレス生成回路202の制御情報
251と、可変長オペランド命令タイプのオペランド供
給の終了監視制御情報252とから構成されて粘る。
Operand supply type instruction information 121 is instruction identification information 1
When the control information register 155 is set as valid information by 22 and activated, the information given in advance by the predicted control information of the next cycle is set in the control information register 155 -7= and a self-running method is adopted. Therefore, the operand supply of the above instruction is continuously controlled. When the end of operand supply is detected, the contents of memory 250 are invalidated and free running is stopped. The contents of the memory 250 are composed of address generation control information for the second cycle and subsequent cycles of the operand address generation stage, control information 251 for the operand address generation circuit 202, and control information 252 for monitoring the end of operand supply for variable length operand instruction types. Persevere.

終了監視制御情報252には終了検出回路を使用せず、
後続命令のオペランド供給開始指示ブロック130に直
接終了を報告することのできる機能も有する。オペラン
ドアドレス生成回路202はレジスタを含むアドレス生
成回路から構成すれ、上記ブロックにおける演算モード
の指示、およびレジスタのセットの指示は制御情報レジ
スタ261により任意に設定することが可能である。
No end detection circuit is used for the end monitoring control information 252,
It also has a function that can directly report completion to the operand supply start instruction block 130 of the subsequent instruction. The operand address generation circuit 202 is composed of an address generation circuit including registers, and instructions for the operation mode in the block and instructions for setting the registers can be arbitrarily set by the control information register 261.

オペランドアドレス生成制御情報250、およ8− び終了監視制御情報252が有効情報である時には、こ
れらの情報はそれぞれ制御情報レジスタ261、262
にセットされる。命令レジスタ101に保持される命令
が前記命令識別情報122によす前記可変長オペランド
命令タイプであると識別されると、命令語、あるいは命
令語で指定されたレジスタにより指定されたオペランド
長はオペランド長読出しブロック260で判読され、オ
ペランドレングスレジスタ263、あるbは264に有
効情報としてセットされる。制御情報レジスタ262の
制御によってカウンタ270でオペランド供給のメモリ
リクエストを送出するごとに、オペランドレングスレジ
スタ263、ある論は264にセットされた有効なオペ
ランド長はカウントダウンされ、オペランドレングスレ
ジスタ263、あるいは264に繰返してセットされる
。カウンタ270の入力セレクタ271 、272は、
演算モードを任意に設定するために設けたものである。
When the operand address generation control information 250 and the termination monitoring control information 252 are valid information, these pieces of information are stored in the control information registers 261 and 262, respectively.
is set to When the instruction held in the instruction register 101 is identified as being of the variable length operand instruction type according to the instruction identification information 122, the operand length specified by the instruction word or the register specified by the instruction word is the operand length specified by the instruction word or the register specified by the instruction word. It is read by the long read block 260, and the operand length register 263, a certain b, is set to 264 as valid information. Each time the counter 270 sends a memory request for operand supply under the control of the control information register 262, the effective operand length set in the operand length register 263 or 264 is counted down, and the valid operand length is set in the operand length register 263 or 264. Set repeatedly. The input selectors 271 and 272 of the counter 270 are
This is provided to arbitrarily set the calculation mode.

オペランドの終端アドレスが必要な場合には制御情報レ
ジスタ261を使用し、オペランドレングスレジスタ2
64.264の内容をあらかじめ信号線502 、50
3を介してオペランドアドレス生成回路202に移送し
て保持しておく。
If the end address of the operand is required, use the control information register 261 and write the operand length register 2.
64. The contents of 264 are set in advance to the signal lines 502 and 50.
3 to the operand address generation circuit 202 and held there.

カウンタ270におして制御情報レジスタ262の指示
によりオペランド供給の終了が検出された場合には、こ
の検出信号は信号線501を介して後続命令開始指示ブ
ロック130に報告され、後続命令のオペランドアドレ
ス生成ステージへの取込みを指示するために使用される
。後続命令のオペランド供給開始指示ブロック130は
オペランドアドレス生成ステージの情報を監視し、すで
に上記ステージが空いてbる場合、あるbけ上記サイク
ルで確実に上記ステージが終了する場合には、命令解読
、ステージに存在する後続命令が次サイクルにおいてオ
ペランド生成ステージに進むととができるように許可指
示が発せられる。
When the counter 270 detects the end of operand supply according to the instruction of the control information register 262, this detection signal is reported to the subsequent instruction start instruction block 130 via the signal line 501, and the operand address generation stage of the subsequent instruction is Used to instruct import into. The operand supply start instruction block 130 for the subsequent instruction monitors the information of the operand address generation stage, and if the stage is already vacant or the stage is definitely completed in the above cycle, the instruction decoding, A permission indication is issued to allow subsequent instructions present in the stage to proceed to the operand generation stage in the next cycle.

オペランドアドレス生成回路201 、202により生
成されたアドレス情報はセレクタ230によって選択さ
れ、アドレス交換部(図示されてな込)へ送出される。
Address information generated by the operand address generation circuits 201 and 202 is selected by a selector 230 and sent to an address exchange section (not shown).

制量情報レジスタ261 ノ情報が有効な時には、セレ
クタ230はオペランドアドレス生成回路202を選択
する。
When the information in the constraint information register 261 is valid, the selector 230 selects the operand address generation circuit 202.

1回のメモリアクセスによりオペランド供給を終了させ
る固定長オペランド命令が命令レジスタ101にセット
されると、命令解読ブロック110によってオペランド
取出しに必要な情報が展開され、解読レジスタ群150
に送出される。
When a fixed-length operand instruction that completes operand supply with one memory access is set in the instruction register 101, the information necessary for fetching the operand is developed by the instruction decoding block 110, and the decoding register group 150
will be sent to.

コノサイクルにおwで、上記命令のアドレス生成制御情
報120が信号線161を介して読出され、信号線16
2を介して制御情報レジスタ156に送出される。命令
識別情報122により命令タイプが識別されるため、オ
ペランド供給タイプ指示情報121は無効になり、フリ
ップ70ツブ157のセット指示が信号線163を介し
て送出される。
In the cono cycle, the address generation control information 120 of the above instruction is read out via the signal line 161, and
2 to the control information register 156. Since the instruction type is identified by the instruction identification information 122, the operand supply type instruction information 121 becomes invalid, and a setting instruction for the flip 70 knob 157 is sent out via the signal line 163.

後続命令開始指示ブロック130におAては、上記命令
に先行する命令がオペランドアドレス生成ステージにお
いてすでに終了してしるか、ある(八は上記サイクルに
おりて終了が確実であるような場合には、上記命令のオ
ペランドアドレス生成ステージへの取込み指示信号が信
号線164 、165を介して送出される。次サイクル
におして信号線164 、165上の指示によりオペラ
ンドアドレス生成ステージに惚込まれた上記命令の情報
は信号線301 、302を介してオペランドアドレス
生成回路20に加えられ、出力信号線303上の出力信
号セレクタ230によって選択され、信号線310を介
してアドレス変換部(図示してない)へ送出される。
In the subsequent instruction start instruction block 130, A indicates whether the instruction preceding the above instruction has already finished in the operand address generation stage (8 indicates that the instruction that precedes the above instruction has already finished in the operand address generation stage (8 is the case where the completion is certain in the above cycle). In this case, a signal instructing the above instruction to be taken into the operand address generation stage is sent via signal lines 164 and 165.In the next cycle, the instruction signal on the signal lines 164 and 165 causes the above instruction to be taken into the operand address generation stage. Instruction information is applied to the operand address generation circuit 20 via signal lines 301 and 302, selected by the output signal selector 230 on the output signal line 303, and sent to the address conversion section (not shown) via the signal line 310. sent to.

上記サイクルにおりて信号線304を介して後続命令開
始指示信号が後続命令開始指示ブロック130に報告さ
れた時、オペランドアドレス生成ステージ取込み指示信
号線164 、165上に信号が送出され、上記命令の
オペランドアドレス生成ステージは終了する。複数回の
メモリアクセスによりオペランド供給が終了する固定長
オペランド命令が命令レジスタ101にセットされると
、命令解読ブロック110によってオペランド取出しに
必要な情報が展開され、解読レジスタ群150に送出さ
れる。上記サイクルにおいて12− 上記命令のアドレス生成制御情報120が信号線161
を介して読出され、信号線162を介して制御情報レジ
スタ156に送出される。命令識別情報122によって
命令タイプが識別されるため、オペランド供給タイプ指
示情報121は信号線166を介し、有効情報として制
御情報レジスタ155に送出される。命令識別情報にょ
シ信号線163を介してフリップフロップ157にけリ
セット信号が送出される。
In the above cycle, when the subsequent instruction start instruction signal is reported to the subsequent instruction start instruction block 130 via the signal line 304, a signal is sent to the operand address generation stage capture instruction signal lines 164 and 165, The operand address generation stage ends. When a fixed-length operand instruction whose operand supply is completed by multiple memory accesses is set in the instruction register 101, the instruction decoding block 110 expands the information necessary for fetching the operand and sends it to the decoding register group 150. In the above cycle, 12- the address generation control information 120 of the above instruction is sent to the signal line 161.
and sent to the control information register 156 via the signal line 162. Since the instruction type is identified by the instruction identification information 122, the operand supply type instruction information 121 is sent to the control information register 155 as valid information via the signal line 166. A reset signal is sent to the flip-flop 157 via the instruction identification information signal line 163.

既に説明したように上記命令のオペランドアドレス生成
ステージ取込み指示が信号線164゜165を介して送
出されてbると、次サイクルでオペランドアドレス生成
ステージに取込まれた上記命令の情報は、オペランドア
ドレス生成回路201から信号線301 、302を介
して送出され、出力信号線303上の出力信号はセレク
タ230により選択され、信号線310を介してアドレ
ス交換部に(図示してな−)に送出される。同時に、オ
ペランドアドレス生成回路201の出力信号線305上
の出力信号はオペランドアドレス生成回路202に送出
される。上記サイクルにおいて制御情報レジスタ155
にセットされた有効情報により信号線251 、.25
2から制御情報が読出され、それぞれ信号線306 、
307 、308を介して制御情報レジスタ261 、
262 、155に送出される。
As already explained, when the instruction to take in the operand address generation stage of the above instruction is sent via the signal lines 164 and 165, the information of the above instruction taken into the operand address generation stage in the next cycle is the operand address. The output signal is sent from the generation circuit 201 via signal lines 301 and 302, and the output signal on the output signal line 303 is selected by the selector 230 and sent to the address exchange unit (not shown) via the signal line 310. Ru. At the same time, the output signal on the output signal line 305 of the operand address generation circuit 201 is sent to the operand address generation circuit 202. In the above cycle, the control information register 155
According to the valid information set in the signal lines 251, . 25
Control information is read from signal lines 306 and 2, respectively.
Control information register 261 via 307 and 308;
262, 155.

上記命令におりては信号線252上の終了監視制御情報
のうちカウンタ制御情報は無視され、オペランド供給終
了情報によって、終了が検出される。次サイクルにおり
ては、制御情報レジスタ261から信号線309を介し
て送出される制御信号によりオペランドアドレス生成回
路202を使用シてオペランドアドレス情報を得てbる
In the above command, the counter control information among the termination monitoring control information on the signal line 252 is ignored, and the termination is detected based on the operand supply termination information. In the next cycle, the operand address generation circuit 202 is used to obtain operand address information in response to a control signal sent from the control information register 261 via the signal line 309.

この時、出力信号線31Nがセレクタ230により選択
され、信号線310を介してアドレス変換部(図示して
な−)に送出されると共に、信号線315を介してオペ
ランドアドレス生成回路202に戻される。次のサイク
ルにおいては、信号線308を介して制御情報レジスタ
155にセットされた情報に従い、信号線251 、2
52を介して制御情報が読出され、前サイクルと同様な
動作が行われる。上記動作の繰返しによって、必要表オ
ペランドが連続的に供給される。上記命令における最終
オペランドアドレス生成サイクルの期間には、制御情報
レジスタ262からオペランド供給終了情報が発せられ
、信号線31.2を介しそこで、信号線164 、16
5上に指示信号が送出されると共に、上記サイクルにメ
モリ250に格納されてしる情報を無効にして、上記命
令のオペランドアドレス生成ステージは終了する。前記
可変長オペランド命令が命令レジスタ10にセットされ
ると、命令解読ブロック110によってオペランド取出
しに必要な情報が展開され、解説レジスタ群150に送
出される。上記サイクルにおりて上記命令のアドレス生
成制御情報120が信号線161を介して読出され、信
号線162を介して制御情報レジスタ156に送出され
る。
At this time, the output signal line 31N is selected by the selector 230, and is sent to the address conversion unit (not shown) via the signal line 310, and is also returned to the operand address generation circuit 202 via the signal line 315. . In the next cycle, according to the information set in the control information register 155 via the signal line 308, the signal lines 251, 2
Control information is read out via 52, and the same operation as in the previous cycle is performed. By repeating the above operations, the necessary table operands are continuously supplied. During the final operand address generation cycle in the above instruction, operand supply end information is issued from the control information register 262, and is sent to the signal lines 164, 16 via the signal line 31.2.
The operand address generation stage of the instruction is completed by sending an instruction signal on 5, invalidating the information stored in memory 250 during the cycle. When the variable length operand instruction is set in the instruction register 10, the instruction decoding block 110 expands the information necessary for fetching the operand and sends it to the explanation register group 150. In the above cycle, the address generation control information 120 of the above instruction is read out via the signal line 161 and sent to the control information register 156 via the signal line 162.

既に説明したように命令識別情報122では命令タイプ
が識別されるため、オペランド供給ター エコ − イブ指示情報121は信号線166を介して有効情報と
して制御レジスタ155に送出される。フリップフロッ
プ157のリセット信号は、命令識別情報により信号線
163を介して送出される。オペランド長読出しブロッ
ク260によって読出されたオペランド長は、上記命令
識別情報により信号線312 、313を介して有効情
報としてオペランドレングスレジスタ263 、264
に送出される。既に説明したように、上記命令のオペラ
ンドアドレス生成ステージ取込み指示が信号線164 
、165を介して送出されてbる場合には、次サイクル
でオペランドアドレス生成ステージに填込まれた上記命
令の情報は信号線301,302ヲ介シてオペランドア
ドレス生成回路201に送出される。セレクタ230で
は出力信号線303が選択され、信号線310を介して
アドレス変換部(図示してない)その内容が送出される
。同時にオペランドアドレス生成回路201の出力は信
号線305を介してオペランドアドレス生成回路202
にも送出される。上記サイクルにおいて、16− 制御情報レジスタ155にセットされた有効情報により
、制御情報251 、252が読出され、信号線306
 、307 、308を介して制御情報レジスタ261
 、262 、155に送出される。次サイクルにbL
nでは、制御情報レジスタ261から信号線309を介
して制御信号がオペランドアドレス生成回路202に送
出され、オペランドアドレス生成回路202ではオペラ
ンドアドレス情報を得てセレクタ230により出力信号
線311が選択される。セレクタ230の出力信号は信
号線310を介してアドレス変換部(図示してな−)に
送出される。同時に、この信号は信号線315を介して
オペランドアドレス生成回路202に戻される。
As described above, since the instruction type is identified in the instruction identification information 122, the operand supply echo instruction information 121 is sent to the control register 155 as valid information via the signal line 166. A reset signal for the flip-flop 157 is sent out via the signal line 163 based on the instruction identification information. The operand length read by the operand length read block 260 is sent to the operand length registers 263, 264 as valid information via the signal lines 312, 313 according to the instruction identification information.
sent to. As already explained, the instruction to take in the operand address generation stage of the above instruction is sent to the signal line 164.
. The output signal line 303 is selected by the selector 230, and its contents are sent to an address converter (not shown) via a signal line 310. At the same time, the output of the operand address generation circuit 201 is sent to the operand address generation circuit 202 via the signal line 305.
It is also sent to In the above cycle, the control information 251 and 252 are read out based on the valid information set in the 16-control information register 155, and the signal line 306 is read out.
, 307 , 308 to the control information register 261
, 262 , 155 . bL in next cycle
At n, a control signal is sent from the control information register 261 to the operand address generation circuit 202 via the signal line 309, the operand address generation circuit 202 obtains operand address information, and the output signal line 311 is selected by the selector 230. The output signal of the selector 230 is sent to an address converter (not shown) via a signal line 310. At the same time, this signal is returned to operand address generation circuit 202 via signal line 315.

論っぽう、制御情報レジスタ262から送出された制御
情報は信号線316を介してセレクタ271゜272、
カウンタ270、およびオペランドレングスレジスタ2
63 、264に送出され、これらが制御されてオペラ
ンド供給が終了するか否かが連続的に監視される。
In other words, the control information sent from the control information register 262 is transmitted via the signal line 316 to the selectors 271, 272,
counter 270 and operand length register 2
63 and 264, and these are controlled to continuously monitor whether or not the operand supply is completed.

カウンタ270における演算モードは制御情報レジスタ
262によって任意に設定することが可能であるため、
本実施例にbinてはオペランド供給単位を演算数に用
A1カウンタ27oノ内容が零、もしくは負になる時点
を終了の検出時点とする。このサイクルにおしては信号
線308により制御情報251 、252が読出され、
前サイクルと同様に動作する。この動作の繰返しによっ
て必要なオペランドが連続的に供給される。成る特定の
サイクルにおAて、カウンタ270の内容が零もしくは
負になって終了条件が検出されると、信号線501を介
して後続命令オペランド供給開始指示ブロック130に
上記条件が報告され、オペランドアドレス生成ステージ
取込み指示信号164 、165が送出されると共に上
記サイクルでのメモリ250の情報を無効にする。これ
により上記命令のオペランドアドレス生成ステージは終
了する。
Since the calculation mode in the counter 270 can be arbitrarily set by the control information register 262,
In this embodiment, the operand supply unit is used as the operation number, and the point in time when the content of the A1 counter 27o becomes zero or negative is the point in time when the end is detected. In this cycle, control information 251 and 252 are read out by the signal line 308,
Works the same as the previous cycle. By repeating this operation, the necessary operands are continuously supplied. In a specific cycle A, when the contents of the counter 270 become zero or negative and an end condition is detected, the above condition is reported to the subsequent instruction operand supply start instruction block 130 via the signal line 501, and the operand Address generation stage capture instruction signals 164 and 165 are sent out, and the information in the memory 250 in the above cycle is invalidated. This completes the operand address generation stage of the above instruction.

2つのオペランドを使用する可変長オペランド命令にお
込ては、2つのオペランドの供給を成る特定パターンの
繰返しによって上記方法により実行し、カウンタ270
で片方のオペランド供給が終了する条件が検出された場
合には、信号線312上のオペランド供給終了情報によ
り、信号線501上の終了検出情報を無効にする。同時
に、終了検出情報501により分岐回路290を作動さ
せて制御情報を1オペランドのみ供給すルハターンに変
更し、これによってオペランドを連続的に供給すること
が可能になる。
In a variable length operand instruction using two operands, the above method is performed by repeating a specific pattern consisting of supplying the two operands, and the counter 270
If a condition is detected in which the supply of one operand ends, the end detection information on the signal line 501 is invalidated by the operand supply end information on the signal line 312. At the same time, the end detection information 501 activates the branch circuit 290 to change the control information to a Luha turn that supplies only one operand, thereby making it possible to continuously supply operands.

メモリアクセスはワード単位で行われるために一部の命
令においてはオペランドの破壊的重複が起り、先行制御
部でのオペランドの供給力不可能になる場合がある。上
記情報を検出するために、オペランド長ア する手段をアドレス生成回路202の内部に設ける。ア
ドレス生成回路202にはレジスタが存在するとは云え
、アドレス計算に周込られるのとは別のレジスタに、両
オペランドの開始アドレス、ならびに重複テストするの
に必要な後続アドレスをセットして比較するための重複
テスト手段を設けてしる。重複テスト手段の使用タイ 
19− ミンクは制御情報251の内部に存在する検出指示を使
用する。上記重複テスト手段により先行制御部で先取不
可能と判定された場合には、信号線604により上記判
定が報告され、上記制御情報250け無効になる。上記
制御情報は、信号線604により演算部に報告される。
Since memory access is performed in units of words, destructive duplication of operands may occur in some instructions, and the advance control section may not be able to supply operands. In order to detect the above information, means for calculating the operand length is provided inside the address generation circuit 202. Although there is a register in the address generation circuit 202, the start address of both operands and the subsequent address necessary for the duplication test are set in a different register from the one used for address calculation and compared. A means of redundant testing will be provided. Use of redundant test measures
19- The mink uses the detection instructions present within the control information 251. If the preceding control unit determines that preemption is not possible by the duplication test means, the determination is reported via the signal line 604, and the control information 250 is invalidated. The above control information is reported to the arithmetic unit via a signal line 604.

演算部では演算を実行する前に必要に応じてテストを実
施し、信号線604上に信号が送出されてbる時には、
演算部は先行制御部のメモリリクエストをキャンセルし
、オペランドアドレス生成回路202の内部に残されて
いる開始アドレスを使用してメモリアクセスを指示すべ
く、信号線605を使用して制御情報をセットする。
The calculation unit performs tests as necessary before executing calculations, and when a signal is sent onto the signal line 604,
The arithmetic unit cancels the memory request of the preceding control unit, and uses the signal line 605 to set control information in order to instruct memory access using the start address left inside the operand address generation circuit 202. .

すなわち、演算部の制御によりメモリリクエストが送出
されて命令が実行される。
That is, a memory request is sent and an instruction is executed under the control of the arithmetic unit.

一部の命令におりては、先行制御部で使用されるであろ
う最大のオペランド長が判明するが、実際に使用される
命令のオペランド長は、演算ブロックで判明するものと
、演算ブロックでの前処理の後にメモリリクエストが必
要なものと20− がある。上記においては演算部から信号線601゜60
2 、603を介してアドレスおよびアーギュメントト
、リクエスト送出手順と、リクエスト回数とをアドレス
生成回路202にセットし、レジスタ155 、263
 、264に対して処理に有効な情報をセットして、メ
モリアクセスの制御を先行制御部に再び戻すことにより
、連続的であって高速にオペランドの供給を行うことが
可能になる。
For some instructions, the maximum operand length that will be used in the preceding control section is known, but the operand length of the instruction actually used is determined by the operation block and the operation block. There are two types: one that requires a memory request after preprocessing, and one that requires a memory request after preprocessing. In the above, the signal line 601°60 from the calculation unit
2 sets the address, argument, request sending procedure, and request count in the address generation circuit 202 via the registers 155 and 263;
, 264 and return control of memory access to the preceding control unit, it becomes possible to supply operands continuously and at high speed.

(発明の効果) 本発明は以上説明したように、可変長オペランド命令に
よって指定されたオペランドを必要な長さ分だけ連続的
に供給すると共に、命令のオペランド供給の終了を先行
制御により検出することにより、hかなる命令において
本オペランド供給を連続的、且つ効率的に行うことが可
能になると論う大きな効果がある。
(Effects of the Invention) As described above, the present invention continuously supplies the required length of operands specified by variable-length operand instructions, and detects the end of operand supply for the instruction by advance control. This has the great effect of making it possible to supply this operand continuously and efficiently in any instruction.

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

第1図は、本発明による先行制御装置の一実施例を示す
ブロック構成図である。 101・・・命令レジスタ 110・・・命令解読ブロック 120、251・・・オペランドアドレス生成制御情報
121・・・オペランド供給タイプ指示情報122・・
・命令識別情報 252・・・オペランド供給終了監視制御情報130・
・・オペランド供給開始指示ブロック150.155,
156,157,261,262,263,264・・
・レジスタ 230 、271 、272・・・セレクタ回路270
・・・カウンタ回路 201.202・・・オペランドアドレス生成回路26
0・・・オペランド長読出しブロック290・・・分岐
回路 161〜166、301〜316 、501〜503 
、601〜605・・・信号線 特許出願人 日本電気株式会社 代理人 弁理士 井 ノ ロ 壽  23−
FIG. 1 is a block diagram showing an embodiment of the advance control device according to the present invention. 101...Instruction register 110...Instruction decoding block 120, 251...Operand address generation control information 121...Operand supply type instruction information 122...
・Instruction identification information 252...Operand supply end monitoring control information 130・
...Operand supply start instruction block 150.155,
156, 157, 261, 262, 263, 264...
・Registers 230, 271, 272...Selector circuit 270
...Counter circuit 201.202...Operand address generation circuit 26
0... Operand length read block 290... Branch circuits 161-166, 301-316, 501-503
, 601-605...Signal line patent applicant NEC Corporation representative Patent attorney Hisashi Inoro 23-

Claims (1)

【特許請求の範囲】[Claims] パイプライン方式の情報処理における複数のメモリアク
セスによってオペランドを供給するための命令のオペラ
ンド連続供給、および前記命令のオペランド供給の終了
を検出することが可能な先行制御装置において、命令先
取り命令により先取りされた命令のオペランド開始アド
レスを生成するためのオペランド開始アドレス生成手段
と、前記先取りされた命令のタイプを識別するための命
令タイプ識別手段と、命令語あるいは命令語からの間接
的な指示によりオペランド長を読出すための読出し手段
と、前記命令タイプ識別手段によって複数のメモリアク
セスを実行した結果としてオペランド供給を実行する命
令であると識別された場合にオペランド供給の順序のタ
イプを指定するためのオペランド供給順序タイプ指定手
段と、前記オペランド供給順序タイプ指定手段による指
定に従って行われる連続的なオペランドアドレスの生成
を制御するための制御手段と、前記制御手段による連続
的なオペランド供給が終了する時点を計算して判定する
ための判定手段と、前記判定の結果おヨヒ前記命令のタ
イプに従って後続する命令のオペランド供給の開始を指
示するための次オペランド供給指示手段とを具備して構
成したことを特徴とする先行制御装置。
In a preemptive control device capable of detecting the continuous supply of operands of an instruction for supplying operands by multiple memory accesses in pipelined information processing and the end of the supply of operands of the instruction, the prefetching by an instruction prefetch instruction is performed. operand start address generation means for generating an operand start address of a prefetched instruction; instruction type identification means for identifying the type of the prefetched instruction; and an operand for specifying the type of order of operand supply when the instruction type identification means identifies the instruction to execute operand supply as a result of executing a plurality of memory accesses. supply order type designation means; control means for controlling generation of continuous operand addresses performed in accordance with the specification by the operand supply order type designation means; and calculation of a point in time at which continuous operand supply by the control means ends. and a next operand supply instruction means for instructing the start of operand supply for a subsequent instruction according to the type of the instruction based on the result of the determination. Preceding control device.
JP9518084A 1984-05-11 1984-05-11 Precedence controlling device Pending JPS60238937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9518084A JPS60238937A (en) 1984-05-11 1984-05-11 Precedence controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9518084A JPS60238937A (en) 1984-05-11 1984-05-11 Precedence controlling device

Publications (1)

Publication Number Publication Date
JPS60238937A true JPS60238937A (en) 1985-11-27

Family

ID=14130548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9518084A Pending JPS60238937A (en) 1984-05-11 1984-05-11 Precedence controlling device

Country Status (1)

Country Link
JP (1) JPS60238937A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55153053A (en) * 1979-05-17 1980-11-28 Hitachi Ltd Information processor
JPS5710874A (en) * 1980-06-25 1982-01-20 Fujitsu Ltd Instruction control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55153053A (en) * 1979-05-17 1980-11-28 Hitachi Ltd Information processor
JPS5710874A (en) * 1980-06-25 1982-01-20 Fujitsu Ltd Instruction control device

Similar Documents

Publication Publication Date Title
US4476525A (en) Pipeline-controlled data processing system capable of performing a plurality of instructions simultaneously
KR920006275B1 (en) Data processing apparatus
US4167779A (en) Diagnostic apparatus in a data processing system
JPH03108042A (en) Multiple virtual space address system and computer system
US5450561A (en) Cache miss prediction method and apparatus for use with a paged main memory in a data processing system
KR910008410B1 (en) Micro-code redding control system
EP0166431A2 (en) An information processing apparatus having an instruction prefetch circuit
JP3304444B2 (en) Vector processing equipment
KR930008604A (en) Microprocessors and Control Methods
JPS60238937A (en) Precedence controlling device
US5276853A (en) Cache system
KR970066863A (en) Information processing apparatus and method and scheduling device
JPS60238935A (en) Precedence controlling device
JPS60238934A (en) Precedence controlling device
JPH06168263A (en) Vector processor
CA1233271A (en) Cache disable for a data processor
JPS59112350A (en) Supervising and controlling system of program
JPH0326862B2 (en)
JP2819733B2 (en) Information processing device
JP2632859B2 (en) Memory access control circuit
JPH06103110A (en) Breakpoint setting system
JPS6221131B2 (en)
JP2675081B2 (en) Arithmetic processing method
JPH01293447A (en) Control system for address coincidence interruption
JPS607295B2 (en) data processing equipment