JPS60179845A - Instruction rereading control system - Google Patents

Instruction rereading control system

Info

Publication number
JPS60179845A
JPS60179845A JP3580484A JP3580484A JPS60179845A JP S60179845 A JPS60179845 A JP S60179845A JP 3580484 A JP3580484 A JP 3580484A JP 3580484 A JP3580484 A JP 3580484A JP S60179845 A JPS60179845 A JP S60179845A
Authority
JP
Japan
Prior art keywords
instruction
address
register
adder
registers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3580484A
Other languages
Japanese (ja)
Other versions
JPH024011B2 (en
Inventor
Kouhei Ootsuyama
大津山 公平
Yuji Oinaga
勇次 追永
Katsumi Onishi
大西 克已
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 JP3580484A priority Critical patent/JPS60179845A/en
Publication of JPS60179845A publication Critical patent/JPS60179845A/en
Publication of JPH024011B2 publication Critical patent/JPH024011B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reread an instruction from an optional flow and an optional stage by storing instruction length corresponding to an address for prereading the instruction and an instruction address calculated from an instruction pointer in registers consisting of shift registers respectively and calculating a leading address from both the corresponding registers. CONSTITUTION:An address for prereading an instruction in each eight bytes is stored in a prefetching instruction address register 13 and a value of ''8'' is stored in a PFK register. An adder 4 sets up an effective address in a register 5, so that a buffer 6 is retrieved and the instruction is fetched and read out by an instruction register 7. An instruction pointer 14 holds the relative pointer of an instruction to be executed. The output of the adder 15 is an instruction address flowing through a pipe line and sent to the instruction address registers 16-18 constituted of plural shift registers. The contents of the corresponding instruction length register 20 are sent to instruction length register 20 and a pair of instruction length is selected and added to obtain a rereading address.

Description

【発明の詳細な説明】 (A)発明の技術分野 本発明は命令再読出し制御方式、特にパイプライン制御
を行うデータ処理装置において、いわゆるCS命令、C
DS命令、TS命令など後続命令の再読出しを必要とす
る命令について、命令再読出しの開始アドレスをどのス
テージからでも計算できる加算器を持つことにより、命
令再読出しを早く開始できるようにして性能を向上させ
た命令再読出し制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (A) Technical Field of the Invention The present invention relates to an instruction rereading control system, particularly a data processing device that performs pipeline control.
For instructions that require rereading of subsequent instructions such as DS instructions and TS instructions, by having an adder that can calculate the start address of instruction rereading from any stage, it is possible to start instruction rereading early and improve performance. This invention relates to an improved instruction reread control method.

(B)従来技術と問題点 パイプライン制御により命令を実行するデータ処理装置
においては、いわゆるシリアライズ命令として知られた
C S (Compare and Swap)命令、
CD S (Compare and Double 
Swap)命令、TS(Test and 5et)命
令等は、先取りしていた後続命令をすべて捨てて、あら
ためて命令をフェッチする必要がある。この動作は、(
令再続出1と呼ばれる。上記命令は、特に時分割て゛も
って、多数のタスクが動作するような大型機におけるオ
ペレーティング・システム(O3)では、出現頻度がか
なり高い。従って、これらの命令に対する命令再読出し
動作を高速に行い、ロスを少なくすることが、処理装置
の性能上、極めて重要である。
(B) Prior Art and Problems In a data processing device that executes instructions by pipeline control, a C S (Compare and Swap) instruction, known as a so-called serialization instruction,
CD S (Compare and Double
Swap) instructions, TS (Test and 5et) instructions, etc. require all subsequent instructions that have been fetched in advance to be discarded and the instructions to be fetched anew. This behavior is (
It is called ``Ryōsuzudatsu 1''. The above-mentioned command appears quite frequently, especially in the operating system (O3) of a large machine in which a large number of tasks are executed in a time-sharing manner. Therefore, it is extremely important for the performance of the processing device to perform instruction reread operations for these instructions at high speed and to reduce loss.

第1図および第2図は従来方式による問題点を説明する
ための図を示す。
FIGS. 1 and 2 are diagrams for explaining problems with the conventional method.

第1図は、命令フェッチに3ステージ、命令実行に6ス
テージかかるパイプライン構成の計算機における従来の
命令再読出しの例−を示している。
FIG. 1 shows an example of conventional instruction rereading in a pipeline-configured computer that requires three stages for instruction fetch and six stages for instruction execution.

命令のフェッチ制御は、例えば命令をフェッチするアド
レスを決定する■ステージと、命令アドレスを実アドレ
スに変換するITステージと、命令をバッファから読み
出すIBステージとからなり、実行制御は、命令フェッ
チ後に、命令をデコードするDステージと、オペランド
・アドレスを計算するAステージと、オペランド・アド
レスを実アドレスに変換するTステージと、記憶制御部
が管理するバッファから読み出しを行うBステージと、
演算処理するEステージと、結果をチェックして書き込
むWステージの各制御ステージからなる。
Instruction fetch control consists of, for example, a stage (1) that determines the address from which the instruction is fetched, an IT stage that converts the instruction address into a real address, and an IB stage that reads the instruction from the buffer. A D stage for decoding an instruction, an A stage for calculating an operand address, a T stage for converting an operand address into a real address, and a B stage for reading from a buffer managed by a storage control unit.
It consists of control stages: an E stage for arithmetic processing, and a W stage for checking and writing results.

これらの各ステージは、一般に独立であって、先行制御
が可能であり、高速な計算機では、パイプライン処理が
行われている。以下、上記制御ステージをもつ場合を例
にして説明するが、本発明は、これに限られるわけでは
ない。
Each of these stages is generally independent and can be controlled in advance, and pipeline processing is performed in high-speed computers. Hereinafter, the case where the control stage described above is provided will be explained as an example, but the present invention is not limited to this.

命令再読出しを起こす命令は、通常マルチフローであり
、DステージないしWステージが複数組でもって1命令
を構成する。そして、第1図図示の如く、命令再読出し
が決定されるフロー11の後にも数フローf2〜f4あ
るのが普通である。従来の方式では、途中のフローf1
で検出された命令再読出し情報をもとにして、命令の最
終フローf4の最終Wステージの後、命令を再読出しす
るアドレスを算出して、命令再読出しを行っていた。
An instruction that causes instruction re-reading is normally a multi-flow instruction, and a plurality of sets of D stages to W stages constitute one instruction. As shown in FIG. 1, normally there are several flows f2 to f4 after flow 11 in which instruction re-reading is determined. In the conventional method, the intermediate flow f1
After the final W stage of the final flow f4 of the instruction, an address for re-reading the instruction is calculated based on the instruction re-reading information detected in , and the instruction is re-read.

即ち、命令を再読出しするアドレスを算出する従来の回
路は、例えば第2図図示の如くになっている。第2図に
おいて、1は命令アドレスレジスタ、2は半語カウンタ
、3はPFKレジスク、4は命令の実効アドレスを生成
する加算器、5は命令実効アドレスレジスタ、6はへソ
ファ、7は命令語レジスタを表す。
That is, a conventional circuit for calculating an address for re-reading an instruction is, for example, as shown in FIG. In FIG. 2, 1 is an instruction address register, 2 is a half-word counter, 3 is a PFK register, 4 is an adder that generates the effective address of the instruction, 5 is an instruction effective address register, 6 is a counter, and 7 is an instruction word. Represents a register.

従来の回路では、命令アドレスレジスタ1は、PSWの
命令アドレス部(PSWI八R)へ兼用し、PSWの一
部と同じレジスタになっている。
In the conventional circuit, the instruction address register 1 is also used as the instruction address section (PSWI8R) of the PSW, and is the same register as a part of the PSW.

通常の命令フェッチ時には、命令アドレスレジスタ1と
PFKレジスタ3の内容(通常の場合8)とを加え合わ
せることにより、フェッチすべき命令アドレスをめる。
During a normal instruction fetch, the instruction address to be fetched is determined by adding the contents of the instruction address register 1 and the PFK register 3 (normally 8).

例えば、割り込みが起こり、実行中であった命令アドレ
ス(OLDPSW)が必要であるときには、フェッチア
ドレスと半語カウンタ2の内容である命令アドレスとの
変位を、命令アドレスレジスタ1から減じることにより
めるようにされる。
For example, when an interrupt occurs and the address of the instruction being executed (OLDPSW) is needed, it can be found by subtracting the displacement between the fetch address and the instruction address that is the content of half-word counter 2 from instruction address register 1. It will be done like this.

このような方式の場合、後続命令のフェッチは、前の命
令が終了してからでないと、実行できない。
In such a system, a subsequent instruction can only be fetched after the previous instruction is completed.

即ち命令アドレスレジスタ1をPSWの一部に兼用して
いるため、命令実行の途中で命令アドレスレジスタ1を
変えることができないからである。
That is, since the instruction address register 1 is also used as a part of the PSW, the instruction address register 1 cannot be changed during instruction execution.

従って、命令再読出しのためのアドレスは、命令の最終
フローの終了後でないと作成されず、命令再読出しし、
後続命令の実行を開始するまでに、多くのロスが生じる
という問題があった。
Therefore, the address for rereading the instruction is not created until after the final flow of instructions is completed, and the address for rereading the instruction is
There is a problem in that a large amount of loss occurs before execution of the subsequent instruction starts.

(C)発明の目的と構成 本発明は上記問題点の解決を図り、後続命令の再読出し
が必要となったとき、命令再読出しの開始アドレスを、
どのフローの、どのステージからでも計算できるように
し、命令再読出し時の命令フェッチを早いタイミングで
開始できるようにすることを目的としている。即ち、本
発明の命令再読出し制御方式は、パイプラインにより命
令を実行制御する情報処理装置における命令再読出し制
御方式において、命令を先行読出しするアドレスが格納
される先取り命令アドレスレジスタと、先行読出しされ
た命令を貯えるレジスタと、実行させようとする命令の
先頭を示す命令ポインタと、上記先取り命令アドレスレ
ジスタと上記命令ポインタとから実行中の命令アドレス
を計算する回路と、該加算器によって計算された命令ア
ドレスを受ける複数段のシフトレジスタで構成される命
令アドレスレジスタと、該命令アドレスレジスタに対応
して命令長が格納される複数段のシフトレジスタで構成
される命令長レジスタと、上記命令アドレスレジスタの
うらの1つとそれに対応する上記命令長レジスタとから
当該命令アドレスレジスタが保持するアドレスにある命
令の次に実行されるべき命令先頭アドレスを計算する加
算器とを倫え、命令再読出しの事象検出時に上記加算器
の出力を上記先取り命令アドレスレジスタにセットし、
命令再読出しを実行するよう構成したことを特徴として
いる。以下、図面を参照しつつ、実施例に従って説明す
る。
(C) Object and Structure of the Invention The present invention aims to solve the above-mentioned problems, and when it becomes necessary to reread a subsequent instruction, the start address for rereading the instruction is
The purpose is to enable calculations to be made from any stage of any flow, and to enable instruction fetching to be started at an early timing when rereading instructions. That is, the instruction rereading control method of the present invention is an instruction rereading control method for an information processing device that controls execution of instructions using a pipeline, and includes a prefetch instruction address register in which an address for pre-reading an instruction is stored, and a register for pre-reading an instruction. an instruction pointer that indicates the beginning of the instruction to be executed; a circuit that calculates the address of the instruction being executed from the prefetch instruction address register and the instruction pointer; an instruction address register consisting of a multi-stage shift register that receives an instruction address; an instruction length register consisting of a multi-stage shift register storing an instruction length corresponding to the instruction address register; and the instruction address register. and an adder that calculates the start address of the instruction to be executed next to the instruction held at the address held by the instruction address register from one of the above instruction length registers and the corresponding instruction length register, and calculates the instruction reread event. At the time of detection, set the output of the adder to the prefetch instruction address register,
It is characterized by being configured to execute instruction rereading. Hereinafter, embodiments will be described with reference to the drawings.

(D)発明の実施例 第3図は本発明による制御概要を説明するためのタイム
チャート、第4図は本発明の一実施例要部構成、第5図
は本発明を用いた命令処理回路の例を示す。
(D) Embodiment of the invention FIG. 3 is a time chart for explaining the outline of control according to the invention, FIG. 4 is a main part configuration of an embodiment of the invention, and FIG. 5 is an instruction processing circuit using the invention. Here is an example.

本発明の場合、現在実行中の命令の先頭アドレスと命令
長とを各ステージで保持しておき、命令再読出しが決定
された時点でこれらの情報をもとにして、命令再読出し
のアドレス、即ち後続命令を命令再読出しするための先
頭アドレスを作成し、命令再読出しを開始するようにさ
れる。第3図に示した例では、Tステージのアドレスと
その命令の命令長をもとに、命令再読出しアドレスを決
定しており、最終フローの終了を待たずに命令再読出し
を行うので、従来例における時間的なロスが減少してい
る。なお、後述する如く、他のステージで命令再読出し
用のアドレスを決定することも可能である。
In the case of the present invention, the start address and instruction length of the instruction currently being executed are held at each stage, and when it is decided to reread the instruction, based on this information, the address for rereading the instruction, That is, a start address for rereading the subsequent instruction is created, and rereading of the instruction is started. In the example shown in FIG. 3, the instruction reread address is determined based on the T stage address and the instruction length of the instruction, and the instruction is reread without waiting for the end of the final flow. The time loss in the example is reduced. Note that, as will be described later, it is also possible to determine the address for rereading the instruction at another stage.

そのため、命令再読出し用のアドレスを作成する回路は
、例えば第4図図示の如くになっている。
Therefore, a circuit for creating an address for rereading instructions is, for example, as shown in FIG.

第4図中、符号3ないし7は第2図に対応し、13は先
行読出し用の先取り命令アドレスレジスタ、14は命令
ポインタであって、現在実行している命令が命令アドレ
スレジスタ13の示すアドレスから何ハーフ・ワード(
llalf Word)目かを示すポインタ、15は先
取りした命令のアドレスを計算する加算器、16ないし
18はそれぞれ各ステージに対応する命令アドレスレジ
スタ、20はデコードした命令の命令長レジスタ、21
ないし23はそれぞれ各ステージに対応する命令長レジ
スタ、25は選択したステージに対応する命令アドレス
レジスタ16〜18の1つと、命令長レジスタ21〜2
3の対応するものとを加算する加算器を表す。
In FIG. 4, numerals 3 to 7 correspond to those in FIG. 2, 13 is a prefetch instruction address register for advance reading, and 14 is an instruction pointer, and the currently executed instruction is at the address indicated by the instruction address register 13. How many half words from (
15 is an adder that calculates the address of the prefetched instruction; 16 to 18 are instruction address registers corresponding to each stage; 20 is an instruction length register for the decoded instruction; 21
23 are instruction length registers corresponding to each stage, 25 is one of instruction address registers 16 to 18 corresponding to the selected stage, and instruction length registers 21 to 2.
represents an adder that adds 3 to its corresponding one.

先取り命令アドレスレジスタ13には、例えば8バイ1
〜単位で命令を先行読出しするためのアドレスが格納さ
れる。PFKレジスタ3は、初期値°0”であって、そ
の後には“8”の値を保持する。加算器4は、命令アド
レスレジスタ13の値とPFKレジスタ3の値とを加算
し、実効アト−レスをレジスタ5にセットする。このア
ドレスによって、記憶制御部により、バッファ6が検索
され、命令がフェッチされて、命令語レジスタ7に読み
出されることになる。それ以降は、命令アドレスに“8
′加算されて、順次フェッチが行われる。
The prefetch instruction address register 13 contains, for example, 8 by 1.
Addresses for pre-reading instructions in units of ~ are stored. The PFK register 3 has an initial value of 0, and thereafter holds a value of 8.The adder 4 adds the value of the instruction address register 13 and the value of the PFK register 3, and calculates the effective address. -Res is set in the register 5. Based on this address, the memory control unit searches the buffer 6, fetches the instruction, and reads it into the instruction word register 7. From then on, the instruction address is set to "8".
' are added and fetched sequentially.

なお、先取り命令アドレスレジスタ13や命令語レジス
タ7等が、命令分岐時のために、複数個設けられる構成
をとってもよい。
Note that a configuration may be adopted in which a plurality of prefetch instruction address registers 13, instruction word registers 7, etc. are provided for use when an instruction is branched.

命令ポインタ14は、実行される各命令が、8バイト車
位でフェッチされた命令のどこに位置するかについての
相対ポインタを保持する。加算器15の出力は、パイプ
ラインで流れる命令のアドレスであり、複数段のシフト
レジスタで構成される命令アドレスレジスタ16〜18
に、順次送り出される。一方、これに対応して、命令長
を保持する命令長レジスタ20の内容が、各ステージに
複数段に設けられた命令長レジスタ21〜23に送り出
される。
Instruction pointer 14 maintains a relative pointer to where each executed instruction is located within the fetched instruction in 8-byte positions. The output of the adder 15 is the address of the instruction flowing in the pipeline, and the output is the address of the instruction flowing in the pipeline, and the instruction address registers 16 to 18 are composed of multiple stages of shift registers.
are sent out in sequence. Correspondingly, the contents of the instruction length register 20 that holds the instruction length are sent to instruction length registers 21 to 23 provided in a plurality of stages at each stage.

この各ステージに対応した命令アドレスレジスタ16〜
18と、命令長レジスタ21〜23との対を、マルチプ
レクサで選択し、加算器25でそれらの内容を加え合わ
せることにより、どのステージにおいても、命令再読出
しのアドレスを生成することが可能になっている。命令
再読出しが必要な場合、加算器25によって生成された
命令再読出しのアドレスを、先取り命令アドレスレジス
タ13にセントするよう制御することにより、命令フェ
ッチのシーケンスが、直ちに開始されるようになってい
る。
Instruction address registers 16 to 16 corresponding to each stage
18 and instruction length registers 21 to 23 using a multiplexer and adding their contents using an adder 25, it becomes possible to generate an address for rereading an instruction at any stage. ing. When an instruction reread is required, the instruction reread address generated by the adder 25 is controlled to be placed in the prefetch instruction address register 13, so that the instruction fetch sequence is started immediately. There is.

第5図は本発明を用いた命令処理回路の例を示しており
、図中、第4図と同符号のものは第4図に対応している
。26は実行中の命令アドレスを保持する命令アドレス
レジスタ、27は実行中の命令の命令長を保持する命令
長レジスタ、28は次の命令アドレスを演算する加算器
、30はディスプレイスメント・レジスタ、31はベー
ス・レジスタ、32はインデックス・レジスタ、33は
オペランド・アドレス生成回路、34および35はオペ
ランド・アドレス・レジスタ、36はオペランド語レジ
スタ、37は実行回路、38は結果レジスタを表す。
FIG. 5 shows an example of an instruction processing circuit using the present invention, and in the figure, the same reference numerals as in FIG. 4 correspond to those in FIG. 26 is an instruction address register that holds the address of the instruction being executed; 27 is an instruction length register that holds the instruction length of the instruction that is being executed; 28 is an adder that calculates the next instruction address; 30 is a displacement register; 31 32 is a base register, 32 is an index register, 33 is an operand address generation circuit, 34 and 35 are operand address registers, 36 is an operand word register, 37 is an execution circuit, and 38 is a result register.

最初、命令アドレスレジスタ26のPSW命令アドレス
部に、実行すべき命令アドレスが格納されると、先取り
命令アドレスレジスタ13にも同じアドレスが供給され
る。そして前述したように、加算器4によって計算され
たアドレスに従って、8ハイド単位で、順次命令がフェ
ッチされる。
Initially, when the instruction address to be executed is stored in the PSW instruction address field of the instruction address register 26, the same address is also supplied to the prefetch instruction address register 13. As described above, instructions are sequentially fetched in units of 8 hides according to the address calculated by the adder 4.

オペランド・アドレス生成回路33は、レジスタ30〜
32等の内容から、オペランドの実効アドレスを計算し
、オペランド・アドレス・レジスタ34にセントする。
The operand address generation circuit 33 has registers 30 to
32 etc., the effective address of the operand is calculated and placed in the operand address register 34.

これによって、記憶制御部により、バッファ6がアクセ
スされて、オペランド語が用意され、演算ユニ71部で
ある実行回路37によって、演算が行われる。その結果
は、結果レジスタ38に書き込まれる。
As a result, the buffer 6 is accessed by the storage control section, an operand word is prepared, and the execution circuit 37, which is the operation unit 71 section, performs the operation. The result is written to result register 38.

本発明の場合、第4図によって説明したように、各ステ
ージに対応して命令アドレスを保持する命令アドレスレ
ジスタ16〜18の内容と、各命令長レジスタ21〜2
3の内容とを加算する加算器25が設けられており、こ
の出力が、先取り命令アドレスレジスタ13に導かれる
ようになっているため、Aステージ、′rステージまた
はBステージからの命令再読出しが、可能になっている
。さらに本実施例では、PSWの命令アドレス部(PS
WIAR)と兼用される命令アドレスレジスタ26と、
Wステージにおりる命令の命令長を保持する命令長レジ
スタ27とに基づいて、現在実行中である命令の次に位
置する命令のアドレスを計算する加算器28が設けられ
ている。加算器28によって、加算器4による先行読出
しのためのアドレス計算とは別に、次命令の開始アドレ
スが、常時計算されるので、これによっても、命令再読
出しのシーケンスが早く開始されるようになっている。
In the case of the present invention, as explained with reference to FIG.
An adder 25 is provided to add the contents of 3 and the contents of 3, and its output is guided to the prefetch instruction address register 13, so that rereading of the instruction from the A stage, 'r stage, or B stage is not possible. , has become possible. Furthermore, in this embodiment, the instruction address section (PSW) of the PSW is
an instruction address register 26 which is also used as WIAR);
An adder 28 is provided that calculates the address of the instruction next to the currently executed instruction based on the instruction length register 27 that holds the instruction length of the instruction in the W stage. Since the start address of the next instruction is always calculated by the adder 28 in addition to the address calculation for advance read by the adder 4, this also allows the instruction reread sequence to start earlier. ing.

(E)発明の詳細 な説明した如く本発明によれば、早いタイミングで命令
再読出し川のアドレスを作成し、実行中である命令の、
どのフローのどのステージからでも、早期に命令再読出
しを開始できるので、処理性能が向上する。
(E) As described in detail, according to the present invention, the address of the instruction re-read river is created at an early timing, and the address of the instruction being executed is
Since instruction rereading can be started early from any stage of any flow, processing performance is improved.

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

第1図および第2図は従来方式による問題点を説明する
ための図、第3図は本発明による制御概要を説明するた
めのタイムチャート、第4図は本発明の一実施例要部構
成、第5図は本発明を用いた命令処理回路の例を示す。 図中、1は命令アドレスレジスタ、2は半語カウンタ、
3はPFKレジスタ、4は命令の実効アドレスを生成す
る加算器、5は命令実効アドレスレジスタ、6はバッフ
ァ、7は命令語レジスタ、13は先取り命令アトレスレ
ジスフ、14は命令ポインタ、116ないし18はそれ
ぞれ各ステージに対応する命令アドレスレジスフ、20
ないし24は命令長レジスタ、25は加算器を表す。 特許出願人 富士通株式会社 代理人弁理士 森1)寛(外1名) 笛 3[21 p A 丁 B E
Figures 1 and 2 are diagrams for explaining problems with the conventional method, Figure 3 is a time chart for explaining the outline of control according to the present invention, and Figure 4 is a main part configuration of an embodiment of the present invention. , FIG. 5 shows an example of an instruction processing circuit using the present invention. In the figure, 1 is an instruction address register, 2 is a half word counter,
3 is a PFK register, 4 is an adder that generates the effective address of an instruction, 5 is an instruction effective address register, 6 is a buffer, 7 is an instruction word register, 13 is a prefetch instruction address register, 14 is an instruction pointer, and 116 to 18 are each Instruction address register corresponding to each stage, 20
24 to 24 are instruction length registers, and 25 is an adder. Patent applicant: Fujitsu Ltd. Representative Patent Attorney Hiroshi Mori 1) (1 other person) Fue 3 [21 p A Ding B E

Claims (1)

【特許請求の範囲】[Claims] パイプラインにより命令を実行制御する情報処理装置に
おける命令再読出し制御方式において、命令を先行読出
しするアドレスが格納される先取り命令アドレスレジス
タと、先行読出しされた命令を貯えるレジスタと、実行
させようとする命令の先頭を示す命令ポインタと、上記
先取り命令アドレスレジスタと上記命令ポインタとから
実行中の命令アドレスを計算する回路と、該加算器によ
って計算された命令アドレスを受ける複数段のシフトレ
ジスタで構成される命令アドレスレジスタと、該命令ア
ドレスレジスタに対応して命令長が格納される複数段の
シフ]・レジスタで構成される命令長レジスタと、上記
命令アドレスレジスタのうちの1つとそれに対応する上
記命令長レジスタとから当該命令アドレスレジスタが保
持するアドレスにある命令の次に実行されるべき命令先
頭アドレスを計算する加算器とを備え、命令再読出しの
事象検出時に上記加算器の出力を上記先取り命令アドレ
スレジスタにセントし、命令再読出しを実行するよう構
成したことを特徴とする命令再読出し制御方式。
In an instruction reread control method in an information processing device that controls execution of instructions using a pipeline, a prefetch instruction address register stores an address for pre-reading an instruction, a register stores the pre-read instruction, and a register is used to control the execution of the instruction. It consists of an instruction pointer indicating the beginning of an instruction, a circuit that calculates the address of the instruction being executed from the prefetch instruction address register and the instruction pointer, and a multi-stage shift register that receives the instruction address calculated by the adder. one of the instruction address registers and the instruction corresponding to the instruction address register; a long register and an adder that calculates the start address of the instruction to be executed next to the instruction at the address held by the instruction address register, and when an instruction reread event is detected, the output of the adder is used as the prefetch instruction. An instruction rereading control method characterized in that the instruction is read out in an address register and the instruction is read out again.
JP3580484A 1984-02-27 1984-02-27 Instruction rereading control system Granted JPS60179845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3580484A JPS60179845A (en) 1984-02-27 1984-02-27 Instruction rereading control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3580484A JPS60179845A (en) 1984-02-27 1984-02-27 Instruction rereading control system

Publications (2)

Publication Number Publication Date
JPS60179845A true JPS60179845A (en) 1985-09-13
JPH024011B2 JPH024011B2 (en) 1990-01-25

Family

ID=12452106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3580484A Granted JPS60179845A (en) 1984-02-27 1984-02-27 Instruction rereading control system

Country Status (1)

Country Link
JP (1) JPS60179845A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05106625A (en) * 1991-10-11 1993-04-27 Mano Setsubi Kogyo Kk Laterally fitting nut

Also Published As

Publication number Publication date
JPH024011B2 (en) 1990-01-25

Similar Documents

Publication Publication Date Title
JPS6217252B2 (en)
JPS59501684A (en) Accelerated instruction mapping outside the source and destination instruction streams for near real-time insertion into the destination instruction stream
JPS6029126B2 (en) data processing equipment
KR910006144B1 (en) Pipeline processor with smooth connection
JPS58501560A (en) microprocessor
JPS60179845A (en) Instruction rereading control system
US5421026A (en) Data processor for processing instruction after conditional branch instruction at high speed
US5155818A (en) Unconditional wide branch instruction acceleration
JPH0235330B2 (en)
JP2812610B2 (en) Pipeline control method
JP3168657B2 (en) Branch instruction control circuit
JP2550408B2 (en) Conditional branch instruction control method
JPH07110769A (en) Vliw type computer
EP0689129B1 (en) Processing of computer instructions with a reduced number of bits for operand specifiers
JPS6036614B2 (en) information processing equipment
JPS6047617B2 (en) information processing equipment
JP2867798B2 (en) Advance control unit
JP3523407B2 (en) Information processing equipment
JPS5925264B2 (en) Vector instruction processing method
JPS586972B2 (en) information processing equipment
JPH0235331B2 (en)
JPH04181454A (en) Data access controller
JPS6047616B2 (en) information processing equipment
JPH0752402B2 (en) Data processing device
JPS62219128A (en) Data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees