JPH03139727A - Advanced controller - Google Patents

Advanced controller

Info

Publication number
JPH03139727A
JPH03139727A JP27895389A JP27895389A JPH03139727A JP H03139727 A JPH03139727 A JP H03139727A JP 27895389 A JP27895389 A JP 27895389A JP 27895389 A JP27895389 A JP 27895389A JP H03139727 A JPH03139727 A JP H03139727A
Authority
JP
Japan
Prior art keywords
register
instruction
stage
registers
held
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
JP27895389A
Other languages
Japanese (ja)
Inventor
Yuki Date
結城 伊達
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP27895389A priority Critical patent/JPH03139727A/en
Publication of JPH03139727A publication Critical patent/JPH03139727A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To improve the performance of advanced control by invalidating a detection signal indicating that effective information is held in all register groups which wait to be determined when detecting a following instruction being an instruction which does not update the contents of the registers. CONSTITUTION:When the following instruction is the instruction which does not update the register groups 5 and 6 and effective register numbers are held in registers 19 - 22 with a precedent instruction, 0 is set in an FF 15 by a decoder 14. At this time, an AND gate 24 outputs 1 as a determination wait signal and an AND gate 25 outputs 0. Therefore, even if effective register numbers are held in all the registers 20 - 22 in a register group which waits to be determined, no influence is exerted upon the synchronous control over pipeline processing if the instruction does not update the register groups 5 and 6, and the processing can be carried on. Consequently, the performance of the advanced controller can be improved.

Description

【発明の詳細な説明】 技術分野 本発明は先行制御装置に関し、特にパイプライン型情報
処理装置の先行制御装置に関する。
TECHNICAL FIELD The present invention relates to an advance control device, and more particularly to a advance control device for a pipeline type information processing device.

従来技術 従来、この種の先行制御装置においては、後続する命令
がアドレス生成に使用するレジスタの更新を行わない命
令であっても、パイプライン処理の各ステージで使用す
るレジスタ番号を保持する確定待ち登録レジスタ群すべ
てに有効な情報が保持されている場合、先行する命令が
レジスタの更新を行って確定待ち登録レジスタ群に空き
が生じるまで、後続する命令の処理を開始しないように
なっていた。
Conventional technology Conventionally, in this type of advance control device, even if the subsequent instruction does not update the register used for address generation, a fixed waiting system that holds the register number used at each stage of pipeline processing is used. When valid information is held in all registered register groups, processing of subsequent instructions is not started until the preceding instruction updates the registers and there is space in the pending registration register group.

すなわち、第3図に示すように、レジスタの更新を行わ
ない命令[たとえばRR(register L。
That is, as shown in FIG. 3, an instruction that does not update a register [for example, RR (register L).

regisL、er)命令1■に先行する命令■〜■に
ょって確定待ち登録レジスタ群の各レジスタに有効なレ
ジスタ番号が保持されており、命令■がAステージにセ
ットされてから2マシンサイクル後にレジスタが更新さ
れた時、命令■は確定待ち信号が1#から“0”に変わ
ってから、命令■よりも2マシンサイクル遅れてAステ
ージ、0ステージ、Eステージ、Wステージと処理が行
われていくことになる。
regisL, er) A valid register number is held in each register of the confirmation waiting registration register group by the instructions ■ to ■ preceding instruction 1■, and two machine cycles after the instruction ■ is set to the A stage. When the register is updated, the instruction ■ is processed through the A stage, 0 stage, E stage, and W stage two machine cycles later than the instruction ■ after the confirmation wait signal changes from 1# to “0”. I'm going to go there.

ここで、Dステージは命令語を解読するステージであり
、Aステージはアドレス生成に使用するレジスタを読出
してアドレス加算を行うステージである。
Here, the D stage is a stage for decoding an instruction word, and the A stage is a stage for reading a register used for address generation and performing address addition.

0ステージはT L B (translation 
1ookasldebuffer)およびキャッシュを
索引してメモリデータを読出すステージであり、Eステ
ージは演算回路を使用して演算を行うステージであり、
Wステージは演算結果を格納するステージである。
0 stage is TLB (translation
1ookasldebuffer) and the cache to read memory data, and the E stage is a stage for performing calculations using an arithmetic circuit.
The W stage is a stage that stores calculation results.

このような従来の先行制御装置では、後続する命令がレ
ジスタの更新を行わない命令であっても、確定待ち登録
レジスタ群すべてにa効な情報が保持されている場合に
後続する命令の処理を行わないので、先行制御の性能が
低下してしまうという欠点がある。
In such a conventional advance control device, even if the subsequent instruction does not update the register, the processing of the subsequent instruction is executed when valid information is held in all the registered registers waiting for confirmation. Since this is not performed, there is a drawback that the performance of advance control deteriorates.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、先行制御の性能を向上させることができ
る先行制御装置の提供を目的とする。
OBJECTS OF THE INVENTION The present invention was made in order to eliminate the drawbacks of the conventional ones as described above, and an object of the present invention is to provide a advance control device that can improve the performance of advance control.

発明の構成 本発明による先行制御装置は、内容を更新すべきレジス
タのレジスタ番号を各々保持する確定待ち登録レジスタ
群と、前記確定待ち登録レジスタ群すべてに有効な情報
が保持されていることを検出する第1の検出手段とを有
し、前記第1の検出手段により前記確定待ち登録レジス
タ群すべてに有効な情報が保持されていることが検出さ
れたとき、後続する命令の処理を待合オ)けるよう制御
する先行制御装置であって、前記後続する命令が前記レ
ジスタの内容を更新しない命令か否かを検出する第2の
検出手段と、前記第2の検出手段により前記後続する命
令が前記レジスタの内容を更新しないことを検出したと
き、前記第1の検出手段の検出結果を無効化する手段と
を設けたことを特徴とする。
Structure of the Invention The advance control device according to the present invention detects that valid information is held in a group of pending registration registers each holding a register number of a register whose contents are to be updated, and in all of the group of registers waiting to be confirmed. and a first detecting means to wait for the processing of the subsequent instruction when the first detecting means detects that valid information is held in all of the confirmation waiting registration register group. The preceding control device is configured to perform control such that the subsequent instruction is an instruction that does not update the contents of the register; The present invention is characterized by further comprising means for invalidating the detection result of the first detection means when it is detected that the contents of the register are not updated.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。図において、レジスターは命令語を保持しているレ
ジスタであり、そのOPフィールドは命令のオペレーシ
ョンを規定しており、Rフィールドは更新するレジスタ
のレジスタ番号を、Bフィールドはアドレス生成に使用
するベースレジスタのレジスタ番号を、Xフィールドは
アドレス生成に使用する汎用レジスタのレジスタ番号を
、Dフィールドはアドレス生成に使用するディスブレイ
スメントを夫々示している。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, the register is a register that holds an instruction word, its OP field specifies the operation of the instruction, the R field is the register number of the register to be updated, and the B field is the base register used for address generation. The X field indicates the register number of the general-purpose register used for address generation, and the D field indicates the displacement used for address generation.

レジスタ2〜4には夫々アドレス生成に使用するベース
レジスタ番号と汎用レジスタ番号とディスブレイスメン
I・とが保持されている。
Registers 2 to 4 each hold a base register number, a general-purpose register number, and a displacement I. used for address generation.

レジスター1(BR)5はベースレジスタ群で、レジス
タ群(GR)6は汎用レジスタ群であり、夫々アダー7
でメモリオペランドアドレスを生成するためのデータが
保持されている。このアダ7で生成されたメモリオペラ
ンドアドレスはレジスタ8に格納される。
Register 1 (BR) 5 is a base register group, register group (GR) 6 is a general-purpose register group, and adder 7
The data used to generate memory operand addresses is held in the memory operand address. The memory operand address generated by the adder 7 is stored in the register 8.

このレジスタ8の出力によりTLB9およびキャッシュ
(Cache) 1.0が索引され、キャッシュ10か
らメモリデータが読出されてレジスター1に格納される
。
Based on the output of register 8, TLB 9 and cache 1.0 are indexed, and memory data is read from cache 10 and stored in register 1.

演算回路12はレジスター1に格納されたメモリデータ
により演算を行い、その演算結果をレジスタ13に格納
する。
The arithmetic circuit 12 performs an arithmetic operation on the memory data stored in the register 1 and stores the result of the arithmetic operation in the register 13.

デコーダ14はレジスターに保持されていた命令がレジ
スタ群5.6の更新を行う命令であるか否かを検出し、
その検出結果はフリップフロップ(以下FFとする)1
5に格納される。
The decoder 14 detects whether the instruction held in the register is an instruction to update the register group 5.6,
The detection result is a flip-flop (hereinafter referred to as FF) 1
It is stored in 5.

FF15の出力はFF’16〜18によってパイプライ
ン処理の各ステージに同期して持ち回られることになる
。
The output of FF15 is passed around by FF'16 to FF'18 in synchronization with each stage of pipeline processing.

レジスター0はAステージの命令が更新するレジスタ番
号を、レジスタ20はOステージの命令が更新するレジ
スタのレジスタ番号を、レジスタ21はEステージの命
令が更新するレジスタのしジスタ番号を、レジスタ22
はWステージの命令が更新するレジスタのレジスタ番号
を夫々保持する。これらレジスタ19〜22はパイプラ
イン処理と同期している。
Register 0 contains the register number updated by the A-stage instruction, register 20 contains the register number of the register updated by the O-stage instruction, register 21 contains the register number of the register updated by the E-stage instruction, and register 22 contains the register number of the register updated by the E-stage instruction.
holds the register numbers of the registers updated by the W stage instruction. These registers 19-22 are synchronized with pipeline processing.

ここで、本発明の一実施例においては、D、AO,E、
Wの5ステージから構成されるパイプライン処理が行わ
れており、Dステージは命令語を解、読するステージ、
Aステージはアドレス生成に使用するレジスタを読出し
てアドレス加算をj−+うステージ、0ステージはTL
B9およびキャッシュ10を索引してメモリデータを読
出すステージ、Eステージは演算回路12を使用して演
算を行うステージ、Mステージはその演算結果を格納す
るステージである。
Here, in one embodiment of the present invention, D, AO, E,
A pipeline process consisting of five stages of W is performed, and the D stage is a stage for decoding and reading the instruction word.
The A stage is the stage where the register used for address generation is read and the address is added to j-+, and the 0 stage is the TL stage.
The E stage is a stage in which memory data is read by indexing B9 and the cache 10, the E stage is a stage in which an arithmetic operation is performed using the arithmetic circuit 12, and the M stage is a stage in which the result of the arithmetic operation is stored.

パイプ同期回路23は上記の各ステージのレジスタ等の
制御信号を生成している。
The pipe synchronization circuit 23 generates control signals for the registers and the like of each of the above stages.

第2図は本発明の一実施例の動作を示すタイl、チャー
1・である。これら第1図および第2図を用いて本発明
の一実施例の動作について説明する。
FIG. 2 is a diagram showing the operation of an embodiment of the present invention. The operation of an embodiment of the present invention will be explained using FIG. 1 and FIG. 2.

たとえば、後続する命令■がレジスタ群5,6の更新を
行わないRR(register to rcgjsL
er)命令で、この命令■に先行する命令■〜■により
レジスタ19〜22に有効なレジスタ番号が保持されて
いるとき、っまりF F 16〜18が全て“1”の状
態のときに命令■がAステージにセットされると、FF
15にはデコーダ14により0”がセットされる。
For example, if the following instruction ■ does not update register groups 5 and 6 (RR)
er) instruction, when valid register numbers are held in registers 19 to 22 by instructions ■ to ■ preceding this instruction ■When set to A stage, FF
15 is set to 0'' by the decoder 14.

このとき、アンドゲート24は確定待ち信号として1″
を出力するが、アンドゲート25はO”を出力するので
、確定待ち登録レジスタ群のレジスタ20〜22すべて
に有効なレジスタ番号が保持されていても、Aステージ
に存在する命令■がレジスタ群5,6の更新を行わない
命令のときには、パイプライン処理の同期制御には影響
を−りえず、処理を後続することができる。
At this time, the AND gate 24 outputs 1" as a confirmation wait signal.
However, the AND gate 25 outputs O'', so even if valid register numbers are held in all registers 20 to 22 of the register group waiting for confirmation, the instruction , 6 do not update, the synchronization control of pipeline processing is not affected and the subsequent processing can be continued.

これが従来の方式では、アンドゲート24からの確定待
ち信号をそのままパイプライン処理の同期制御に用いて
いたため、Aステージに存在する命令■がレジスタ群5
,6の更新を行うか行わないかにかかわらず、確定待ち
登録レジスタ群のレジスタ20〜22すべてに有効な情
報が保持されている間は処理を行わなかった。
In the conventional system, the confirmation wait signal from the AND gate 24 was used as it was for synchronization control of pipeline processing, so the instruction
, 6 is not updated, no processing is performed while valid information is held in all registers 20 to 22 of the pending registration register group.

したがって、命令■について考えてみると、従来の方式
ではDステージからWステージまで7マシンサイクルか
かっているのに対しく第3図参照)、本発明の一実施例
ではDステージからWステプまで5マシンサイクルしか
かかっていない(第2図参照)。つまり、本発明の一実
施例では従来の方式よりも2マシンサイクル早く命令■
の処理を行えることになる。
Therefore, considering the instruction (2), it takes 7 machine cycles from the D stage to the W stage in the conventional system (see Figure 3), whereas in the embodiment of the present invention it takes 5 machine cycles from the D stage to the W stage. Only machine cycles are required (see Figure 2). In other words, in one embodiment of the present invention, the command
This means that the following processing can be performed.

このことにより、レジスタ群5.6の更新が遅ければ遅
いほと、従来の方式と本発明の一実施例との性能差が大
きくなることになる。
This means that the slower the register group 5.6 is updated, the greater the difference in performance between the conventional system and the embodiment of the present invention becomes.

このように、後続する命令■がレジスタ群5゜6の更新
を行わない命令であることをデコーダ14が検出したと
き、アントゲ−1・24からの確定待ち信号をアントゲ
−1・25で無効化するようにすることによって、確定
待ち登録レジスタ群の各レジスタ20〜22すべてに有
効な情報が保1jjされているときに、レジスタ群5.
6の更新を行わない命令■の処理を高速に行うことがで
きる。
In this way, when the decoder 14 detects that the following instruction ■ is an instruction that does not update the register group 5.6, the confirmation wait signal from the Antogame 1 and 24 is invalidated in the Antogame 1 and 25. By doing so, when valid information is held in all registers 20 to 22 of the register group 5.
It is possible to quickly process the instruction (2) which does not perform any update in step 6.

よって、先行制御装置の性能を向上させることができる
。
Therefore, the performance of the advance control device can be improved.

発明の詳細 な説明したように本発明によれば、後続する命令がレジ
スタの内容を更新しない命令であることを検出したとき
、確定待ち登録レジスタ群すべてに有効な情報が保持さ
れていることを示す検出信号を無効化するようにするこ
とによって、先行制御の性能を向上させることができる
という効果がある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, when it is detected that a subsequent instruction is an instruction that does not update the contents of registers, it is detected that valid information is held in all registers waiting for confirmation. There is an effect that the performance of advance control can be improved by invalidating the detection signal shown.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明の一実施例の動作を示すタイムチャート、
第3図は従来例の動作を示すタイムチャートである。 主要部分の符号の説明 1〜4,8.]、1.。 13.19〜22・・・・・・レジスタ56・・・・・
レジスタ8V ] 0 7・・・・・・アダー 9・・・・・・TLB 10・・・・・・キャッシュ ]2・・・・・・演算回路 14・・・・・・デコーダ 15〜18・・・・・・フリップフロップ23・・・・
・・パイプ同期回路 24.25・・・・・・アンドゲート
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a time chart showing the operation of an embodiment of the present invention,
FIG. 3 is a time chart showing the operation of the conventional example. Explanation of symbols of main parts 1 to 4, 8. ], 1. . 13.19-22...Register 56...
Register 8V] 0 7... Adder 9... TLB 10... Cache] 2... Arithmetic circuit 14... Decoder 15-18. ...Flip-flop 23...
...Pipe synchronous circuit 24.25...And gate

Claims (1)

【特許請求の範囲】[Claims] (1)内容を更新すべきレジスタのレジスタ番号を各々
保持する確定待ち登録レジスタ群と、前記確定待ち登録
レジスタ群すべてに有効な情報が保持されていることを
検出する第1の検出手段とを有し、前記第1の検出手段
により前記確定待ち登録レジスタ群すべてに有効な情報
が保持されていることが検出されたとき、後続する命令
の処理を待合わせるよう制御する先行制御装置であって
、前記後続する命令が前記レジスタの内容を更新しない
命令か否かを検出する第2の検出手段と、前記第2の検
出手段により前記後続する命令が前記レジスタの内容を
更新しないことを検出したとき、前記第1の検出手段の
検出結果を無効化する手段とを設けたことを特徴とする
先行制御装置。
(1) A group of registration registers waiting for confirmation, each holding the register number of the register whose contents are to be updated, and a first detection means for detecting that valid information is held in all of the group of registration waiting registration registers. and when the first detection means detects that valid information is held in all of the confirmation waiting registration register group, the preceding control device controls to wait for processing of a subsequent instruction. , a second detection means for detecting whether the subsequent instruction is an instruction that does not update the contents of the register; and the second detection means detects that the subsequent instruction does not update the contents of the register. and means for invalidating the detection result of the first detection means.
JP27895389A 1989-10-26 1989-10-26 Advanced controller Pending JPH03139727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27895389A JPH03139727A (en) 1989-10-26 1989-10-26 Advanced controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27895389A JPH03139727A (en) 1989-10-26 1989-10-26 Advanced controller

Publications (1)

Publication Number Publication Date
JPH03139727A true JPH03139727A (en) 1991-06-13

Family

ID=17604364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27895389A Pending JPH03139727A (en) 1989-10-26 1989-10-26 Advanced controller

Country Status (1)

Country Link
JP (1) JPH03139727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015005438A1 (en) 2014-04-30 2015-11-05 Shima Seiki Mfg., Ltd. Knitwear and knitting method for it

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015005438A1 (en) 2014-04-30 2015-11-05 Shima Seiki Mfg., Ltd. Knitwear and knitting method for it
KR20150125583A (en) 2014-04-30 2015-11-09 가부시키가이샤 시마세이키 세이사쿠쇼 Knitted fabric and knitting method thereof

Similar Documents

Publication Publication Date Title
US8516224B2 (en) Pipeline replay support for multicycle operations
US4670836A (en) Device for detecting an overlap of operands to be accessed
JPH077356B2 (en) Pipelined microprocessor
KR950000088B1 (en) Data processing system
JP2894438B2 (en) Pipeline processing equipment
JPH02127731A (en) Bypass check system for arithmetic register
JPH0954694A (en) Pipeline processor and its processing method
JPH04264923A (en) Information processor
JP3014701B2 (en) Information processing device
JPH03109656A (en) Multiplex virtual space address system and data processor
JPH07219771A (en) Instruction processor
JPH01231126A (en) Information processor
JPH05113931A (en) Address conversion processing system
JPH01321522A (en) Information processor
JPH03211623A (en) Information processor
JPH02222046A (en) Tlb register controlling system
JPH0442327A (en) Advance controller
JPH0916399A (en) calculator
JPH02206836A (en) Data processor
JPH06314196A (en) Information processing method and device
JPH06168216A (en) Coprocessor control method
JPH081613B2 (en) Information processing device
JPH0223426A (en) Information processor
JPH10254698A (en) Information processing device
JPS6277649A (en) Information processor