JPH06295243A - Data processor - Google Patents

Data processor

Info

Publication number
JPH06295243A
JPH06295243A JP5081910A JP8191093A JPH06295243A JP H06295243 A JPH06295243 A JP H06295243A JP 5081910 A JP5081910 A JP 5081910A JP 8191093 A JP8191093 A JP 8191093A JP H06295243 A JPH06295243 A JP H06295243A
Authority
JP
Japan
Prior art keywords
instruction
stage
processing
address
specific
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
JP5081910A
Other languages
Japanese (ja)
Inventor
Katsunori Suzuki
勝則 鈴木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5081910A priority Critical patent/JPH06295243A/en
Publication of JPH06295243A publication Critical patent/JPH06295243A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To avoid useless power consumption in other stage being in a stand-by state, in the case a comparatively long time is required for the processing in a certain stage, in the data processor for executing the pipeline processing. CONSTITUTION:The data processor is provided with clock supply selecting circuits 131-134 which can select whether supply of a clock to each pipeline processing stage 101-103, 106 and 107 is executed or stopped, or a power source supply selecting circuit which can select whether power feeding is executed or not, and constituted so that at the time of processing of a specific instruction which requires a compatively long time for the processing in an E stage 107 being a specific pipeline processing stage, supply of a clock or power feeding to each stage 101-103, and 106 of the pre-stages of its stage 107.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ処理装置に関し、
特に低電力消費型データ処理装置に関し、より具体的に
は、パイプライン処理を行う際の各ステージでの待ち時
間における電力消費量を削減し得るデータ処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device,
In particular, the present invention relates to a low power consumption type data processing apparatus, and more specifically to a data processing apparatus capable of reducing the power consumption during the waiting time at each stage when performing pipeline processing.

【0002】[0002]

【従来の技術】パイプライン処理を行うための複数のス
テージを備えた従来のデータ処理装置のマイクロプロセ
ッサの構成例を図13のブロック図に示す。図13において
はマイクロプロセッサ3内の5段構成の基本的なパイプ
ライン処理機構が示されている。
2. Description of the Related Art A block diagram of FIG. 13 shows an example of the configuration of a microprocessor of a conventional data processing apparatus having a plurality of stages for pipeline processing. FIG. 13 shows a basic pipeline processing mechanism of a 5-stage structure in the microprocessor 3.

【0003】即ち、図示されていない外部メモリから命
令をプリフェッチする命令プリフェッチステージ (IFス
テージ)101, 命令をデコードするデコードステージ (D
ステージ)102, オペランドのアドレス計算を行うオペラ
ンドアドレス計算ステージ (Aステージ)103, マイクロ
ROM121のアクセス及びオペランドのプリフェッチを行う
オペランドプリフェッチステージ (Fステージ)106, 命
令を実行する命令実行ステージ (Eステージ)107の5ス
テージである。
That is, an instruction prefetch stage (IF stage) 101 for prefetching an instruction from an external memory (not shown), and a decode stage (D for decoding an instruction
Stage) 102, operand address calculation stage (A stage) 103 for performing operand address calculation, micro
The five stages are an operand prefetch stage (F stage) 106 for accessing the ROM 121 and operand prefetch, and an instruction execution stage (E stage) 107 for executing an instruction.

【0004】参照符号1は各ステージにクロックを供給
するためのクロック供給配線を、2は各ステージに電源
を給電するための電源供給配線をそれぞれ示している。
なお、Eステージ107 には1段のストアバッファ120 が
備えられている。このEステージ107 にストアバッファ
120 が備えられていることにより、図13に示されている
マイクロプロセッサ3は実際には5段以上のパイプライ
ン処理効果を発揮する。
Reference numeral 1 denotes a clock supply wiring for supplying a clock to each stage, and 2 denotes a power supply wiring for supplying a power to each stage.
The E stage 107 is provided with a single-stage store buffer 120. Store buffer on this E stage 107
Since 120 is provided, the microprocessor 3 shown in FIG. 13 actually exhibits a pipeline processing effect of five or more stages.

【0005】また、Fステージ106 は、マイクロROM121
をアクセスするマイクロROM アクセスステージ (Rステ
ージ)104とオペランドをプリフェッチするオペランドプ
リフェッチステージ (OFステージ)105とを含んでいる。
なお、上述のようなマイクロプロセッサ3を有する従来
のデータ処理装置では、命令処理に際しては各ステージ
で均衡したパイプライン処理が行えるように、処理対象
の命令を複数のパイプライン処理単位 (ステージコー
ド) に分解して処理する。
Further, the F stage 106 includes a micro ROM 121.
It includes a micro ROM access stage (R stage) 104 for accessing the memory and an operand prefetch stage (OF stage) 105 for prefetching operands.
In the conventional data processing device having the microprocessor 3 as described above, the instruction to be processed is processed into a plurality of pipeline processing units (stage code) so that balanced pipeline processing can be performed in each stage in the instruction processing. Disassemble and process.

【0006】ところで、IFステージ101 からDステージ
102 へ渡される情報は命令コード108 そのものである。
Dステージ102 からAステージ103 に渡される情報は、
命令で指定された演算に関する情報と、オペランドアド
レスの計算に関する情報との二種類があり、それぞれD
コード109,Aコード110 と称されるステージコードとと
して処理される。
By the way, the IF stage 101 to the D stage
The information passed to 102 is the instruction code 108 itself.
The information passed from the D stage 102 to the A stage 103 is
There are two types, information about the operation specified by the instruction and information about the calculation of the operand address.
It is processed as a code 109 and a stage code called A code 110.

【0007】Aステージ103 からFステージ106 に渡さ
れる情報は、マイクロプログラムルーチンのエントリ番
号, マイクロプログラムへのパラメータ等を含む情報
と、オペランドアドレスとアクセス方法の指示情報等を
含む情報との二種類があり、それぞれRコード111,Fコ
ード112 と称されるステージコードととして処理され
る。Fステージ106 からEステージ107 に渡される情報
は、演算制御情報とリテラル等を含む情報と、オペラン
ド, オペランドアドレス等を含む情報との二種類があ
り、それぞれEコード113,Sコード114 と称されるステ
ージコードととして処理される。
The information passed from the A stage 103 to the F stage 106 is of two types: information including the entry number of the microprogram routine, parameters to the microprogram, etc., and information including operand address and access method instruction information. Are processed as stage codes called R code 111 and F code 112, respectively. There are two types of information passed from the F stage 106 to the E stage 107: information including operation control information and literals, and information including operands, operand addresses, etc. These are called E code 113 and S code 114, respectively. Is processed as a stage code.

【0008】図14は上述の図13に示されているデータ処
理装置が処理対象とする命令列の一例を示す模式図であ
り、図15は各パイプライン処理段階で各ステージにおい
て処理される命令の状態を示す模式図である。なお、命
令401 の”smov.b”は割り出し条件付のストリングの転
送命令である。転送はストリング単位で行われ、1回の
転送が終了する都度、割り出し条件がチェックされる。
割り出し条件が成立した場合には、命令はそれ以降の処
理は行われずに終了する。
FIG. 14 is a schematic diagram showing an example of an instruction sequence to be processed by the data processing apparatus shown in FIG. 13 described above, and FIG. 15 is an instruction processed at each stage in each pipeline processing stage. It is a schematic diagram which shows the state of. The "smov.b" of the instruction 401 is a string transfer instruction with an indexing condition. Transfer is performed in string units, and the indexing condition is checked each time one transfer is completed.
If the indexing condition is met, the instruction ends without further processing.

【0009】以下、この図14に示されている命令列を図
13に示されているマイクロプロセッサ3を有するデータ
処理装置が処理する場合の動作について説明する。ま
ず、図示されていない外部メモリから命令401 がIFステ
ージ101 にフェッチされる。IFステージ101 にフェッチ
された命令401 は命令コード108 としてDステージ102
へ転送される。この状態が図15(a) に示されている。
The instruction sequence shown in FIG. 14 is illustrated below.
The operation of the data processing apparatus having the microprocessor 3 shown in 13 for processing will be described. First, the instruction 401 is fetched from the external memory (not shown) to the IF stage 101. The instruction 401 fetched by the IF stage 101 is the D stage 102 as the instruction code 108.
Transferred to. This state is shown in Fig. 15 (a).

【0010】Dステージ102 では、命令401 をデコード
し、そのデコード結果はDコード109 及びAコード110
としてAステージ103 へ転送される。また、次の命令40
2 が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図15(b) に示さ
れている。
The D stage 102 decodes the instruction 401, and the decoded result is the D code 109 and the A code 110.
Is transferred to the A stage 103 as. Also, the next instruction 40
2 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in Fig. 15 (b).

【0011】Aステージ103 では、命令401 の処理が終
了すると、処理結果はRコード111及びFコード112 と
してFステージ106 へ転送される。また、命令402 がD
ステージ102 からAステージ103 へ転送される。命令40
3が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図15(c) に示さ
れている。
At the A stage 103, when the processing of the instruction 401 is completed, the processing result is transferred to the F stage 106 as R code 111 and F code 112. Also, instruction 402 is D
Transferred from the stage 102 to the A stage 103. Order 40
3 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in Fig. 15 (c).

【0012】Fステージ106 では、命令401 の処理が終
了すると、処理結果はEコード113及びSコード114 と
してEステージ107 へ転送される。また、命令402 がA
ステージ103 からFステージ106 へ転送される。命令40
3がDステージ102 からAステージ103 へ転送される。
次の命令404 が 外部メモリからIFステージ101 にフェ
ッチされてDステージ102 へ転送される。この状態が図
15(d) に示されている。
When the processing of the instruction 401 is completed in the F stage 106, the processing result is transferred to the E stage 107 as the E code 113 and the S code 114. Also, instruction 402 is A
It is transferred from the stage 103 to the F stage 106. Order 40
3 is transferred from the D stage 102 to the A stage 103.
The next instruction 404 is fetched from the external memory to the IF stage 101 and transferred to the D stage 102. This state is a figure
It is shown in 15 (d).

【0013】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うのであれ
ば、ストアバッファ120 に書き込みデータを転送する。
また、命令402 がFステージ106 からEステージ107 へ
転送される。命令403がAステージ103 からFステージ1
06 へ転送される。命令404 がDステージ102からAステ
ージ103 へ転送される。次の命令405 が 外部メモリか
らIFステージ101 にフェッチされてDステージ102 へ転
送される。この状態が図15(e) に示されている。
At the E stage 107, when the processing of the instruction 401 is completed, if the instruction 401 involves memory writing, the write data is transferred to the store buffer 120.
Further, the instruction 402 is transferred from the F stage 106 to the E stage 107. Instruction 403 is A stage 103 to F stage 1
Transferred to 06. Instruction 404 is transferred from D stage 102 to A stage 103. The next instruction 405 is fetched from the external memory to the IF stage 101 and transferred to the D stage 102. This state is shown in Fig. 15 (e).

【0014】[0014]

【発明が解決しようとする課題】ところで、上述の命令
401 のEステージ107 での処理に比較的長時間を要する
場合がある。そのような場合に、それより前段のIFステ
ージ101,Dステージ102,Aステージ103 , Fステージ10
6 はEステージ107 での処理が終了するまで待機状態に
なる。この待機状態になっている各ステージには、電源
供給配線2及びクロック供給配線1を介して電力及びク
ロックが供給されており、無駄に電力が消費されてい
る。
By the way, the above-mentioned instruction
The processing in the E stage 107 of 401 may take a relatively long time. In such a case, the IF stage 101, the D stage 102, the A stage 103, and the F stage 10 in the preceding stage
6 is in a standby state until the processing in E stage 107 is completed. Power and clock are supplied to each stage in the standby state via the power supply wiring 2 and the clock supply wiring 1, and power is wasted.

【0015】本発明はこのような事情に鑑みてなされた
ものであり、パイプライン処理を行うデータ処理装置に
おいて、あるステージでの処理に比較的長時間を要する
場合に、他の待機状態になっているステージでの無駄な
電力消費を回避し得ることを目的とする。
The present invention has been made in view of the above circumstances, and in a data processing apparatus for performing pipeline processing, when a relatively long time is required for processing at a certain stage, another standby state is set. The purpose is to be able to avoid unnecessary power consumption in a certain stage.

【0016】[0016]

【課題を解決するための手段】本発明に係るデータ処理
装置は、基本的には、各パイプライン処理ステージへの
クロックの供給を行うかまたは停止するかを選択可能な
クロック供給選択手段、または給電をを行うかまたは停
止するかを選択可能な電源供給選択手段を備えており、
あるパイプライン処理ステージでの処理に比較的長時間
を要する特定の命令の処理に際してそのステージよりも
前段の各ステージへのクロックの供給または給電を停止
するようにしている。
A data processing apparatus according to the present invention is basically a clock supply selecting means capable of selecting whether to supply or stop a clock to each pipeline processing stage, or Equipped with a power supply selection means that can select whether to perform power supply or stop,
When a specific instruction that requires a relatively long time for processing in a certain pipeline processing stage is processed, clock supply or power supply to each stage preceding the stage is stopped.

【0017】本発明のデータ処理装置の第1の発明は、
特定の命令の命令コードを予め記憶していてその命令を
デコードした場合に検出する特定命令検出手段と、処理
中の命令の次の命令のアドレスを計算する次命令アドレ
ス計算手段と、各パイプライン処理ステージへのクロッ
クの供給を行うか、または停止するかを選択するクロッ
ク供給選択手段と、外部から次にフェッチすべき命令の
アドレスを記憶する命令フェッチアドレス記憶手段とを
備えている。
The first invention of the data processing apparatus of the present invention is as follows:
Specific instruction detecting means for storing an instruction code of a specific instruction in advance and detecting it when the instruction is decoded, next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, and each pipeline It is provided with a clock supply selecting means for selecting whether to supply a clock to the processing stage or for stopping it, and an instruction fetch address storing means for storing an address of an instruction to be fetched next from the outside.

【0018】本発明のデータ処理装置の第2の発明は、
特定の命令の命令コードを予め記憶していてその命令を
デコードした場合に検出する特定命令検出手段と、処理
中の命令の次の命令のアドレスを計算する次命令アドレ
ス計算手段と、各パイプライン処理ステージへの給電を
行うか、または停止するかを選択するクロック供給選択
手段と、外部から次にフェッチすべき命令のアドレスを
記憶する命令フェッチアドレス記憶手段とを備えてい
る。
A second invention of the data processing apparatus of the present invention is as follows:
Specific instruction detecting means for storing an instruction code of a specific instruction in advance and detecting it when the instruction is decoded, next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, and each pipeline It is provided with a clock supply selection means for selecting whether to supply power to the processing stage or to stop the power supply, and an instruction fetch address storage means for storing the address of an instruction to be fetched next from the outside.

【0019】本発明のデータ処理装置の第3の発明は、
特定の命令のアドレスを予め記憶していてその命令をフ
ェッチした場合に検出する特定命令検出手段と、処理中
の命令の次の命令のアドレスを計算する次命令アドレス
計算手段と、各パイプライン処理ステージへのクロック
の供給を行うか、または停止するかを選択するクロック
供給選択手段と、外部から次にフェッチすべき命令のア
ドレスを記憶する命令フェッチアドレス記憶手段とを備
えている。
A third invention of the data processing apparatus of the present invention is
Specific instruction detection means for storing the address of a specific instruction in advance and detecting it when the instruction is fetched, next instruction address calculation means for calculating the address of the instruction next to the instruction being processed, and each pipeline processing It is provided with a clock supply selection means for selecting whether to supply a clock to the stage or to stop it, and an instruction fetch address storage means for storing an address of an instruction to be fetched next from the outside.

【0020】本発明のデータ処理装置の第4の発明は、
特定の命令のアドレスを予め記憶していてその命令をフ
ェッチした場合に検出する特定命令検出手段と、処理中
の命令の次の命令のアドレスを計算する次命令アドレス
計算手段と、各パイプライン処理ステージへの給電を行
うか、または停止するかを選択する電源供給選択手段
と、外部から次にフェッチすべき命令のアドレスを記憶
する命令フェッチアドレス記憶手段とを備えている。
A fourth invention of the data processing apparatus of the present invention is
Specific instruction detection means for storing the address of a specific instruction in advance and detecting it when the instruction is fetched, next instruction address calculation means for calculating the address of the instruction next to the instruction being processed, and each pipeline processing The stage is provided with a power supply selection means for selecting whether to supply power to the stage or to stop the power supply, and an instruction fetch address storage means for storing the address of an instruction to be fetched next from the outside.

【0021】本発明のデータ処理装置の第5の発明は、
特定の命令の命令コードを予め記憶していてその命令を
デコードした場合に検出する特定命令検出手段と、処理
中の命令の次の命令のアドレスを計算する次命令アドレ
ス計算手段と、各パイプライン処理ステージへのクロッ
クの供給を行うか、または停止するかを選択するクロッ
ク供給選択手段と、外部から次にフェッチすべき命令の
アドレスを記憶する命令フェッチアドレス記憶手段と、
各パイプライン処理ステージ内に設けられ、それぞれの
処理結果を記憶する静的記憶手段とを備えている。
A fifth aspect of the data processing apparatus of the present invention is
Specific instruction detecting means for storing an instruction code of a specific instruction in advance and detecting it when the instruction is decoded, next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, and each pipeline Clock supply selecting means for selecting whether to supply or stop the clock to the processing stage; instruction fetch address storing means for storing the address of an instruction to be fetched next from the outside;
Each pipeline processing stage is provided with a static storage means for storing the processing result of each.

【0022】本発明のデータ処理装置の第6の発明は、
特定の命令のアドレスを予め記憶していてその命令をフ
ェッチした場合に検出する特定命令検出手段と、処理中
の命令の次の命令のアドレスを計算する次命令アドレス
計算手段と、各パイプライン処理ステージへの給電を行
うか、または停止するかを選択する電源供給選択手段
と、外部から次にフェッチすべき命令のアドレスを記憶
する命令フェッチアドレス記憶手段と、各パイプライン
処理ステージとは別に常時給電され、それぞれの処理結
果を記憶する静的記憶手段とを備えている。
A sixth invention of the data processing apparatus of the present invention is
Specific instruction detection means for storing the address of a specific instruction in advance and detecting it when the instruction is fetched, next instruction address calculation means for calculating the address of the instruction next to the instruction being processed, and each pipeline processing Power supply selection means for selecting whether to supply power to the stage or stop, instruction fetch address storage means for storing the address of the next instruction to be fetched externally, and always separate from each pipeline processing stage It is provided with a static storage unit that is supplied with power and stores each processing result.

【0023】[0023]

【作用】本発明のデータ処理装置の第1の発明では、特
定命令検出手段が特定の命令が処理されていることをそ
の命令コードにより検出した場合に待機状態になってい
る各パイプライン処理ステージへのクロックの供給がク
ロック供給選択手段により停止され、特定のパイプライ
ン処理ステージでの処理が終了した場合に各パイプライ
ン処理ステージへのクロックの供給がクロック供給選択
手段により再開されると共に、次命令のアドレスが次命
令アドレス計算手段により計算されて命令フェッチアド
レス記憶手段に与えられることにより次命令がフェッチ
される。
According to the first aspect of the data processor of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by its instruction code. The supply of the clock to the pipeline processing stage is stopped by the clock supply selecting means, and the supply of the clock to each pipeline processing stage is restarted by the clock supply selecting means when the processing in the specific pipeline processing stage is completed. The next instruction is fetched by calculating the address of the instruction by the next instruction address calculation means and supplying it to the instruction fetch address storage means.

【0024】本発明のデータ処理装置の第2の発明で
は、特定命令検出手段が特定の命令が処理されているこ
とをその命令コードにより検出した場合に待機状態にな
っている各パイプライン処理ステージへの給電が電源供
給選択手段により停止され、特定のパイプライン処理ス
テージでの処理が終了した場合に各パイプライン処理ス
テージへの給電が給電供給選択手段により再開されると
共に、次命令のアドレスが次命令アドレス計算手段によ
り計算されて命令フェッチアドレス記憶手段に与えられ
ることにより次命令がフェッチされる。
In a second aspect of the data processing apparatus of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by the instruction code thereof. The power supply to the pipeline processing stages is restarted by the power supply selecting means when the power supply to the pipeline processing stages is stopped by the power supply selecting means, and the processing in the specific pipeline processing stage is completed. The next instruction is fetched by being calculated by the next instruction address calculation means and given to the instruction fetch address storage means.

【0025】本発明のデータ処理装置の第3の発明で
は、特定命令検出手段が特定の命令が処理されているこ
とをその命令アドレスにより検出した場合に待機状態に
なっている各パイプライン処理ステージへのクロックの
供給がクロック供給選択手段により停止され、特定のパ
イプライン処理ステージでの処理が終了した場合に各パ
イプライン処理ステージへのクロックの供給がクロック
供給選択手段により再開されると共に、次命令のアドレ
スが次命令アドレス計算手段により計算されて命令フェ
ッチアドレス記憶手段に与えられることにより次命令が
フェッチされる。
In the third aspect of the data processor of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by its instruction address. The supply of the clock to the pipeline processing stage is stopped by the clock supply selecting means, and the supply of the clock to each pipeline processing stage is restarted by the clock supply selecting means when the processing in the specific pipeline processing stage is completed. The next instruction is fetched by calculating the address of the instruction by the next instruction address calculation means and supplying it to the instruction fetch address storage means.

【0026】本発明のデータ処理装置の第4の発明で
は、特定命令検出手段が特定の命令が処理されているこ
とをその命令アドレスにより検出した場合に待機状態に
なっている各パイプライン処理ステージへの給電が電源
供給選択手段により停止され、特定のパイプライン処理
ステージでの処理が終了した場合に各パイプライン処理
ステージへの給電が給電供給選択手段により再開される
と共に、次命令のアドレスが次命令アドレス計算手段に
より計算されて命令フェッチアドレス記憶手段に与えら
れることにより次命令がフェッチされる。
According to a fourth aspect of the data processor of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by its instruction address. The power supply to the pipeline processing stages is restarted by the power supply selecting means when the power supply to the pipeline processing stages is stopped by the power supply selecting means, and the processing in the specific pipeline processing stage is completed. The next instruction is fetched by being calculated by the next instruction address calculation means and given to the instruction fetch address storage means.

【0027】本発明のデータ処理装置の第5の発明で
は、特定命令検出手段が特定の命令が処理されているこ
とをその命令アドレスにより検出した場合に待機状態に
なっている各パイプライン処理ステージへのクロックの
供給がクロック供給選択手段により停止され、特定のパ
イプライン処理ステージでの処理が終了した場合に各パ
イプライン処理ステージへのクロックの供給がクロック
供給選択手段により再開されると共に、次命令のアドレ
スが次命令アドレス計算手段により計算されて命令フェ
ッチアドレス記憶手段に与えられることにより次命令が
フェッチされ、各ステージでは各静的記憶手段に記憶さ
れている内容に従って爾後の処理が開始される。
In a fifth aspect of the data processor of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by the instruction address thereof. The supply of the clock to the pipeline processing stage is stopped by the clock supply selecting means, and the supply of the clock to each pipeline processing stage is restarted by the clock supply selecting means when the processing in the specific pipeline processing stage is completed. The next instruction is fetched by calculating the address of the instruction by the next instruction address calculation means and giving it to the instruction fetch address storage means, and the subsequent processing is started in each stage according to the contents stored in each static storage means. It

【0028】本発明のデータ処理装置の第6の発明で
は、特定命令検出手段が特定の命令が処理されているこ
とをその命令アドレスにより検出した場合に待機状態に
なっている各パイプライン処理ステージへの給電が電源
供給選択手段により停止され、特定のパイプライン処理
ステージでの処理が終了した場合に各パイプライン処理
ステージへの給電が電源供給選択手段により再開される
と共に、次命令のアドレスが次命令アドレス計算手段に
より計算されて命令フェッチアドレス記憶手段に与えら
れることにより次命令がフェッチされ、各ステージでは
各静的記憶手段に記憶されている内容に従って爾後の処
理が開始される。
According to a sixth aspect of the data processor of the present invention, each pipeline processing stage which is in a standby state when the specific instruction detecting means detects that a specific instruction is processed by its instruction address. The power supply to the pipeline processing stages is restarted by the power supply selecting means when the power supply selecting means stops the power supply and the processing in the specific pipeline processing stage ends, and the address of the next instruction is The next instruction is fetched by being calculated by the next instruction address calculation means and given to the instruction fetch address storage means, and subsequent processing is started in each stage according to the contents stored in each static storage means.

【0029】[0029]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。図1は本発明に係るデータ処理装置の第
1の発明の一実施例の構成を示すブロック図である。な
お、この図1においては、前述の従来例の説明で参照し
た図13と同一の参照符号は同一又は相当部分を示してい
る。図1においてはマイクロプロセッサ3内の5段構成
の基本的なパイプライン処理機構が示されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments thereof. FIG. 1 is a block diagram showing the configuration of an embodiment of the first invention of the data processing apparatus according to the present invention. Note that in FIG. 1, the same reference numerals as those in FIG. 13 referred to in the description of the conventional example described above indicate the same or corresponding portions. FIG. 1 shows a basic pipeline processing mechanism having a five-stage structure in the microprocessor 3.

【0030】即ち、図示されていない外部メモリから命
令をプリフェッチする命令プリフェッチステージ (IFス
テージ)101, 命令をデコードするデコードステージ (D
ステージ)102, オペランドのアドレス計算を行うオペラ
ンドアドレス計算ステージ (Aステージ)103, マイクロ
ROM121のアクセス及びオペランドのプリフェッチを行う
オペランドプリフェッチステージ (Fステージ)106, 命
令を実行する命令実行ステージ (Eステージ)107の5ス
テージである。
That is, an instruction prefetch stage (IF stage) 101 for prefetching an instruction from an external memory (not shown), and a decode stage (D for decoding an instruction
Stage) 102, operand address calculation stage (A stage) 103 for performing operand address calculation, micro
The five stages are an operand prefetch stage (F stage) 106 for accessing the ROM 121 and operand prefetch, and an instruction execution stage (E stage) 107 for executing an instruction.

【0031】参照符号1は各ステージ101, 102, 103, 1
06にクロックを供給するためのクロック供給配線を示し
ている。なお、本発明のデータ処理装置のマイクロプロ
セッサ3には、図13の従来例に示されている電源供給配
線2及びそれから各ステージへの電源配線も備えてお
り、電源供給配線2から各ステージ101, 102, 103, 10
6, 107 への給電は常時行われているが、電源供給配線
2及びそれから各ステージへの給電線は省略してある。
Reference numeral 1 indicates each stage 101, 102, 103, 1
The clock supply wiring for supplying a clock to 06 is shown. The microprocessor 3 of the data processing device of the present invention is also provided with the power supply wiring 2 shown in the conventional example of FIG. 13 and the power supply wiring to each stage from the power supply wiring 2 to each stage 101. , 102, 103, 10
The power supply to 6 and 107 is always performed, but the power supply wiring 2 and the power supply lines to the respective stages are omitted.

【0032】なお、Eステージ107 には1段のストアバ
ッファ120 が備えられている。このEステージ107 にス
トアバッファ120 が備えられていることにより、図13に
示されているマイクロプロセッサ3は実際には5段以上
のパイプライン処理効果を発揮する。
The E stage 107 has a single-stage store buffer 120. Since the E stage 107 is provided with the store buffer 120, the microprocessor 3 shown in FIG. 13 actually exhibits a pipeline processing effect of five or more stages.

【0033】また、Fステージ106 は、マイクロROM121
をアクセスするマイクロROM アクセスステージ (Rステ
ージ)104とオペランドをプリフェッチするオペランドプ
リフェッチステージ (OFステージ)105とを含んでいる。
なお、上述のようなマイクロプロセッサ3を有する従来
のデータ処理装置では、命令処理に際しては各ステージ
で均衡したパイプライン処理が行えるように、処理対象
の命令を複数のパイプライン処理単位 (ステージコー
ド) に分解して処理する。
Further, the F stage 106 includes a micro ROM 121.
It includes a micro ROM access stage (R stage) 104 for accessing the memory and an operand prefetch stage (OF stage) 105 for prefetching operands.
In the conventional data processing device having the microprocessor 3 as described above, the instruction to be processed is processed into a plurality of pipeline processing units (stage code) so that balanced pipeline processing can be performed in each stage in the instruction processing. Disassemble and process.

【0034】ところで、IFステージ101 からDステージ
102 へ渡される情報は命令コード108 そのものである。
Dステージ102 からAステージ103 に渡される情報は、
命令で指定された演算に関する情報と、オペランドアド
レスの計算に関する情報との二種類があり、それぞれD
コード109,Aコード110 と称されるステージコードとと
して処理される。
By the way, the IF stage 101 to the D stage
The information passed to 102 is the instruction code 108 itself.
The information passed from the D stage 102 to the A stage 103 is
There are two types, information about the operation specified by the instruction and information about the calculation of the operand address.
It is processed as a code 109 and a stage code called A code 110.

【0035】Aステージ103 からFステージ106 に渡さ
れる情報は、マイクロプログラムルーチンのエントリ番
号, マイクロプログラムへのパラメータ等を含む情報
と、オペランドアドレスとアクセス方法の指示情報等を
含む情報との二種類があり、それぞれRコード111,Fコ
ード112 と称されるステージコードととして処理され
る。Fステージ106 からEステージ107 に渡される情報
は、演算制御情報とリテラル等を含む情報と、オペラン
ド, オペランドアドレス等を含む情報との二種類があ
り、それぞれEコード113,Sコード114 と称されるステ
ージコードととして処理される。
There are two types of information passed from the A stage 103 to the F stage 106: information including entry numbers of microprogram routines, parameters to the microprogram, etc., and information including operand addresses and access method instruction information. Are processed as stage codes called R code 111 and F code 112, respectively. There are two types of information passed from the F stage 106 to the E stage 107: information including operation control information and literals, and information including operands, operand addresses, etc. These are called E code 113 and S code 114, respectively. Is processed as a stage code.

【0036】以上の構成は図13にその構成が示されてい
る従来のデータ処理装置と同様であるが、本発明のデー
タ処理装置には、Eステージ107 を除く他のIFステージ
101,Dステージ102,Aステージ103 及びFステージ106
それぞれにクロック供給選択回路131, 132, 133, 134が
備えられている。これらのクロック供給選択回路131, 1
32, 133, 134はクロック供給配線1からそれぞれのステ
ージ101, 102, 103, 106へのクロックの供給を行うか、
あるいは停止するかを選択的することが出来る。
The above-mentioned configuration is similar to that of the conventional data processing apparatus whose configuration is shown in FIG. 13, but the data processing apparatus of the present invention includes the IF stages other than the E stage 107.
101, D stage 102, A stage 103 and F stage 106
Each of them is provided with a clock supply selection circuit 131, 132, 133, 134. These clock supply selection circuits 131, 1
32, 133, 134 supply the clock from the clock supply wiring 1 to the respective stages 101, 102, 103, 106,
Alternatively, it can be selectively stopped.

【0037】具体的には、各クロック供給選択回路131,
132, 133, 134は、後述する命令デコード部135 から検
出信号136 が与えられると、クロック供給配線1からそ
れぞれのステージ101, 102, 103, 106へのクロックの供
給を停止し、また逆に後述するストアバッファ120 から
の処理終了信号138 が与えられるとクロック供給配線1
からそれぞれのステージ101, 102, 103, 106へのクロッ
クの供給を行う。
Specifically, each clock supply selection circuit 131,
When a detection signal 136 is given from an instruction decoding unit 135 described later, 132, 133, 134 stop the clock supply from the clock supply wiring 1 to the respective stages 101, 102, 103, 106, and vice versa. When the processing end signal 138 from the store buffer 120 is supplied, the clock supply wiring 1
From each stage 101, 102, 103, 106 to the clock.

【0038】また、IFステージ101 には、図示されてい
ない外部メモリからフェッチすべき命令のアドレスを示
す命令フェッチアドレスレジスタ130 が備えられてい
る。
Further, the IF stage 101 is provided with an instruction fetch address register 130 which indicates an address of an instruction to be fetched from an external memory (not shown).

【0039】Dステージ102 には、IFステージ101 が外
部メモリからフェッチした命令コード108 をデコードし
てそれがあるいはステージでの処理に際して長時間を要
する特定の命令(以下、長時間処理命令という)である
か否かを検出する命令デコード部135 が備えられてい
る。この命令デコード部135 は、命令をデコードした場
合にその命令コードが予め記憶している幾つかの長時間
処理命令の命令コードであるか否かをチェックする。そ
して、長時間処理命令の命令コードであった場合には、
命令デコード部135 はIFステージ101 及びDステージ10
2 ののクロック供給選択回路131, 132とAステージ103
へ検出信号136 を出力する。
The D stage 102 decodes the instruction code 108 fetched from the external memory by the IF stage 101, and a specific instruction (hereinafter referred to as a long-time processing instruction) which takes a long time to process at the stage or at the stage. An instruction decoding unit 135 for detecting whether or not there is is provided. The instruction decoding unit 135 checks whether or not the instruction code is an instruction code of some long-time processing instructions stored in advance when the instruction is decoded. If the instruction code is a long-time processing instruction,
The instruction decoding unit 135 includes an IF stage 101 and a D stage 10
Clock supply selection circuits 131 and 132 of 2 and A stage 103
The detection signal 136 is output to.

【0040】Eステージ107 には、次命令フェッチアド
レス生成部137 が備えられている。この次命令フェッチ
アドレス生成部137 は、Eステージ107 のストアバッフ
ァ120 で長時間処理命令の処理が終了した場合に次にIF
ステージ101 へフェッチされるべき命令のアドレスを生
成する。この次命令フェッチアドレス生成部137 により
生成された命令のアドレスはIFステージ101 の命令フェ
ッチアドレスレジスタ130 に与えられる。
The E stage 107 is provided with a next instruction fetch address generator 137. The next-instruction-fetch-address generating unit 137 then outputs the IF
Generates the address of the instruction to be fetched into stage 101. The address of the instruction generated by the next instruction fetch address generation unit 137 is given to the instruction fetch address register 130 of the IF stage 101.

【0041】また、上述のようにストアバッファ120 で
の長時間処理命令の処理が終了した場合には、そのこと
を示す処理終了信号138 がストアバッファ120 から次命
令フェッチアドレス生成部137 及び各クロック供給選択
回路131, 132, 133, 134に与えられる。この処理終了信
号138 が与えられることにより各クロック供給選択回路
131, 132, 133, 134が各ステージ101, 102, 103, 106へ
のクロックの供給を行うことは前述した通りである。
Further, when the processing of the long-time processing instruction in the store buffer 120 is completed as described above, a processing end signal 138 indicating that is output from the store buffer 120 to the next instruction fetch address generation unit 137 and each clock. Applied to supply selection circuits 131, 132, 133, 134. When this processing end signal 138 is given, each clock supply selection circuit
As described above, 131, 132, 133, and 134 supply clocks to the stages 101, 102, 103, and 106, respectively.

【0042】次に、前述の従来例と同様の図14に示され
ている命令列を実行する場合の本発明のデータ処理装置
の第1の発明の動作について、各パイプライン処理段階
で各ステージにおいて処理される命令の状態を示す図2
の模式図を参照して説明する。
Next, regarding the operation of the first invention of the data processing apparatus of the present invention when executing the instruction sequence shown in FIG. 14 similar to the above-mentioned conventional example, each stage in each pipeline processing stage 2 showing the states of the instructions processed in
Will be described with reference to the schematic diagram of FIG.

【0043】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。IFステージ
101 にフェッチされた命令401 は命令コード108 として
Dステージ102 へ転送される。この状態が図2(a) に示
されている。
First, the instruction 401 is fetched into the IF stage 101 from an external memory (not shown). IF stage
The instruction 401 fetched by 101 is transferred to the D stage 102 as an instruction code 108. This state is shown in Fig. 2 (a).

【0044】Dステージ102 では、命令401 をデコード
し、そのデコード結果はDコード109 及びAコード110
としてAステージ103 へ転送される。また、次の命令40
2 が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図2(b) に示さ
れている。
The D stage 102 decodes the instruction 401, and the decoded result is the D code 109 and the A code 110.
Is transferred to the A stage 103 as. Also, the next instruction 40
2 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in Fig. 2 (b).

【0045】ところで、命令401 は長時間処理命令(smo
v.b)であるので、Dステージ102 の命令デコード部135
は検出信号136 をIFステージ101 及びDステージ102 の
クロック供給選択回路131, 132とAステージ103 とへ出
力する。これにより、クロック供給配線1からIFステー
ジ101 及びDステージ102 へのクロックの供給が停止さ
れてIFステージ101 及びDステージ102 はその動作を停
止する。従って、この時点以降はIFステージ101 が命令
401 の次の命令402 を外部メモリからフェッチすること
はない。
By the way, the instruction 401 is a long-time processing instruction (smo
vb), the instruction decoding unit 135 of the D stage 102
Outputs the detection signal 136 to the clock supply selection circuits 131 and 132 of the IF stage 101 and D stage 102 and the A stage 103. As a result, the supply of the clock from the clock supply wiring 1 to the IF stage 101 and the D stage 102 is stopped, and the operations of the IF stage 101 and the D stage 102 are stopped. Therefore, after this point, the IF stage 101
The instruction 402 following the 401 is never fetched from external memory.

【0046】Aステージ103 では、命令401 の処理が終
了すると、処理結果はRコード111及びFコード11
2 としてFステージ106 へ転送される。この状態が図
2(c) に示されている。また、Dステージ102 の命令デ
コード部135 から検出信号136 がAステージ103 にも与
えられているので、Aステージ103 はAステージ103 で
の処理終了後に検出信号136 を自身のクロック供給選択
回路133 及びFステージ106 へ出力する。これにより、
クロック供給配線1からAステージ103 へのクロックの
供給が停止されてAステージ103 もその動作を停止す
る。
At the A stage 103, when the processing of the instruction 401 is completed, the processing results are R code 111 and F code 11
2 is transferred to the F stage 106. This state is shown in FIG. 2 (c). Further, since the detection signal 136 from the instruction decoding unit 135 of the D stage 102 is also given to the A stage 103, the A stage 103 outputs the detection signal 136 to its own clock supply selection circuit 133 and after completion of the processing in the A stage 103. Output to F stage 106. This allows
The supply of the clock from the clock supply wiring 1 to the A stage 103 is stopped, and the A stage 103 also stops its operation.

【0047】Fステージ106 では、命令401 の処理が終
了すると、処理結果はEコード113及びSコード114 と
してEステージ107 へ転送される。この状態が図2(d)
に示されている。また、Aステージ103 から検出信号13
6 がFステージ106 にも与えられているので、Fステー
ジ106 はFステージ106 での処理終了後に検出信号136
を自身のクロック供給選択回路134 及びEステージ107
へ出力する。これにより、クロック供給配線1からFス
テージ106 へのクロックの供給が停止されてFステージ
106 もその動作を停止する。
In the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred to the E stage 107 as the E code 113 and the S code 114. This state is shown in Fig. 2 (d).
Is shown in. In addition, the detection signal 13 from the A stage 103
Since 6 is also given to the F stage 106, the F stage 106 outputs the detection signal 136 after the processing in the F stage 106 is completed.
Its own clock supply selection circuit 134 and E stage 107
Output to. As a result, the clock supply from the clock supply wiring 1 to the F stage 106 is stopped and the F stage 106 is stopped.
106 also stops its operation.

【0048】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うためにスト
アバッファ120 に書き込みデータを転送する。この状態
が図2(e) に示されている。また、Fステージ106 から
検出信号136 がEステージ107 にも与えられているの
で、Eステージ107 の次命令フェッチアドレス生成部13
7 では命令401 の次の命令である命令402 のアドレス(0
0000064H) を生成する。
At the E stage 107, when the processing of the instruction 401 is completed, the instruction 401 transfers the write data to the store buffer 120 because the instruction 401 involves memory writing. This state is shown in FIG. 2 (e). Further, since the detection signal 136 from the F stage 106 is also given to the E stage 107, the next instruction fetch address generation unit 13 of the E stage 107
In the case of 7, the address (0
0000064H) is generated.

【0049】ストアバッファ120 では、命令401 の処理
が終了すると、処理終了信号138 を発生して各クロック
供給選択回路131, 132, 133, 134及び次命令フェッチア
ドレス生成部137 に与える。これにより、クロック供給
配線1から各ステージ101, 102, 103, 106へのクロック
の供給が再開されると共に、次命令フェッチアドレス生
成部137 は先に発生した命令402 のアドレス(00000064
H) をIFステージ101 の命令フェッチアドレスレジスタ1
30 へ送る。
In the store buffer 120, when the processing of the instruction 401 is completed, a processing completion signal 138 is generated and given to the clock supply selection circuits 131, 132, 133, 134 and the next instruction fetch address generation unit 137. As a result, the supply of the clock from the clock supply wiring 1 to each of the stages 101, 102, 103, 106 is restarted, and the next instruction fetch address generation unit 137 causes the address of the instruction 402 generated earlier (00000064
H) is the IF stage 101 instruction fetch address register 1
Send to 30.

【0050】IFステージ101 では、次命令フェッチアド
レス生成部137 から次命令402 のアドレス(00000064H)
が命令フェッチアドレスレジスタ130 に与えられるの
で、その命令402 を外部メモリからフェッチして命令処
理を続行する。
In the IF stage 101, the address (00000064H) of the next instruction 402 from the next instruction fetch address generator 137
Is given to the instruction fetch address register 130, the instruction 402 is fetched from the external memory and the instruction processing is continued.

【0051】以上のように本発明のデータ処理装置の第
1の発明では、Dステージ102 の命令デコード部135 で
命令をデコードした時点でその命令コードが長時間処理
命令のコードであることが検出可能な場合には、その命
令をEステージ107 で処理するしている間にそれより前
段の各ステージ101, 102, 103, 106へのクロック供給配
線1からのクロックの供給が停止される。従って、長時
間処理命令をEステージ107 で処理している間は従来は
待機状態になる各ステージ101, 102, 103, 106が動作し
ないため、無駄な電力消費が回避される。
As described above, in the first aspect of the data processor of the present invention, when the instruction decoding unit 135 of the D stage 102 decodes the instruction, it is detected that the instruction code is a long-time processing instruction code. If possible, the clock supply from the clock supply line 1 to each of the stages 101, 102, 103, 106 preceding the E stage 107 is stopped while the instruction is being processed by the E stage 107. Therefore, while the long-time processing instruction is being processed by the E stage 107, the stages 101, 102, 103, 106 which are conventionally in the standby state do not operate, and wasteful power consumption is avoided.

【0052】なお、上記実施例ではDステージ102 に設
けられた命令デコード部135 で長時間処理命令の命令コ
ードを検出するようにしているが、他のステージ101, 1
03,106, 107のいずれで長時間処理命令の検出を行うよ
うにしてもほぼ同様の効果を奏する。
In the above embodiment, the instruction decoding unit 135 provided in the D stage 102 detects the instruction code of the long-time processing instruction, but the other stages 101, 1
Even if any one of 03, 106, and 107 detects a long-time processing instruction, substantially the same effect is obtained.

【0053】次に本発明のデータ処理装置の第2の発明
について説明する。図3は本発明に係るデータ処理装置
の第2の発明の一実施例の構成を示すブロック図であ
る。なお、この図3においては、前述の従来例及び第1
の発明の説明で参照した図13及び図1と同一の参照符号
は同一又は相当部分を示している。
Next, the second invention of the data processing apparatus of the present invention will be explained. FIG. 3 is a block diagram showing the configuration of an embodiment of the second invention of the data processing apparatus according to the present invention. In addition, in FIG. 3, the above-mentioned conventional example and the first example
13 and FIG. 1 referred to in the description of the invention indicate the same or corresponding parts.

【0054】図3に示されているように、この第2の発
明では、図1に示されている第1の発明の構成に備えら
れているクロック供給選択回路131, 132, 133, 134に代
えて電源供給選択回路141, 142, 143, 144が備えられて
いる。そして、各電源供給選択回路141, 142,143, 144
は、第1の発明のクロック供給選択回路131 と同様に、
検出信号136 が与えられた場合に電源供給配線2から各
ステージ101, 102, 103, 106への給電を停止し、また処
理終了信号138 から与えられた場合に電源供給配線2か
ら各ステージ101, 102, 103, 106への給電を行う。
As shown in FIG. 3, in the second invention, the clock supply selection circuits 131, 132, 133, and 134 provided in the configuration of the first invention shown in FIG. 1 are used. Instead, power supply selection circuits 141, 142, 143, 144 are provided. Then, each power supply selection circuit 141, 142, 143, 144
Is similar to the clock supply selection circuit 131 of the first invention,
When the detection signal 136 is supplied, the power supply from the power supply wiring 2 to each stage 101, 102, 103, 106 is stopped, and when the processing end signal 138 is supplied, the power supply wiring 2 is connected to each stage 101, 102, 103, 106. Power is supplied to 102, 103, and 106.

【0055】その他の構成は前述の図1に示されている
第1の発明と全く同様である。また、図3ではクロック
供給配線1から各ステージ101, 102, 103, 106, 107へ
のクロックの供給は常時行われているが、クロック供給
配線1及びそれから各ステージへのクロック信号線は省
略してある。
The other structure is exactly the same as that of the first invention shown in FIG. Further, in FIG. 3, the clock is supplied from the clock supply wiring 1 to each of the stages 101, 102, 103, 106, 107 at all times, but the clock supply wiring 1 and the clock signal line from the clock supply wiring 1 to each stage are omitted. There is.

【0056】具体的には、本発明のデータ処理装置の第
2の発明には、Eステージ107 を除く他のIFステージ10
1,Dステージ102,Aステージ103 及びFステージ106 そ
れぞれに電源供給選択回路141, 142, 143, 144が備えら
れている。これらの電源供給選択回路141, 142, 143, 1
44は、上述の如く、検出信号136が与えられた場合に電
源供給配線2からそれぞれのステージ101, 102, 103, 1
06への電源の供給を停止し、処理終了信号138 が与えら
れた場合に電源供給配線2からそれぞれのステージ101,
102, 103, 106への電源の供給を行う。
Specifically, in the second invention of the data processing apparatus of the present invention, the IF stage 10 other than the E stage 107 is provided.
Power supply selection circuits 141, 142, 143, and 144 are provided for the 1, D stage 102, A stage 103, and F stage 106, respectively. These power supply selection circuits 141, 142, 143, 1
As described above, the reference numeral 44 designates each stage 101, 102, 103, 1 from the power supply wiring 2 when the detection signal 136 is given.
When the power supply to 06 is stopped and the processing end signal 138 is given, each stage 101,
Supply power to 102, 103, 106.

【0057】次に、前述の第1の発明及び従来例と同様
の図14に示されている命令列を実行する場合の本発明の
データ処理装置の第2の発明の動作について、各パイプ
ライン処理段階で各ステージにおいて処理される命令の
状態を示す図4の模式図を参照して説明する。
Next, regarding the operation of the second invention of the data processing apparatus of the present invention when executing the instruction sequence shown in FIG. 14 similar to the above-mentioned first invention and the conventional example, each pipeline Description will be made with reference to the schematic diagram of FIG. 4 showing the states of instructions processed in each stage in the processing stage.

【0058】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。IFステージ
101 にフェッチされた命令401 は命令コード108 として
Dステージ102 へ転送される。この状態が図4(a) に示
されている。
First, the instruction 401 is fetched from the external memory (not shown) to the IF stage 101. IF stage
The instruction 401 fetched by 101 is transferred to the D stage 102 as an instruction code 108. This state is shown in FIG. 4 (a).

【0059】Dステージ102 では、命令401 をデコード
し、そのデコード結果はDコード109 及びAコード110
としてAステージ103 へ転送される。また、次の命令40
2 が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図4(b) に示さ
れている。
The D stage 102 decodes the instruction 401, and the decoded result is the D code 109 and the A code 110.
Is transferred to the A stage 103 as. Also, the next instruction 40
2 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in Fig. 4 (b).

【0060】ところで、命令401 は長時間処理命令(smo
v.b)であるので、Dステージ102 の命令デコード部135
は検出信号136 をIFステージ101 及びDステージ102 の
電源供給選択回路141, 142とAステージ103 とへ出力す
る。これにより、電源供給配線2からIFステージ101 及
びDステージ102 への給電が停止されてIFステージ101
及びDステージ102 はその動作を停止する。従って、こ
の時点以降はIFステージ101 が命令401 の次の命令402
を外部メモリからフェッチすることはない。
By the way, the instruction 401 is a long-time processing instruction (smo
vb), the instruction decoding unit 135 of the D stage 102
Outputs the detection signal 136 to the power supply selection circuits 141 and 142 of the IF stage 101 and D stage 102 and the A stage 103. As a result, the power supply from the power supply wiring 2 to the IF stage 101 and the D stage 102 is stopped, and the IF stage 101
And the D stage 102 stops its operation. Therefore, from this point onward, the IF stage 101 outputs the instruction 402 next to the instruction 401.
Is not fetched from external memory.

【0061】Aステージ103 では、命令401 の処理が終
了すると、処理結果はRコード111及びFコード112 と
してFステージ106 へ転送される。この状態が図4(c)
に示されている。また、Dステージ102 の命令デコード
部135 から検出信号136 がAステージ103 にも与えられ
ているので、Aステージ103 はAステージ103 での処理
終了後に検出信号136 を自身の電源供給選択回路143 及
びFステージ106 へ出力する。これにより、電源供給配
線2からAステージ103 への給電が停止されてAステー
ジ103 もその動作を停止する。
At the A stage 103, when the processing of the instruction 401 is completed, the processing result is transferred to the F stage 106 as the R code 111 and the F code 112. This state is shown in Fig. 4 (c).
Is shown in. Further, since the detection signal 136 from the instruction decoding unit 135 of the D stage 102 is also given to the A stage 103, the A stage 103 outputs the detection signal 136 to its own power supply selection circuit 143 and after the processing in the A stage 103 is completed. Output to F stage 106. As a result, the power supply from the power supply wiring 2 to the A stage 103 is stopped, and the A stage 103 also stops its operation.

【0062】Fステージ106 では、命令401 の処理が終
了すると、処理結果はEコード113及びSコード114 と
してEステージ107 へ転送される。この状態が図4(d)
に示されている。また、Aステージ103 から検出信号13
6 がFステージ106 にも与えられているので、Fステー
ジ106 はFステージ106 での処理終了後に検出信号136
を自身の電源供給選択回路144 及びEステージ107 へ出
力する。これにより、電源供給配線2からFステージ10
6 への給電が停止されてFステージ106 もその動作を停
止する。
In the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred to the E stage 107 as the E code 113 and the S code 114. This state is shown in Fig. 4 (d).
Is shown in. In addition, the detection signal 13 from the A stage 103
Since 6 is also given to the F stage 106, the F stage 106 outputs the detection signal 136 after the processing in the F stage 106 is completed.
Is output to its own power supply selection circuit 144 and the E stage 107. As a result, the power supply wiring 2 to the F stage 10
The power supply to 6 is stopped and the F stage 106 also stops its operation.

【0063】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うためにスト
アバッファ120 に書き込みデータを転送する。この状態
が図4(e) に示されている。また、Fステージ106 から
検出信号136 がEステージ107 にも与えられているの
で、Eステージ107 の次命令フェッチアドレス生成部13
7 では命令401 の次の命令である命令402 のアドレス(0
0000064H) を生成する。
At the E stage 107, when the processing of the instruction 401 is completed, the instruction 401 transfers the write data to the store buffer 120 because the instruction 401 involves memory writing. This state is shown in FIG. 4 (e). Further, since the detection signal 136 from the F stage 106 is also given to the E stage 107, the next instruction fetch address generation unit 13 of the E stage 107
In the case of 7, the address (0
0000064H) is generated.

【0064】ストアバッファ120 では、命令401 の処理
が終了すると、処理終了信号138 を発生して各電源供給
選択回路141, 142,143, 144 及び次命令フェッチアドレ
ス生成部137 に与える。これにより、電源供給配線2か
ら各ステージ101, 102, 103,106への給電が再開される
と共に、次命令フェッチアドレス生成部137 は先に発生
した命令402 のアドレス(00000064H) をIFステージ101
の命令フェッチアドレスレジスタ130 へ送る。
In the store buffer 120, when the processing of the instruction 401 is completed, a processing completion signal 138 is generated and given to the respective power supply selection circuits 141, 142, 143, 144 and the next instruction fetch address generator 137. As a result, the power supply from the power supply wiring 2 to each stage 101, 102, 103, 106 is restarted, and the next instruction fetch address generation unit 137 sends the address (00000064H) of the instruction 402 generated earlier to the IF stage 101.
Sent to the instruction fetch address register 130 of

【0065】IFステージ101 では、次命令フェッチアド
レス生成部137 から次命令402 のアドレス(00000064H)
が命令フェッチアドレスレジスタ130 に与えられるの
で、その命令402 を外部メモリからフェッチして命令処
理を続行する。
In the IF stage 101, the address (00000064H) of the next instruction 402 from the next instruction fetch address generator 137
Is given to the instruction fetch address register 130, the instruction 402 is fetched from the external memory and the instruction processing is continued.

【0066】以上のように本発明のデータ処理装置の第
1の発明では、Dステージ102 の命令デコード部135 で
命令をデコードした時点でその命令コードが長時間処理
命令のコードであることが検出可能な場合には、その命
令をEステージ107 で処理するしている間にそれより前
段の各ステージ101, 102, 103, 106への電源供給配線2
からの給電が停止される。従って、長時間処理命令をE
ステージ107 で処理している間は従来は待機状態になる
各ステージ101, 102, 103, 106が動作しないため、無駄
な電力消費が回避される。
As described above, according to the first aspect of the data processing device of the present invention, when the instruction decoding unit 135 of the D stage 102 decodes the instruction, it is detected that the instruction code is a long processing instruction code. If possible, the power supply wiring 2 to each of the stages 101, 102, 103 and 106 preceding the E stage 107 while the instruction is being processed.
The power supply from is stopped. Therefore, the long processing instruction is
While processing is performed in the stage 107, the stages 101, 102, 103, and 106, which are conventionally in a standby state, do not operate, so that useless power consumption is avoided.

【0067】なお、上記実施例ではDステージ102 に設
けられた命令デコード部135 で長時間処理命令の命令コ
ードを検出するようにしているが、他のステージ101, 1
03,106, 107のいずれで長時間処理命令の検出を行うよ
うにしてもほぼ同様の効果を奏する。
Although the instruction decoding unit 135 provided in the D stage 102 detects the instruction code of the long-time processing instruction in the above embodiment, the other stages 101, 1
Even if any one of 03, 106, and 107 detects a long-time processing instruction, substantially the same effect is obtained.

【0068】次に本発明のデータ処理装置の第3の発明
について説明する。図5は本発明に係るデータ処理装置
の第3の発明の一実施例の構成を示すブロック図であ
る。なお、この図5においては、前述の従来例及び第
1,第2の発明の説明で参照した図13及び図1,図3と
同一の参照符号は同一又は相当部分を示している。
Next, the third invention of the data processing apparatus of the present invention will be explained. FIG. 5 is a block diagram showing the configuration of an embodiment of the third invention of the data processing apparatus according to the present invention. In FIG. 5, the same reference numerals as those in FIG. 13 and FIGS. 1 and 3 referred to in the description of the conventional example and the first and second inventions described above indicate the same or corresponding portions.

【0069】図5に示されているように、この第3の発
明では、図1に示されている第1の発明においてDステ
ージ102 に命令デコード部135 が備えられている代わり
にPCブレークポインタ150,プログラムカウンタ(PC)115
及びアドレス比較器151 が備えられている。
As shown in FIG. 5, in the third invention, instead of the instruction decoding unit 135 being provided in the D stage 102 in the first invention shown in FIG. 1, a PC break pointer is used. 150, program counter (PC) 115
And an address comparator 151.

【0070】また、Aステージ103,Fステージ106,Eス
テージ107 及びストアバッファ120にもそれぞれプログ
ラムカウンタ116, 117, 118 及び119 が備えられてい
る。
The A stage 103, F stage 106, E stage 107 and store buffer 120 are also provided with program counters 116, 117, 118 and 119, respectively.

【0071】なお、 以下の説明では、Dステージ102
のプログラムカウンタ115 の値を”DPC ”, Aステージ
103 のプログラムカウンタ116 の値を”APC ”, Fステ
ージ106 のプログラムカウンタ117 の値を”FPC ”, E
ステージ107 のプログラムカウンタの値を”CPC ”, ス
トアバッファ120 のプログラムカウンタ119 の値を”SP
C ”とする。
In the following description, the D stage 102
The value of the program counter 115 of "DPC", A stage
The value of the program counter 116 of 103 is "APC", the value of the program counter 117 of F stage 106 is "FPC", E
The value of the program counter of the stage 107 is "CPC", and the value of the program counter 119 of the store buffer 120 is "SP".
C ”.

【0072】その他の構成は前述の図1に示されている
第1の発明と全く同様である。また、図5では電源供給
配線2から各ステージ101, 102, 103, 106, 107 への給
電は常時行われているが、電源供給配線2及びそれから
各ステージへの給電線は省略してある。
The other structure is exactly the same as that of the first invention shown in FIG. Further, in FIG. 5, the power is supplied from the power supply line 2 to each of the stages 101, 102, 103, 106, 107 at all times, but the power supply line 2 and the power supply line to each stage are omitted.

【0073】次に、前述の従来例及び各発明と同様の図
14に示されている命令列を実行する場合の本発明のデー
タ処理装置の第3の動作について、各パイプライン処理
段階で各ステージにおいて処理される命令の状態を示す
図6の模式図を参照して説明する。
Next, a diagram similar to the above-mentioned conventional example and each invention.
Regarding the third operation of the data processing apparatus of the present invention when executing the instruction sequence shown in 14, refer to the schematic diagram of FIG. 6 showing the state of the instruction processed in each stage in each pipeline processing stage. And explain.

【0074】Dステージ102 のPCブレークポインタ150
には、このデータ処理装置が処理する命令列の内の特定
の命令である長時間処理命令のアドレス、即ち図14に示
されている命令列を処理する場合にはその内の長時間処
理命令である命令401 のアドレス”00000062H ”が予め
記憶されている。
PC break pointer 150 of D stage 102
Is the address of a long-term processing instruction that is a specific instruction in the instruction sequence processed by this data processing device, that is, in the case of processing the instruction sequence shown in FIG. The address “00000062H” of the instruction 401 is stored in advance.

【0075】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。そして、IF
ステージ101 にフェッチされた命令401 は命令コード10
8 としてDステージ102 へ転送される。その際、Dステ
ージ102 のプログラムカウンタ115 には命令401 のアド
レス”00000062H ”が”DPC ”としてセットされる。こ
のようにプログラムカウンタ115 に新たな命令のアドレ
スが”DPC ”としてセットされると、アドレス比較器15
1 は”DPC ”とPCブレークポインタ150 に記憶されてい
る値とを比較する。この状態が図6(a) に示されてい
る。
First, the instruction 401 is fetched from the external memory (not shown) to the IF stage 101. And IF
Instruction 401 fetched in stage 101 is instruction code 10
8 is transferred to the D stage 102. At this time, the address "00000062H" of the instruction 401 is set in the program counter 115 of the D stage 102 as "DPC". In this way, when the address of the new instruction is set in the program counter 115 as "DPC", the address comparator 15
1 compares "DPC" with the value stored in PC break pointer 150. This state is shown in FIG. 6 (a).

【0076】Dステージ102 では、命令401 をデコード
し、そのデコード結果はDコード109 及びAコード110
としてAステージ103 へ転送される。また、次の命令40
2 が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図6(b) に示さ
れている。
In the D stage 102, the instruction 401 is decoded, and the decoded result is the D code 109 and the A code 110.
Is transferred to the A stage 103 as. Also, the next instruction 40
2 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in FIG. 6 (b).

【0077】この際、Aステージ103 のプログラムカウ
ンタ116 には命令401 のアドレス”00000062H ”が”AP
C ”としてセットされる。また、前述のようにアドレス
比較器151 はDステージ102 のプログラムカウンタ115
にセットされた”DPC ”とPCブレークポインタ150 に記
憶されている値とを比較するが、この場合は比較結果が
一致するので、アドレス比較器151 は検出信号136 をIF
ステージ101 及びDステージ102 のクロック供給選択回
路131, 132及びAステージ103 へ出力する。これによ
り、クロック供給配線1からIFステージ101 及びDステ
ージ102 へのクロックの供給が停止されてIFステージ10
1 及びDステージ102 の動作が停止する。従って、IFス
テージ101 が次の命令403 を外部メモリからフェッチす
ることはない。
At this time, the address "00000062H" of the instruction 401 is stored in the program counter 116 of the A stage 103 as "AP".
It is set as C ". Further, as described above, the address comparator 151 is connected to the program counter 115 of the D stage 102.
The "DPC" set in the register is compared with the value stored in the PC break pointer 150. In this case, since the comparison results match, the address comparator 151 outputs the detection signal 136 to the IF signal.
It outputs to the clock supply selection circuits 131 and 132 of the stage 101 and the D stage 102 and the A stage 103. As a result, the clock supply from the clock supply wiring 1 to the IF stage 101 and the D stage 102 is stopped, and the IF stage 10
1 and the operation of the D stage 102 stops. Therefore, the IF stage 101 does not fetch the next instruction 403 from the external memory.

【0078】Aステージ103 では、命令401 の処理が終
了すると、処理結果はRコード111及びFコード112 と
してFステージ106 へ転送される。この際、Fステージ
106 のプログラムカウンタ117 には命令401 のアドレ
ス”00000062H ”が”FPC ”としてセットされる。ま
た、アドレス比較器151 から検出信号136 がAステージ
103 にも与えられているので、Aステージ103 はAステ
ージ103 での処理終了後に検出信号136 を自身のクロッ
ク供給選択回路133 及びFステージ106 へ出力する。こ
れにより、クロック供給配線1からAステージ103 への
クロックの供給が停止されてAステージ103 の動作が停
止する。この状態が図6(c) に示されている。
At the A stage 103, when the processing of the instruction 401 is completed, the processing result is transferred to the F stage 106 as the R code 111 and the F code 112. At this time, F stage
The address "00000062H" of the instruction 401 is set in the program counter 117 of 106 as "FPC". Further, the detection signal 136 from the address comparator 151 is sent to the A stage.
Since it is also given to 103, the A stage 103 outputs the detection signal 136 to its own clock supply selection circuit 133 and the F stage 106 after the processing in the A stage 103 is completed. As a result, the supply of the clock from the clock supply wiring 1 to the A stage 103 is stopped and the operation of the A stage 103 is stopped. This state is shown in FIG. 6 (c).

【0079】Fステージ106 では、命令401 の処理が終
了すると、処理結果はEコード113及びSコード114 と
してEステージ107 へ転送される。その際、Eステージ
107 のプログラムカウンタ118 には命令401 のアドレ
ス”00000062H ”が”CPC ”としてセットされる。ま
た、Aステージ103 から検出信号136 がFステージ106
にも与えられているので、Fステージ106 はFステージ
106 での処理終了後に検出信号136 を自身のクロック供
給選択回路134 及びEステージ107 へ出力する。これに
より、クロック供給配線1からFステージ106 へのクロ
ックの供給が停止されてFステージ106 の動作が停止す
る。この状態が図6(d) に示されている。
At the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred to the E stage 107 as the E code 113 and the S code 114. At that time, E stage
The address "00000062H" of the instruction 401 is set in the program counter 118 of 107 as "CPC". Further, the detection signal 136 from the A stage 103 is sent to the F stage 106.
It is also given to the F stage 106
After the processing in 106 is completed, the detection signal 136 is output to the clock supply selection circuit 134 and the E stage 107 of its own. As a result, the supply of the clock from the clock supply wiring 1 to the F stage 106 is stopped, and the operation of the F stage 106 is stopped. This state is shown in FIG. 6 (d).

【0080】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うので、スト
アバッファ120 に書き込みデータを転送する。その際、
ストアバッファ120 のプログラムカウンタ119 には命令
401 のアドレス”00000062H ”が”SPC ”としてセット
される。また、Fステージ106 から検出信号136 がEス
テージ107 にも与えられているので、Eステージ107 の
次命令フェッチアドレス生成部137 では命令401 の次の
命令である命令402 のアドレス(00000064H) を生成す
る。この状態が図6(e) に示されている。
At the E stage 107, when the processing of the instruction 401 is completed, the instruction 401 involves memory writing, so the write data is transferred to the store buffer 120. that time,
Instructions are stored in the program counter 119 of the store buffer 120.
The address “00000062H” of 401 is set as “SPC”. Further, since the detection signal 136 is also given to the E stage 107 from the F stage 106, the next instruction fetch address generation unit 137 of the E stage 107 generates the address (00000064H) of the instruction 402 which is the next instruction of the instruction 401. To do. This state is shown in FIG. 6 (e).

【0081】ストアバッファ120 では、命令401 の処理
が終了すると、処理終了信号138 を発生して各クロック
供給選択回路131, 132, 133, 134及び次命令フェッチア
ドレス生成部137 に与える。これにより、クロック供給
配線1から各ステージ101, 102, 103, 106へのクロック
の供給が再開されると共に、次命令フェッチアドレス生
成部137 は先に生成した次の命令である命令402 のアド
レス(00000064H) を命令フェッチアドレスレジスタ130
へ送る。
In the store buffer 120, when the processing of the instruction 401 is completed, a processing completion signal 138 is generated and given to each clock supply selection circuit 131, 132, 133, 134 and the next instruction fetch address generation unit 137. As a result, the supply of the clock from the clock supply wiring 1 to each of the stages 101, 102, 103, and 106 is restarted, and the next instruction fetch address generation unit 137 causes the address of the instruction 402, which is the next instruction generated earlier ( (00000064H) to the instruction fetch address register 130
Send to.

【0082】IFステージ101 では、次命令フェッチアド
レス生成部137 から次命令402 のアドレス(00000064H)
が命令フェッチアドレスレジスタ130 に与えられるの
で、その命令402 を外部メモリからフェッチして命令処
理を続行する。
In the IF stage 101, the address (00000064H) of the next instruction 402 from the next instruction fetch address generator 137
Is given to the instruction fetch address register 130, the instruction 402 is fetched from the external memory and the instruction processing is continued.

【0083】以上のように、処理対象の命令列の内のい
ずれのアドレスの命令が長時間処理命令であるかが予め
判明している場合にはアドレス比較器151 によりそれが
検出されるので、その命令をEステージ107 で処理して
いる間にそれより前段の各ステージ101, 102, 103, 106
へのクロック供給配線1からのクロックの供給を停止す
ることにより、各ステージ101, 102, 103, 106が動作す
ることがなく、無駄な電力消費が回避される。
As described above, when it is known in advance which address of the instruction sequence to be processed is the long-time processing instruction, the address comparator 151 detects it, so that While the instruction is being processed by the E stage 107, each stage 101, 102, 103, 106 preceding it is processed.
By stopping the supply of the clock from the clock supply wiring 1 to the stages 101, 102, 103, 106, each stage 101, 102, 103, 106 does not operate, and unnecessary power consumption is avoided.

【0084】なお、上記実施例ではDステージ102 に設
けられたアドレス比較器151 で長時間処理命令のアドレ
スを検出するようにしているが、他のステージ101, 10
3, 106, 107のいずれで長時間処理命令のアドレス検出
を行うようにしてもほぼ同様の効果を奏する。
In the above embodiment, the address comparator 151 provided in the D stage 102 detects the address of the long-time processing instruction.
Almost the same effect can be obtained regardless of whether the address of a long-time processing instruction is detected by any of 3, 106, and 107.

【0085】次に本発明のデータ処理装置の第4の発明
について説明する。図7は本発明に係るデータ処理装置
の第4の発明の一実施例の構成を示すブロック図であ
る。なお、この図7においては、前述の従来例及び第
1,第2,第3の発明の説明で参照した図13及び図1,
図3,図5と同一の参照符号は同一又は相当部分を示し
ている。
Next explained is the fourth invention of the data processing apparatus of the invention. FIG. 7 is a block diagram showing the configuration of an embodiment of the fourth invention of the data processing apparatus according to the present invention. In addition, in FIG. 7, FIG. 13 and FIG. 1 referred to in the description of the above-mentioned conventional example and the first, second, and third inventions.
The same reference numerals as those in FIGS. 3 and 5 indicate the same or corresponding portions.

【0086】図7に示されているように、この第4の発
明では、図5に示されている第3の発明の構成に備えら
れているクロック供給選択回路131, 132, 133, 134に代
えて電源供給選択回路141, 142, 143, 144が備えられて
いる。そして、各電源供給選択回路141, 142,143, 144
は、第3の発明のクロック供給選択回路131 と同様に、
検出信号136 が与えられた場合に電源供給配線2から各
ステージ101, 102, 103, 106への給電を停止し、また処
理終了信号138 から与えられた場合に電源供給配線2か
ら各ステージ101, 102, 103, 106への給電を行う。
As shown in FIG. 7, in the fourth invention, the clock supply selection circuits 131, 132, 133, 134 provided in the configuration of the third invention shown in FIG. Instead, power supply selection circuits 141, 142, 143, 144 are provided. Then, each power supply selection circuit 141, 142, 143, 144
Is similar to the clock supply selection circuit 131 of the third invention,
When the detection signal 136 is supplied, the power supply from the power supply wiring 2 to each stage 101, 102, 103, 106 is stopped, and when the processing end signal 138 is supplied, the power supply wiring 2 is connected to each stage 101, 102, 103, 106. Power is supplied to 102, 103, and 106.

【0087】その他の構成は前述の図5に示されている
第3の発明と全く同様である。また、図7ではクロック
供給配線1から各ステージ101, 102, 103, 106, 107へ
のクロックの供給は常時行われているが、クロック供給
配線1及びそれから各ステージへのクロック信号線は省
略してある。
The other structure is exactly the same as that of the third invention shown in FIG. Further, in FIG. 7, the clock is supplied from the clock supply wiring 1 to each of the stages 101, 102, 103, 106, 107 at all times, but the clock supply wiring 1 and the clock signal line from each stage to the respective stages are omitted. There is.

【0088】具体的には、本発明のデータ処理装置の第
4の発明には、Eステージ107 を除く他のIFステージ10
1,Dステージ102,Aステージ103 及びFステージ106 そ
れぞれに電源供給選択回路141, 142, 143, 144が備えら
れている。これらの電源供給選択回路141, 142, 143, 1
44は、上述の如く、検出信号136が与えられた場合に電
源供給配線2からそれぞれのステージ101, 102, 103, 1
06への電源の供給を停止し、処理終了信号138 が与えら
れた場合に電源供給配線2からそれぞれのステージ101,
102, 103, 106への電源の供給を行う。
Specifically, in the fourth invention of the data processing apparatus of the present invention, the IF stage 10 other than the E stage 107 is provided.
Power supply selection circuits 141, 142, 143, and 144 are provided for the 1, D stage 102, A stage 103, and F stage 106, respectively. These power supply selection circuits 141, 142, 143, 1
As described above, the reference numeral 44 designates each stage 101, 102, 103, 1 from the power supply wiring 2 when the detection signal 136 is given.
When the power supply to 06 is stopped and the processing end signal 138 is given, each stage 101,
Supply power to 102, 103, 106.

【0089】次に、前述の従来例及び各発明と同様の図
14に示されている命令列を実行する場合の本発明のデー
タ処理装置の第4動作について、各パイプライン処理段
階で各ステージにおいて処理される命令の状態を示す図
8の模式図を参照して説明する。
Next, the same drawing as the above-mentioned conventional example and each invention.
Regarding the fourth operation of the data processor of the present invention when executing the instruction sequence shown in FIG. 14, refer to the schematic diagram of FIG. 8 showing the states of the instructions processed in each stage in each pipeline processing stage. Explain.

【0090】Dステージ102 のPCブレークポインタ150
には、このデータ処理装置が処理する命令列の内の特定
の命令である長時間処理命令のアドレス、即ち図14に示
されている命令列を処理する場合にはその内の長時間処
理命令である命令401 のアドレス”00000062H ”が予め
記憶されている。
PC break pointer 150 of D stage 102
Is the address of a long-term processing instruction that is a specific instruction in the instruction sequence processed by this data processing device, that is, in the case of processing the instruction sequence shown in FIG. The address “00000062H” of the instruction 401 is stored in advance.

【0091】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。そして、IF
ステージ101 にフェッチされた命令401 は命令コード10
8 としてDステージ102 へ転送される。その際、Dステ
ージ102 のプログラムカウンタ115 には命令401 のアド
レス”00000062H ”が”DPC ”としてセットされる。こ
のようにプログラムカウンタ115 に新たな命令のアドレ
スが”DPC ”としてセットされると、アドレス比較器15
1 は”DPC ”とPCブレークポインタ150 に記憶されてい
る値とを比較する。この状態が図8(a) に示されてい
る。
First, the instruction 401 is fetched from the external memory (not shown) to the IF stage 101. And IF
Instruction 401 fetched in stage 101 is instruction code 10
8 is transferred to the D stage 102. At this time, the address "00000062H" of the instruction 401 is set in the program counter 115 of the D stage 102 as "DPC". In this way, when the address of the new instruction is set in the program counter 115 as "DPC", the address comparator 15
1 compares "DPC" with the value stored in PC break pointer 150. This state is shown in FIG. 8 (a).

【0092】Dステージ102 では、命令401 をデコード
し、そのデコード結果はDコード109 及びAコード110
としてAステージ103 へ転送される。また、次の命令40
2 が外部メモリからIFステージ101 にフェッチされてD
ステージ102 へ転送される。この状態が図8(b) に示さ
れている。
In the D stage 102, the instruction 401 is decoded, and the decoded result is the D code 109 and the A code 110.
Is transferred to the A stage 103 as. Also, the next instruction 40
2 is fetched from external memory to IF stage 101 and D
Transferred to stage 102. This state is shown in FIG. 8 (b).

【0093】この際、Aステージ103 のプログラムカウ
ンタ116 には命令401 のアドレス”00000062H ”が”AP
C ”としてセットされる。また、前述のようにアドレス
比較器151 はDステージ102 のプログラムカウンタ115
にセットされた”DPC ”とPCブレークポインタ150 に記憶されて
いる値とを比較するが、この場合は比較結果が一致する
ので、アドレス比較器151 は検出信号136 をIFステージ
101 及びDステージ102 の電源供給選択回路141, 142及
びAステージ103 へ出力する。これにより、電源供給配
線2からIFステージ101 及びDステージ102 への給電が
停止されてIFステージ101 及びDステージ102 の動作が
停止する。従って、IFステージ101 が次の命令403 を外
部メモリからフェッチすることはない。
At this time, the address "00000062H" of the instruction 401 is stored in the program counter 116 of the A stage 103 as "AP".
It is set as C ". Further, as described above, the address comparator 151 is connected to the program counter 115 of the D stage 102.
The "DPC" set in the and the value stored in the PC break pointer 150 are compared. In this case, since the comparison results match, the address comparator 151 outputs the detection signal 136 to the IF stage.
Output to the power supply selection circuits 141 and 142 of the 101 and D stage 102 and the A stage 103. As a result, the power supply from the power supply wiring 2 to the IF stage 101 and the D stage 102 is stopped, and the operations of the IF stage 101 and the D stage 102 are stopped. Therefore, the IF stage 101 does not fetch the next instruction 403 from the external memory.

【0094】Aステージ103 では、命令401 の処理が終
了すると、処理結果はRコード111及びFコード112 と
してFステージ106 へ転送される。この際、Fステージ
106 のプログラムカウンタ117 には命令401 のアドレ
ス”00000062H ”が”FPC ”としてセットされる。ま
た、アドレス比較器151 から検出信号136 がAステージ
103 にも与えられているので、Aステージ103 はAステ
ージ103 での処理終了後に検出信号136 を自身の電源供
給選択回路143 及びFステージ106 へ出力する。これに
より、電源供給配線2からAステージ103 への給電が停
止されてAステージ103 の動作が停止する。この状態が
図8(c) に示されている。
At the A stage 103, when the processing of the instruction 401 is completed, the processing result is transferred to the F stage 106 as the R code 111 and the F code 112. At this time, F stage
The address "00000062H" of the instruction 401 is set in the program counter 117 of 106 as "FPC". Further, the detection signal 136 from the address comparator 151 is sent to the A stage.
Since it is also given to 103, the A stage 103 outputs the detection signal 136 to its own power supply selection circuit 143 and the F stage 106 after the processing in the A stage 103 is completed. As a result, the power supply from the power supply wiring 2 to the A stage 103 is stopped and the operation of the A stage 103 is stopped. This state is shown in FIG. 8 (c).

【0095】Fステージ106 では、命令401 の処理が終
了すると、処理結果はEコード113及びSコード114 と
してEステージ107 へ転送される。その際、Eステージ
107 のプログラムカウンタ118 には命令401 のアドレ
ス”00000062H ”が”CPC ”としてセットされる。ま
た、Aステージ103 から検出信号136 がFステージ106
にも与えられているので、Fステージ106 はFステージ
106 での処理終了後に検出信号136 を自身の電源供給選
択回路144 及びEステージ107 へ出力する。これによ
り、電源供給配線2からFステージ106 への給電が停止
されてFステージ106 の動作が停止する。この状態が図
8(d) に示されている。
At the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred to the E stage 107 as E code 113 and S code 114. At that time, E stage
The address "00000062H" of the instruction 401 is set in the program counter 118 of 107 as "CPC". Further, the detection signal 136 from the A stage 103 is sent to the F stage 106.
It is also given to the F stage 106
After the processing in 106 is completed, the detection signal 136 is output to the power supply selection circuit 144 of its own and the E stage 107. As a result, the power supply from the power supply wiring 2 to the F stage 106 is stopped and the operation of the F stage 106 is stopped. This state is shown in FIG. 8 (d).

【0096】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うので、スト
アバッファ120 に書き込みデータを転送する。その際、
ストアバッファ120 のプログラムカウンタ119 には命令
401 のアドレス”00000062H ”が”SPC ”としてセット
される。また、Fステージ106 から検出信号136 がEス
テージ107 にも与えられているので、Eステージ107 の
次命令フェッチアドレス生成部137 では命令401 の次の
命令である命令402 のアドレス(00000064H) を生成す
る。この状態が図8(e) に示されている。
At the E stage 107, when the processing of the instruction 401 is completed, since the instruction 401 involves memory writing, the write data is transferred to the store buffer 120. that time,
Instructions are stored in the program counter 119 of the store buffer 120.
The address “00000062H” of 401 is set as “SPC”. Further, since the detection signal 136 is also given to the E stage 107 from the F stage 106, the next instruction fetch address generation unit 137 of the E stage 107 generates the address (00000064H) of the instruction 402 which is the next instruction of the instruction 401. To do. This state is shown in FIG. 8 (e).

【0097】ストアバッファ120 では、命令401 の処理
が終了すると、処理終了信号138 を発生して各電源供給
選択回路141, 142,143, 144 及び次命令フェッチアドレ
ス生成部137 に与える。これにより、電源供給配線2か
ら各ステージ101, 102, 103,106への給電が再開される
と共に、次命令フェッチアドレス生成部137 は先に生成
した次の命令である命令402 のアドレス(00000064H) を
命令フェッチアドレスレジスタ130 へ送る。
In the store buffer 120, when the processing of the instruction 401 is completed, a processing completion signal 138 is generated and given to the respective power supply selection circuits 141, 142, 143, 144 and the next instruction fetch address generator 137. As a result, the power supply from the power supply wiring 2 to each of the stages 101, 102, 103, 106 is restarted, and the next instruction fetch address generation unit 137 issues the instruction 402 address (00000064H) which is the previously generated next instruction. Send to fetch address register 130.

【0098】IFステージ101 では、次命令フェッチアド
レス生成部137 から次命令402 のアドレス(00000064H)
が命令フェッチアドレスレジスタ130 に与えられるの
で、その命令402 を外部メモリからフェッチして命令処
理を続行する。
In the IF stage 101, the address (00000064H) of the next instruction 402 from the next instruction fetch address generator 137
Is given to the instruction fetch address register 130, the instruction 402 is fetched from the external memory and the instruction processing is continued.

【0099】以上のように、処理対象の命令列の内のい
ずれのアドレスの命令が長時間処理命令であるかが予め
判明している場合にはアドレス比較器151 によりそれが
検出されるので、その命令をEステージ107 で処理して
いる間にそれより前段の各ステージ101, 102, 103, 106
への電源供給配線2からの給電を停止することにより、
各ステージ101, 102, 103, 106が動作することがなく、
無駄な電力消費が回避される。
As described above, when it is known in advance which address of the instruction sequence to be processed is the long-time processing instruction, the address comparator 151 detects it, so that While the instruction is being processed by the E stage 107, each stage 101, 102, 103, 106 preceding it is processed.
By stopping the power supply from the power supply wiring 2 to
Each stage 101, 102, 103, 106 does not work,
Useless power consumption is avoided.

【0100】なお、上記実施例ではDステージ102 に設
けられたアドレス比較器151 で長時間処理命令のアドレ
スを検出するようにしているが、他のステージ101, 10
3, 106, 107のいずれで長時間処理命令のアドレス検出
を行うようにしてもほぼ同様の効果を奏する。
In the above embodiment, the address comparator 151 provided in the D stage 102 detects the address of the long-time processing instruction. However, the other stages 101, 10
Almost the same effect can be obtained regardless of whether the address of a long-time processing instruction is detected by any of 3, 106, and 107.

【0101】次に本発明のデータ処理装置の第5の発明
について説明する。図9は本発明に係るデータ処理装置
の第5の発明の一実施例の構成を示すブロック図であ
る。なお、この図9においては、前述の従来例及び第
1,第2,第3第4の発明の説明で参照した図13及び図
1,図3,図5,図7と同一の参照符号は同一又は相当
部分を示している。
Next, the fifth invention of the data processing apparatus of the present invention will be explained. FIG. 9 is a block diagram showing the configuration of the fifth embodiment of the data processing apparatus according to the present invention. In FIG. 9, the same reference numerals as those in FIG. 13 and FIG. 1, FIG. 3, FIG. 5, and FIG. 7 referred to in the above-mentioned conventional example and the description of the first, second, third, and fourth inventions. The same or corresponding parts are shown.

【0102】図9に示されているように、この第5の発
明では、図1に示されている第1の発明の構成に更に、
Eステージ107 を除く各ステージ101, 102, 103, 106内
にそれぞれデータの受渡しを行うためにスタティックに
データを記憶する静的記憶手段としてのバッファ160, 1
61, 162, 163を備えている。なお、これらの各バッファ
160, 161, 162, 163には各クロック供給選択回路131, 1
32, 133, 134からそれぞれのステージ101, 102, 103, 1
06に供給されるクロックが供給されている。
As shown in FIG. 9, in the fifth invention, in addition to the configuration of the first invention shown in FIG.
A buffer 160, 1 as a static storage means for statically storing data in order to transfer the data in each stage 101, 102, 103, 106 except the E stage 107.
It has 61, 162 and 163. Note that each of these buffers
Clock supply selection circuits 131, 1 for 160, 161, 162, 163
32, 133, 134 from each stage 101, 102, 103, 1
The clock supplied to 06 is supplied.

【0103】また、第1の発明においてEステージ107
に備えられている次命令フェッチアドレス生成部137 は
備えられていない。
Further, in the first invention, the E stage 107
The next-instruction-fetch-address generating unit 137 provided in the above is not provided.

【0104】その他の構成は前述の図1に示されている
第1の発明と全く同様である。また、図9では電源供給
配線2から各ステージ101, 102, 103, 106, 107 への給
電は常時行われているが、電源供給配線2及びそれから
各ステージへの給電線は省略してある。
The other structure is exactly the same as that of the first invention shown in FIG. Further, in FIG. 9, the power is supplied from the power supply wiring 2 to each of the stages 101, 102, 103, 106 and 107 at all times, but the power supply wiring 2 and the power supply line to each stage are omitted.

【0105】なお、IFステージ101 の命令フェッチアド
レスレジスタ130 はバッファ160 と接続されていて、バ
ッファ160 に保持されている命令アドレスが入力される
ようになっている。また、命令デコード部135 により長
時間処理命令が検出された場合に出力される検出信号13
6 はAステージ103 のみに与えられ、その後にAステー
ジ103 からFステージ106 へ、Fステージ106 からEス
テージ107 へ、更にEステージ107から各クロック供
給選択回路131, 132, 133, 134へ伝
えられる。また、ストアバッファ120 から出力される処
理終了信号138 は各クロック供給選択回路131, 132, 13
3, 134に与えられていて、命令フェッチアドレスレジス
タ130 には与えられていない。
The instruction fetch address register 130 of the IF stage 101 is connected to the buffer 160, and the instruction address held in the buffer 160 is input. Further, the detection signal 13 output when the long-time processing instruction is detected by the instruction decoding unit 135
6 is given only to the A stage 103, and then transmitted from the A stage 103 to the F stage 106, from the F stage 106 to the E stage 107, and further from the E stage 107 to each clock supply selection circuit 131, 132, 133, 134. . Further, the processing end signal 138 output from the store buffer 120 is the clock supply selection circuits 131, 132, 13
3 and 134, but not the instruction fetch address register 130.

【0106】次に、前述の従来例及び各発明と同様の図
14に示されている命令列を実行する場合の本発明のデー
タ処理装置の第5の発明の動作について、各パイプライ
ン処理段階で各ステージにおいて処理される命令の状態
を示す図10の模式図を参照して説明する。
Next, a diagram similar to the above-mentioned conventional example and each invention.
Regarding the operation of the fifth invention of the data processing device of the present invention when executing the instruction sequence shown in FIG. 14, a schematic diagram of FIG. 10 showing states of instructions processed in each stage in each pipeline processing stage. Will be described with reference to.

【0107】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。IFステージ
101 にフェッチされた命令401 はバッファ160 から命令
コード108 として出力されてDステージ102 へ転送され
る。その後、次の命令402 が外部メモリからIFステージ
101 にフェッチされ、バッファ160 にその命令402 の命
令コード及び命令アドレスが一旦記憶される。この状態
が図10(a) に示されている。
First, the instruction 401 is fetched into the IF stage 101 from an external memory (not shown). IF stage
The instruction 401 fetched by 101 is output as the instruction code 108 from the buffer 160 and transferred to the D stage 102. Then, the next instruction 402 is from the external memory to the IF stage.
The instruction code and the instruction address of the instruction 402 are temporarily stored in the buffer 160. This state is shown in Fig. 10 (a).

【0108】Dステージ102 では、命令401 をデコード
し、そのデコード結果はバッファ161 からDコード109
及びAコード110 として出力されてAステージ103 へ転
送される。また、Dステージ102 の命令デコード部135
で長時間処理命令(smov.b)であることが検出されるの
で、命令デコード部135 は検出信号136 をAステージ10
3 へ出力する。更に、外部メモリから命令403 がIFステ
ージ101 にフェッチされ、バッファ160 にその命令403
の命令コード及び命令アドレスが記憶される。この状態
が図10(b) に示されている。
At the D stage 102, the instruction 401 is decoded, and the decoding result is obtained from the buffer 161 to the D code 109.
And is output as the A code 110 and transferred to the A stage 103. Also, the instruction decoding unit 135 of the D stage 102.
Since it is detected that it is a long-time processing instruction (smov.b), the instruction decoding unit 135 outputs the detection signal 136 to the A stage 10
Output to 3. Further, the instruction 403 is fetched from the external memory to the IF stage 101, and the instruction 403 is fetched into the buffer 160.
The instruction code and instruction address of are stored. This state is shown in Fig. 10 (b).

【0109】Aステージ103 では、命令401 の処理が終
了すると、処理結果はバッファ162からRコード111 及
びFコード112 として出力されてFステージ106 へ転送
される。また、Dステージ102 から入力された検出信号
136 もFステージ106 へ出力される。
In the A stage 103, when the processing of the instruction 401 is completed, the processing result is output from the buffer 162 as the R code 111 and the F code 112 and transferred to the F stage 106. Further, the detection signal input from the D stage 102
136 is also output to the F stage 106.

【0110】その後、命令402 がDステージ102 のバッ
ファ161 からAステージ103 へ転送される。また、命令
403 がIFステージ101 のバッファ160 からDステージ10
2 へ転送される。更に、外部メモリから命令404 がIFス
テージ101 へフェッチされ、バッファ160 にその命令40
4 の命令コード及び命令アドレスが記憶される。この状
態が図10(c) に示されている。
Thereafter, the instruction 402 is transferred from the buffer 161 of the D stage 102 to the A stage 103. Also the instruction
403 is buffer 160 of IF stage 101 to D stage 10
Transferred to 2. Further, the instruction 404 is fetched from the external memory to the IF stage 101, and the instruction 40 is fetched into the buffer 160.
The instruction code and instruction address of 4 are stored. This state is shown in Fig. 10 (c).

【0111】Fステージ106 では、命令401 の処理が終
了すると、処理結果はバッファ163からEコード113 及
びSコード114 としてEステージ107 へ転送される。ま
た、Aステージ103 から入力された検出信号136 もEス
テージ107 へ出力される。その後、命令402 がAステー
ジ103 のバッファ162 からFステージ106 へ転送され
る。また、命令403 がDステージ102 のバッファ161 か
らAステージ103 へ転送される。命令404 がIFステージ
101 のバッファ160 からDステージ102 へ転送される。
更に、外部メモリから命令405 がIFステージ101 へフェ
ッチされ、バッファ160 にその命令405 の命令コード及
び命令アドレスが記憶される。この状態が図10(d) に示
されている。
In the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred from the buffer 163 to the E stage 107 as the E code 113 and the S code 114. The detection signal 136 input from the A stage 103 is also output to the E stage 107. After that, the instruction 402 is transferred from the buffer 162 of the A stage 103 to the F stage 106. Further, the instruction 403 is transferred from the buffer 161 of the D stage 102 to the A stage 103. Instruction 404 is the IF stage
It is transferred from the buffer 160 of 101 to the D stage 102.
Further, the instruction 405 is fetched from the external memory to the IF stage 101, and the instruction code and instruction address of the instruction 405 are stored in the buffer 160. This state is shown in Fig. 10 (d).

【0112】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うので、スト
アバッファ120 に書き込みデータを転送する。その後、
命令402 がFステージ106 のバッファ163 からEステー
ジ107 へ転送される。命令402 がAステージ103 のバッ
ファ162 からFステージ106 へ転送される。また、命令
404 がDステージ102 のバッファ161 からAステージ10
3 へ転送される。命令405 がIFステージ101 のバッファ
160 からDステージ102 へ転送される。更に、外部メモ
リから命令406 がIFステージ101 へフェッチされ、バッ
ファ160 にその命令406 の命令コード及び命令アドレス
が記憶される。この状態が図10(e) に示されている。
At the E stage 107, when the processing of the instruction 401 is completed, since the instruction 401 involves memory writing, the write data is transferred to the store buffer 120. afterwards,
The instruction 402 is transferred from the buffer 163 of the F stage 106 to the E stage 107. The instruction 402 is transferred from the buffer 162 of the A stage 103 to the F stage 106. Also the instruction
404 is buffer 161 of D stage 102 to A stage 10
Transferred to 3. Instruction 405 is the buffer of IF stage 101
Transfer from 160 to D stage 102. Further, the instruction 406 is fetched from the external memory to the IF stage 101, and the instruction code and instruction address of the instruction 406 are stored in the buffer 160. This state is shown in Fig. 10 (e).

【0113】また、Fステージ106 からEステージ107
へ検出信号136 が入力されると、Eステージ107 は各ス
テージ101, 102, 103, 106のクロック供給選択回路131,
132, 133, 134へ検出信号136 を出力して各ステージ10
1, 102, 103, 106へのクロック供給配線1からのクロッ
クの供給を停止させる。これにより、各ステージ101,10
2, 103, 106はその動作を停止するが、それぞれのステ
ージ101, 102, 103, 106のバッファ160, 161, 162, 163
はスタティックな記憶を行うのでクロックが供給されず
ともその時点の記憶内容、具体的にはその時点の各ステ
ージ101, 102,103, 106の処理結果を失うことはない。
Further, from the F stage 106 to the E stage 107
When the detection signal 136 is input to the E stage 107, the E stage 107 outputs the clock supply selection circuits 131, 101, 102, 103, 106 of each stage.
Outputs detection signal 136 to 132, 133, 134 and outputs each stage 10
Stop the clock supply from the clock supply wiring 1 to 1, 102, 103, 106. As a result, each stage 101,10
2, 103, 106 stop its operation, but buffer 160, 161, 162, 163 of each stage 101, 102, 103, 106
Does not lose the stored contents at that time, specifically, the processing results of the stages 101, 102, 103, 106 at that time, because the static storage is performed even if the clock is not supplied.

【0114】ストアバッファ120 では、命令401 の処理
が終了すると、処理終了信号138 を発生して各クロック
供給選択回路131, 132, 133, 134に与える。これによ
り、クロック供給配線1から各ステージ101, 102, 103,
106へのクロックの供給が再開される。このクロックの
供給が再開された時点で、各ステージ101, 102, 103, 1
06の処理結果のデータを記憶しているバッファ160,161,
162, 163 の内容が次段のステージ102, 103, 106, 107
へ送られるので、それぞれのステージ102, 103, 106, 1
07ではそれらのデータに従って以降の処理を再開する。
In the store buffer 120, when the processing of the instruction 401 is completed, a processing end signal 138 is generated and given to each clock supply selection circuit 131, 132, 133, 134. As a result, each stage 101, 102, 103, from the clock supply wiring 1
The clock supply to 106 is restarted. When the supply of this clock is restarted, each stage 101, 102, 103, 1
Buffers 160, 161, which store the data of the processing result of 06,
The contents of 162, 163 are the next stages 102, 103, 106, 107
Will be sent to each stage 102, 103, 106, 1
In 07, the subsequent processing is restarted according to those data.

【0115】IFステージ101 では、バッファ160 に記憶
されている命令アドレスの次のアドレス、上述の例では
命令406 の命令アドレスがバッファ160 に記憶されてい
るので、その命令406 の次の命令407 のアドレス(00000
06EH) が命令フェッチアドレスレジスタ130 に与えられ
るので、その命令406 を外部メモリからフェッチして命
令処理を続行する。
In the IF stage 101, since the address next to the instruction address stored in the buffer 160, that is, the instruction address of the instruction 406 in the above example, is stored in the buffer 160, the instruction 407 next to the instruction 406 is stored. Address (00000
06EH) is given to the instruction fetch address register 130, the instruction 406 is fetched from the external memory and the instruction processing is continued.

【0116】以上のように、IFステージ101 の命令フェ
ッチアドレスレジスタ130 でデコードした命令の命令コ
ードが長時間処理命令のコードであることが検出可能な
場合には、その命令をEステージ107 で処理している間
はそれより前段の各ステージ101, 102, 103, 106ではそ
れぞれの処理結果をそれぞれのバッファ160, 161, 162,
163に記憶した状態でクロック供給配線1からのクロッ
クの供給が停止される。従って、各ステージ101, 102,
103, 106が動作することがないため無駄な電力消費が回
避されると共に、処理の再開時に外部メモリから無駄な
命令フェッチを行うことなく、またクロックの供給停止
時までに各ステージ101, 102, 103, 106で処理した結果
をそのまま再使用して迅速に処理を再開することが出来
る。
As described above, when it is possible to detect that the instruction code of the instruction decoded by the instruction fetch address register 130 of the IF stage 101 is the code of the long-time processing instruction, the instruction is processed by the E stage 107. While processing, each stage 101, 102, 103, 106 of the previous stage outputs each processing result to each buffer 160, 161, 162,
The supply of the clock from the clock supply wiring 1 is stopped in the state of being stored in 163. Therefore, each stage 101, 102,
Since 103 and 106 do not operate, unnecessary power consumption is avoided, unnecessary instruction fetch from the external memory is not performed when processing is restarted, and each stage 101, 102, The result processed in 103, 106 can be reused as it is and the processing can be restarted quickly.

【0117】なお、上記実施例ではDステージ102 に設
けられた命令デコード部135 で長時間処理命令を検出す
るようにしているが、他のステージ101, 103, 106, 107
のいずれで長時間処理命令の検出を行うようにしてもほ
ぼ同様の効果を奏する。また、上記実施例では命令をデ
コードして得られる命令コードにより長時間処理命令を
検出しているが、長時間処理命令のアドレスが予め判明
しているのであれば、図5及び図7に示されている第3
及び第4の発明と同様に、アドレスの一致検出による構
成としてもよい。
In the above embodiment, the instruction decoding unit 135 provided in the D stage 102 detects a long-time processing instruction, but the other stages 101, 103, 106, 107.
In any of the above cases, the same effect can be obtained regardless of whether the long-time processing instruction is detected. Further, in the above embodiment, the long-time processing instruction is detected by the instruction code obtained by decoding the instruction. However, if the address of the long-time processing instruction is known in advance, it is shown in FIGS. Has been third
As in the case of the fourth invention, the configuration may be such that address coincidence detection is performed.

【0118】次に本発明のデータ処理装置の第6の発明
について説明する。図11は本発明に係るデータ処理装置
の第6の発明の一実施例の構成を示すブロック図であ
る。なお、この図11においては、前述の従来例及び第1
乃至第5の発明の説明で参照した図13及び図1,図3,
図5,図7, 図9と同一の参照符号は同一又は相当部分
を示している。
Next, the sixth invention of the data processing apparatus of the present invention will be explained. FIG. 11 is a block diagram showing the configuration of a sixth embodiment of the data processing apparatus according to the present invention. In addition, in FIG. 11, the above-mentioned conventional example and the first example
To FIG. 13, FIG. 1, FIG. 3 referred to in the description of the fifth invention
The same reference numerals as those in FIGS. 5, 7, and 9 denote the same or corresponding portions.

【0119】図11に示されているように、この第6の発
明では電源供給選択回路141, 142,143, 144 が備えられ
ていてクロック供給選択回路131, 132, 133, 134は備え
られていない。また、図11ではクロック供給配線1から
各ステージ101, 102, 103, 106, 107へのクロックの供
給は常時行われているが、クロック供給配線1及びそれ
から各ステージへのクロック信号線は省略してある。
As shown in FIG. 11, in the sixth invention, power supply selection circuits 141, 142, 143, 144 are provided, but clock supply selection circuits 131, 132, 133, 134 are not provided. Further, in FIG. 11, the clock is supplied from the clock supply wiring 1 to each of the stages 101, 102, 103, 106, 107 at all times, but the clock supply wiring 1 and the clock signal line from each stage to each stage are omitted. There is.

【0120】また、この第6の発明では、図9に示され
ている第5の発明の構成で備えられているバッファ160,
161, 162, 163がいずれも各ステージ101, 102, 103, 1
06とは独立していて、各ステージ101, 102, 103, 106へ
の電源供給配線2からの電源供給が電源供給選択回路14
1, 142, 143, 144により遮断された場合にも各バッファ
160, 161, 162, 163への電源供給は行われるようになっ
ている。
In addition, in the sixth invention, the buffer 160, which is provided in the configuration of the fifth invention shown in FIG. 9, is provided.
161, 162, 163 are all stages 101, 102, 103, 1
It is independent of 06, and the power supply from the power supply wiring 2 to each stage 101, 102, 103, 106 is the power supply selection circuit 14
Each buffer even when blocked by 1, 142, 143, 144
Power is supplied to 160, 161, 162, 163.

【0121】また、この第6の発明では、前述の図5及
び図7に示されている第3及び第4の発明と同様のプロ
グラムカウンタ115, 116, 117, 118, 119 がそれぞれD
ステージ102,Aステージ103,Fステージ106,Eステージ
107,ストアバッファ120 内に備えられている。
In the sixth invention, the program counters 115, 116, 117, 118 and 119 similar to those of the third and fourth inventions shown in FIGS.
Stage 102, A stage 103, F stage 106, E stage
107, provided in the store buffer 120.

【0122】更に、前述の図5及び図7に示されている
第3及び第4の発明ではDステージ102 にPCブレークポ
インタ150 及びアドレス比較器151 を備えているが、本
第6の発明ではそれらをストアバッファ120 に備えてい
る。そして、このストアバッファ120 に備えられている
アドレス比較器151 から出力される検出信号136 は各電
源供給選択回路141, 142,143, 144 に与えられている。
他の構成は図9に示されている第5の発明と同様であ
る。
Further, in the third and fourth inventions shown in FIGS. 5 and 7, the D stage 102 is provided with the PC break pointer 150 and the address comparator 151. However, in the sixth invention, Store them in the store buffer 120. The detection signal 136 output from the address comparator 151 provided in the store buffer 120 is given to each power supply selection circuit 141, 142, 143, 144.
Other configurations are similar to those of the fifth invention shown in FIG.

【0123】次に、前述の従来例及び各発明と同様の図
14に示されている命令列を実行する場合の本発明のデー
タ処理装置の第6の発明の動作について、各パイプライ
ン処理段階で各ステージにおいて処理される命令の状態
を示す図12の模式図を参照して説明する。
Next, a diagram similar to the above-mentioned conventional example and each invention.
The schematic diagram of FIG. 12 showing the state of the instruction processed in each stage in each pipeline processing stage in the operation of the sixth invention of the data processing device of the present invention when executing the instruction sequence shown in FIG. Will be described with reference to.

【0124】まず、図示されていない外部メモリから命
令401 がIFステージ101 にフェッチされる。IFステージ
101 にフェッチされた命令401 はバッファ160 を経由し
て命令コード108 としてDステージ102 へ転送される。
その際、Dステージ102 のプログラムカウンタ115 には
命令401 のアドレス”00000062H ”が”DPC ”としてセ
ットされる。その後、次の命令402 が外部メモリからIF
ステージ101 にフェッチされ、バッファ160 にその命令
402 の命令コード及び命令アドレスが一旦記憶される。
この状態が図12(a) に示されている。
First, the instruction 401 is fetched from the external memory (not shown) to the IF stage 101. IF stage
The instruction 401 fetched by 101 is transferred to the D stage 102 as an instruction code 108 via the buffer 160.
At this time, the address "00000062H" of the instruction 401 is set in the program counter 115 of the D stage 102 as "DPC". Then the next instruction 402 from the external memory
The instruction is fetched into stage 101 and placed in buffer 160
The instruction code and instruction address of 402 are temporarily stored.
This state is shown in Figure 12 (a).

【0125】Dステージ102 では、命令401 をデコード
し、そのデコード結果はバッファ161 を経由してDコー
ド109 及びAコード110 としてAステージ103 へ転送さ
れる。その際、Aステージ103 のプログラムカウンタ11
6 には命令401 のアドレス”00000062H ”が”APC ”と
してセットされる。次の命令402 がIFステージ101 から
バッファ160 を経由してDステージ102 へ転送され、D
ステージ102 のプログラムカウンタ115 には命令402 の
アドレス”00000064H ”が”DPC ”としてセットされ
る。更に、外部メモリから命令403 がIFステージ101 に
フェッチされ、バッファ160 にその命令403 の命令コー
ド及び命令アドレスが記憶される。この状態が図12(b)
に示されている。
In the D stage 102, the instruction 401 is decoded, and the decoding result is transferred to the A stage 103 as the D code 109 and the A code 110 via the buffer 161. At that time, the program counter 11 of the A stage 103
The address “00000062H” of the instruction 401 is set to 6 as “APC”. The next instruction 402 is transferred from the IF stage 101 to the D stage 102 via the buffer 160, and D
The address "00000064H" of the instruction 402 is set in the program counter 115 of the stage 102 as "DPC". Further, the instruction 403 is fetched from the external memory to the IF stage 101, and the instruction code and instruction address of the instruction 403 are stored in the buffer 160. This state is shown in Figure 12 (b).
Is shown in.

【0126】Aステージ103 では、命令401 の処理が終
了すると、その処理結果はバッファ162 を経由してRコ
ード111 及びFコード112 としてFステージ106 へ転送
される。その際、Fステージ106 のプログラムカウンタ
117 には命令401 のアドレス”00000062H ”が”FPC ”
としてセットされる。また、次の命令402 がAステージ
103 からバッファ161 を経由してAステージ103 へ転送
され、プログラムカウンタ116 には命令402 のアドレ
ス”00000064H ”が”APC ”としてセットされる。更
に、命令403 がIFステージ101 からバッファ160 を経由
してDステージ102 へ転送され、Dステージ102 のプロ
グラムカウンタ115 には命令402 のアドレス”00000066
H ”が”DPC ”としてセットされる。更に、外部メモリ
から命令404 がIFステージ101 にフェッチされ、バッフ
ァ160 にその命令404 の命令コード及び命令アドレスが
記憶される。この状態が図12(c) に示されている。
At the A stage 103, when the processing of the instruction 401 is completed, the processing result is transferred to the F stage 106 as the R code 111 and the F code 112 via the buffer 162. At that time, the program counter of the F stage 106
In 117, the address “00000062H” of instruction 401 is “FPC”
Is set as. Also, the next instruction 402 is the A stage
The data is transferred from 103 to the A stage 103 via the buffer 161, and the address "00000064H" of the instruction 402 is set in the program counter 116 as "APC". Further, the instruction 403 is transferred from the IF stage 101 to the D stage 102 via the buffer 160, and the program counter 115 of the D stage 102 has the address “00000066” of the instruction 402.
H "is set as" DPC ". Further, the instruction 404 is fetched from the external memory to the IF stage 101, and the instruction code and instruction address of the instruction 404 are stored in the buffer 160. This state is shown in FIG. ).

【0127】Fステージ106 では、命令401 の処理が終
了すると、その処理結果はバッファ163 を経由してEコ
ード113 及びSコード114 としてEステージ107 へ転送
される。その際、Eステージ107 のプログラムカウンタ
118 には命令401 のアドレス”00000062H ”が”CPC ”
としてセットされる。また、次の命令402 がAステージ
103 からバッファ162 を経由してFステージ106 へ転送
され、プログラムカウンタ117 には命令402 のアドレ
ス”00000064H ”が”FPC ”としてセットされる。更
に、命令403 がDステージ102 からバッファ161 を経由
してAステージ103 へ転送され、プログラムカウンタ11
6 には命令403 のアドレス”00000066H ”が”APC ”と
してセットされる。更に、命令404 がIFステージ101 か
らバッファ160を経由してDステージ102 へ転送され、
Dステージ102 のプログラムカウンタ115 には命令404
のアドレス”00000068H ”が”DPC ”としてセットされ
る。更に、外部メモリから命令405 がIFステージ101 に
フェッチされ、バッファ160 にその命令404 の命令コー
ド及び命令アドレスが記憶される。この状態が図12(d)
に示されている。
In the F stage 106, when the processing of the instruction 401 is completed, the processing result is transferred to the E stage 107 as the E code 113 and the S code 114 via the buffer 163. At that time, the program counter of the E stage 107
In 118, the address “00000062H” of instruction 401 is “CPC”
Is set as. Also, the next instruction 402 is the A stage
The data is transferred from 103 to the F stage 106 via the buffer 162, and the address "00000064H" of the instruction 402 is set in the program counter 117 as "FPC". Further, the instruction 403 is transferred from the D stage 102 to the A stage 103 via the buffer 161, and the program counter 11
The address “00000066H” of the instruction 403 is set to 6 as “APC”. Further, the instruction 404 is transferred from the IF stage 101 to the D stage 102 via the buffer 160,
The instruction 404 is sent to the program counter 115 of the D stage 102.
The address "00000068H" is set as "DPC". Further, the instruction 405 is fetched from the external memory to the IF stage 101, and the instruction code and instruction address of the instruction 404 are stored in the buffer 160. This state is shown in Fig. 12 (d).
Is shown in.

【0128】Eステージ107 では、命令401 の処理が終
了すると、命令401 がメモリ書き込みを伴うので、スト
アバッファ120 に書き込みデータを転送する。その際、
ストアバッファ120 のプログラムカウンタ119 には命令
401 のアドレス”00000062H ”が”SPC ”としてセット
される。また、次の命令402 がFステージ106 からバッ
ファ163 を経由してEステージ107 へ転送され、Eステ
ージ107 のプログラムカウンタ118 には命令402 のアド
レス”00000064H ”が”CPC ”としてセットされる。更
に、命令403 がAステージ103 からバッファ162 を経由
してFステージ106 へ転送され、プログラムカウンタ11
7 には命令403 のアドレス”00000066H ”が”FPC ”と
してセットされる。更に、命令404 がDステージ102 か
らバッファ161 を経由してAステージ103 へ転送され、
プログラムカウンタ116 には命令404 のアドレス”0000
0068H ”が”APC ”としてセットされる。更に、命令40
5 がIFステージ101 からバッファ160 を経由してDステ
ージ102 へ転送され、Dステージ102 のプログラムカウ
ンタ115 には命令405 のアドレス”00000068A ”が”DP
C ”としてセットされる。更に、外部メモリから命令40
6 がIFステージ101 にフェッチされ、バッファ160 にそ
の命令404 の命令コード及び命令アドレスが記憶され
る。この状態が図12(e) に示されている。
At the E stage 107, when the processing of the instruction 401 is completed, since the instruction 401 involves memory writing, the write data is transferred to the store buffer 120. that time,
Instructions are stored in the program counter 119 of the store buffer 120.
The address “00000062H” of 401 is set as “SPC”. Further, the next instruction 402 is transferred from the F stage 106 to the E stage 107 via the buffer 163, and the address "00000064H" of the instruction 402 is set in the program counter 118 of the E stage 107 as "CPC". Further, the instruction 403 is transferred from the A stage 103 via the buffer 162 to the F stage 106, and the program counter 11
The address “00000066H” of the instruction 403 is set to 7 as “FPC”. Further, the instruction 404 is transferred from the D stage 102 to the A stage 103 via the buffer 161.
The address 0000 of instruction 404 is stored in the program counter 116.
0068H ”is set as“ APC ”.
5 is transferred from the IF stage 101 to the D stage 102 via the buffer 160, and the address “00000068A” of the instruction 405 is stored in the DP counter of the program counter 115 of the D stage 102.
Set as C ". In addition, the instruction 40
6 is fetched into the IF stage 101, and the instruction code and instruction address of the instruction 404 are stored in the buffer 160. This state is shown in Fig. 12 (e).

【0129】ストアバッファ120 では、PCブレークポイ
ンタ150 に予め記憶されている長時間処理命令のアドレ
スとプログラムカウンタ119 に”SPC ”として記憶され
た値とを比較し、この場合は一致するので検出信号136
を前段の各ステージ101, 102, 103, 106の電源供給選択
回路141, 142,143, 144 へ出力する。これにより、電源
供給配線2から各ステージ101, 102, 103, 106への電源
の供給が停止される。これにより、各ステージ101, 10
2, 103, 106はその動作を停止するが、バッファ160, 16
1, 162, 163への給電は停止されないのでその時点の記
憶内容、具体的にはその時点の各ステージ101, 102, 10
3, 106の処理結果を失うことはない。
In the store buffer 120, the address of the long-time processing instruction previously stored in the PC break pointer 150 is compared with the value stored as "SPC" in the program counter 119. In this case, the detection signal is detected. 136
To the power supply selection circuits 141, 142, 143, 144 of the preceding stages 101, 102, 103, 106. As a result, the power supply from the power supply wiring 2 to each stage 101, 102, 103, 106 is stopped. As a result, each stage 101, 10
2, 103, 106 stop working, but buffers 160, 16
Since the power supply to 1, 162, 163 is not stopped, the stored contents at that time, specifically each stage 101, 102, 10 at that time
You won't lose the result of 3,106.

【0130】ストアバッファ120 は命令401 の処理が終
了すると、処理終了信号138 を発生して各電源供給選択
回路141, 142,143, 144 に与える。これにより、電源供
給配線2から各ステージ101, 102, 103, 106への電源の
供給が再開される。この電源の供給が再開された時点
で、各ステージ101, 102, 103, 106の処理結果のデータ
を記憶しているバッファ160,161, 162, 163 の内容が次
段のステージ102, 103, 106, 107へ送られるので、それ
ぞれのステージ102, 103, 106, 107ではそれらのデータ
に従って以降の処理を再開する。
When the processing of the instruction 401 is completed, the store buffer 120 generates a processing completion signal 138 and supplies it to each power supply selection circuit 141, 142, 143, 144. As a result, the supply of power from the power supply wiring 2 to each stage 101, 102, 103, 106 is restarted. When the power supply is restarted, the contents of the buffers 160, 161, 162, 163 storing the processing result data of each stage 101, 102, 103, 106 are stored in the next stage 102, 103, 106, 107. Then, each stage 102, 103, 106, 107 restarts subsequent processing according to the data.

【0131】IFステージ101 は、バッファ160 に記憶さ
れている命令アドレスの次のアドレス、上述の例では命
令406 の命令アドレスがバッファ160 に記憶されている
のでその命令406 の次の命令407 のアドレス(0000006E
H) が命令フェッチアドレスレジスタ130 に与えられる
ので、その命令406 を外部メモリからフェッチして命令
処理を続行する。
The IF stage 101 stores the address next to the instruction address stored in the buffer 160, that is, the address of the instruction 407 next to the instruction 406 since the instruction address of the instruction 406 is stored in the buffer 160 in the above example. (0000006E
H) is given to the instruction fetch address register 130, the instruction 406 is fetched from the external memory and the instruction processing is continued.

【0132】以上のように、IFステージ101 の命令フェ
ッチアドレスレジスタ130 でデコードした命令が長時間
処理命令であることが検出可能な場合には、その命令を
Eステージ107 で処理中にそれより前段の各ステージ10
1, 102, 103, 106ではそれぞれの処理結果をそれぞれバ
ッファ160, 161, 162, 163に記憶させた状態で電源供給
配線2からの給電が停止される。従って、各ステージ10
1, 102, 103, 106が動作することがないため無駄な電力
消費が回避されると共に、処理の再開時に外部メモリか
ら無駄な命令フェッチを行うことなく、また電源の遮断
時までに各ステージ101, 102, 103, 106で処理した結果
をそのまま再使用して処理を再開することが出来る。
As described above, when it is possible to detect that the instruction decoded by the instruction fetch address register 130 of the IF stage 101 is a long-time processing instruction, the instruction is being processed by the E stage 107 while the instruction before it is being processed. Each stage 10
In 1, 102, 103, 106, the power supply from the power supply wiring 2 is stopped in a state in which the respective processing results are stored in the buffers 160, 161, 162, 163, respectively. Therefore, each stage 10
Since 1, 102, 103, 106 do not operate, unnecessary power consumption is avoided, unnecessary instruction fetch from external memory is not performed when processing is restarted, and each stage 101 , 102, 103, 106 can be reused as they are and the processing can be restarted.

【0133】なお、上記実施例ではEステージ107 に設
けられたアドレス比較器151 で長時間処理命令を検出す
るようにしているが、他のステージ101, 102, 103, 106
のいずれで長時間処理命令の検出を行うようにしてもほ
ぼ同様の効果を奏する。また、上記実施例では、長時間
処理命令のアドレスが予め判明しているのでアドレス比
較器151 により長時間処理命令のアドレスを検出してい
るが、命令をデコードした結果から長時間処理命令をす
る構成としてもよい。
In the above embodiment, the address comparator 151 provided in the E stage 107 detects the long-time processing instruction, but the other stages 101, 102, 103, 106.
In any of the above cases, the same effect can be obtained regardless of whether the long-time processing instruction is detected. Further, in the above embodiment, since the address of the long-time processing instruction is known in advance, the address of the long-time processing instruction is detected by the address comparator 151, but the long-time processing instruction is issued from the result of decoding the instruction. It may be configured.

【0134】[0134]

【発明の効果】以上に詳述したように本発明のデータ処
理装置の第1の発明によれば、特定のパイプライン処理
ステージでの処理に際して他の各パイプライン処理ステ
ージが待機状態になるような特定の命令がデコードされ
た時点で特定のパイプライン処理ステージより前段の各
パイプライン処理ステージへのクロックの供給が停止さ
れる。従って、特定の命令を特定のパイプライン処理ス
テージで処理している間は従来は待機状態になる各パイ
プライン処理ステージが動作しないために無駄な電力消
費が回避される。
As described above in detail, according to the first aspect of the data processing apparatus of the present invention, each pipeline processing stage is placed in a standby state during processing at a specific pipeline processing stage. When the specific instruction is decoded, the supply of the clock to each pipeline processing stage preceding the specific pipeline processing stage is stopped. Therefore, while the specific instruction is being processed in the specific pipeline processing stage, each pipeline processing stage that is conventionally in the standby state does not operate, so that unnecessary power consumption is avoided.

【0135】また、本発明のデータ処理装置の第2の発
明によれば、特定のパイプライン処理ステージでの処理
に際して他の各パイプライン処理ステージが待機状態に
なるような特定の命令がデコードされた時点で特定のパ
イプライン処理ステージより前段の各パイプライン処理
ステージへの給電が停止される。従って、特定の命令を
特定のパイプライン処理ステージで処理している間は従
来は待機状態になる各パイプライン処理ステージが動作
しないために無駄な電力消費が回避される。
Further, according to the second aspect of the data processing device of the present invention, a specific instruction that causes each of the other pipeline processing stages to be in a standby state is decoded during processing in the specific pipeline processing stage. At that point, power supply to each pipeline processing stage preceding the specific pipeline processing stage is stopped. Therefore, while the specific instruction is being processed in the specific pipeline processing stage, each pipeline processing stage that is conventionally in the standby state does not operate, so that unnecessary power consumption is avoided.

【0136】また、本発明のデータ処理装置の第3の発
明によれば、特定のパイプライン処理ステージでの処理
に際して他の各パイプライン処理ステージが待機状態に
なるような特定の命令のアドレスが検出された時点で特
定のパイプライン処理ステージより前段の各パイプライ
ン処理ステージへのクロックの供給が停止される。従っ
て、特定の命令を特定のパイプライン処理ステージで処
理している間は従来は待機状態になる各パイプライン処
理ステージが動作しないために無駄な電力消費が回避さ
れる。
Further, according to the third aspect of the data processor of the present invention, the address of a specific instruction that causes each of the other pipeline processing stages to be in a standby state during processing in a specific pipeline processing stage is set. At the time of detection, supply of a clock to each pipeline processing stage preceding the specific pipeline processing stage is stopped. Therefore, while the specific instruction is being processed in the specific pipeline processing stage, each pipeline processing stage that is conventionally in the standby state does not operate, so that unnecessary power consumption is avoided.

【0137】また、本発明のデータ処理装置の第4の発
明によれば、特定のパイプライン処理ステージでの処理
に際して他の各パイプライン処理ステージが待機状態に
なるような特定の命令のアドレスが検出された時点で特
定のパイプライン処理ステージより前段の各パイプライ
ン処理ステージへの給電が停止される。従って、特定の
命令を特定のパイプライン処理ステージで処理している
間は従来は待機状態になる各パイプライン処理ステージ
が動作しないために無駄な電力消費が回避される。
According to the fourth aspect of the data processor of the present invention, the address of a specific instruction that causes each of the other pipeline processing stages to be in a standby state during processing in a specific pipeline processing stage is set. At the time of detection, power supply to each pipeline processing stage preceding the specific pipeline processing stage is stopped. Therefore, while the specific instruction is being processed in the specific pipeline processing stage, each pipeline processing stage that is conventionally in the standby state does not operate, so that unnecessary power consumption is avoided.

【0138】また、本発明のデータ処理装置の第5の発
明によれば、特定のパイプライン処理ステージでの処理
に際して他の各パイプライン処理ステージが待機状態に
なるような特定の命令がデコードされた時点で特定のパ
イプライン処理ステージより前段の各パイプライン処理
ステージでの処理結果が静的記憶手段に保持された状態
で各パイプライン処理ステージ及び各静的記憶手段への
クロックの供給が停止される。従って、特定の命令を特
定のパイプライン処理ステージで処理している間は従来
は待機状態になる各パイプライン処理ステージが動作し
ないために無駄な電力消費が回避されると共に、処理再
開時には各静的記憶手段に保持されている内容に従って
直ちにパイプライン処理が再開される。
Further, according to the fifth aspect of the data processing device of the present invention, a specific instruction that causes each of the other pipeline processing stages to be in a standby state is decoded during processing in the specific pipeline processing stage. At that point, the supply of the clock to each pipeline processing stage and each static storage means is stopped while the processing result in each pipeline processing stage preceding the specific pipeline processing stage is held in the static storage means. To be done. Therefore, while processing a specific instruction in a specific pipeline processing stage, wasteful power consumption is avoided because each pipeline processing stage that is conventionally in the standby state does not operate, and each static processing is performed when processing is restarted. The pipeline processing is immediately restarted according to the contents held in the dynamic storage means.

【0139】また、本発明のデータ処理装置の第6の発
明によれば、特定のパイプライン処理ステージでの処理
に際して他の各パイプライン処理ステージが待機状態に
なるような特定の命令のアドレスが検出された時点で特
定のパイプライン処理ステージより前段の各パイプライ
ン処理ステージでの処理結果が静的記憶手段に保持され
た状態で各パイプライン処理ステージへの給電が停止さ
れる。従って、特定の命令を特定のパイプライン処理ス
テージで処理している間は従来は待機状態になる各パイ
プライン処理ステージが動作しないために無駄な電力消
費が回避されると共に、処理再開時には各静的記憶手段
に保持されている内容に従って直ちにパイプライン処理
が再開される。
According to the sixth aspect of the data processor of the present invention, the address of a specific instruction that causes each of the other pipeline processing stages to be in a standby state during processing in a specific pipeline processing stage is set. At the time of detection, power supply to each pipeline processing stage is stopped while the processing result in each pipeline processing stage preceding the specific pipeline processing stage is held in the static storage means. Therefore, while processing a specific instruction in a specific pipeline processing stage, wasteful power consumption is avoided because each pipeline processing stage that is conventionally in the standby state does not operate, and each static processing is performed when processing is restarted. The pipeline processing is immediately restarted according to the contents held in the dynamic storage means.

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

【図1】本発明に係るデータ処理装置の第1の発明の一
実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a first invention of a data processing device according to the present invention.

【図2】本発明に係るデータ処理装置の第1の発明の一
実施例の動作説明のための各パイプライン処理段階で各
ステージにおいて処理される命令の状態を示す模式図で
ある。
FIG. 2 is a schematic diagram showing a state of an instruction processed in each pipeline processing stage for explaining the operation of the first embodiment of the data processing apparatus according to the present invention.

【図3】本発明に係るデータ処理装置の第2の発明の一
実施例の構成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of an embodiment of a second invention of the data processing apparatus according to the present invention.

【図4】本発明に係るデータ処理装置の第2の発明の一
実施例の動作説明のための各パイプライン処理段階で各
ステージにおいて処理される命令の状態を示す模式図で
ある。
FIG. 4 is a schematic diagram showing a state of an instruction processed in each pipeline processing stage for explaining the operation of the second embodiment of the data processing apparatus according to the present invention.

【図5】本発明に係るデータ処理装置の第3の発明の一
実施例の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an embodiment of a third invention of the data processing device according to the present invention.

【図6】本発明に係るデータ処理装置の第3の発明の一
実施例の動作説明のための各パイプライン処理段階で各
ステージにおいて処理される命令の状態を示す模式図で
ある。
FIG. 6 is a schematic diagram showing a state of an instruction processed in each stage in each pipeline processing stage for explaining the operation of the third embodiment of the data processor according to the present invention.

【図7】本発明に係るデータ処理装置の第4の発明の一
実施例の構成を示すブロック図である。
FIG. 7 is a block diagram showing the configuration of an embodiment of a fourth invention of the data processing device according to the present invention.

【図8】本発明に係るデータ処理装置の第4の発明の一
実施例の動作説明のための各パイプライン処理段階で各
ステージにおいて処理される命令の状態を示す模式図で
ある。
FIG. 8 is a schematic diagram showing a state of an instruction processed in each pipeline processing stage for explaining the operation of the fourth embodiment of the data processing apparatus according to the present invention.

【図9】本発明に係るデータ処理装置の第5の発明の一
実施例の構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of an embodiment of a fifth invention of the data processing apparatus according to the present invention.

【図10】本発明に係るデータ処理装置の第5の発明の
一実施例の動作説明のための各パイプライン処理段階で
各ステージにおいて処理される命令の状態を示す模式図
である。
FIG. 10 is a schematic diagram showing a state of an instruction processed in each stage in each pipeline processing stage for explaining the operation of the fifth embodiment of the data processor according to the present invention.

【図11】本発明に係るデータ処理装置の第6の発明の
一実施例の構成を示すブロック図である。
FIG. 11 is a block diagram showing the configuration of an embodiment of a sixth invention of the data processing apparatus according to the present invention.

【図12】本発明に係るデータ処理装置の第6の発明の
一実施例の動作説明のための各パイプライン処理段階で
各ステージにおいて処理される命令の状態を示す模式図
である。
FIG. 12 is a schematic diagram showing a state of an instruction processed in each pipeline processing stage for explaining the operation of the sixth embodiment of the data processing apparatus according to the present invention.

【図13】従来のデータ処理装置の一構成例を示すブロ
ック図である。
FIG. 13 is a block diagram showing a configuration example of a conventional data processing device.

【図14】本発明及び従来のデータ処理装置によりパイ
プライン処理される命令列の一例を示す模式図である。
FIG. 14 is a schematic diagram showing an example of an instruction string pipelined by the data processing device of the present invention and the conventional data processing device.

【図15】従来のデータ処理装置の動作説明のための各
パイプライン処理段階で各ステージにおいて処理される
命令の状態を示す模式図である。
FIG. 15 is a schematic diagram showing a state of an instruction processed in each stage in each pipeline processing stage for explaining the operation of the conventional data processing device.

【符号の説明】[Explanation of symbols]

1 クロック供給配線 2 電源供給配線 101 IFステージ 102 Dステージ 103 Aステージ 106 Fステージ 107 Eステージ 115 プログラムカウンタ 116 プログラムカウンタ 117 プログラムカウンタ 118 プログラムカウンタ 119 プログラムカウンタ 120 ストアバッファ 130 命令フェッチアドレスレジスタ 131 クロック供給選択回路 132 クロック供給選択回路 133 クロック供給選択回路 134 クロック供給選択回路 135 命令デコード部 136 次命令フェッチアドレス生成部 141 電源供給選択回路 142 電源供給選択回路 143 電源供給選択回路 144 電源供給選択回路 150 PCブレークポインタ 151 アドレス比較器 160 バッファ 161 バッファ 162 バッファ 163 バッファ 1 Clock supply wiring 2 Power supply wiring 101 IF stage 102 D stage 103 A stage 106 F stage 107 E stage 115 Program counter 116 Program counter 117 Program counter 118 Program counter 119 Program counter 120 Store buffer 130 Instruction fetch address register 131 Clock supply selection Circuit 132 Clock supply selection circuit 133 Clock supply selection circuit 134 Clock supply selection circuit 135 Instruction decode unit 136 Next instruction fetch address generation unit 141 Power supply selection circuit 142 Power supply selection circuit 143 Power supply selection circuit 144 Power supply selection circuit 150 PC break Pointer 151 Address comparator 160 Buffer 161 Buffer 162 Buffer 163 Buffer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 外部からフェッチした命令を、それぞれ
がクロック供給配線から供給されるクロックに同期して
動作する複数の処理ステージでパイプライン処理するデ
ータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令が処理されていることを検出する特定命令検出手段
と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記クロック供給配線から前記各処理ステージへのクロ
ックの供給を行うか、または停止するかを選択するクロ
ック供給選択手段と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段とを備え、 前記クロック供給選択手段は、前記特定命令検出手段が
特定の命令が処理されていることを検出した場合に待機
状態になっている処理ステージへのクロックの供給を停
止し、前記特定の処理ステージでの処理が終了した場合
に前記各処理ステージへのクロックの供給を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
1. A data processing device for pipeline processing an instruction fetched from the outside by a plurality of processing stages, each of which operates in synchronization with a clock supplied from a clock supply wiring, wherein: A specific instruction detecting means for detecting that a specific instruction in which another processing stage is in a standby state during processing in a specific processing stage is being processed, and a next instruction for calculating the address of the instruction next to the instruction being processed. Address calculation means, clock supply selection means for selecting whether to supply or stop a clock from the clock supply wiring to each processing stage, and an instruction for storing the address of an instruction to be fetched next from the outside. Fetching address storage means, the clock supply selecting means, When the processing is detected, the supply of the clock to the processing stage in the standby state is stopped, and when the processing in the specific processing stage is completed, the clock is supplied to each of the processing stages. The next-instruction-address calculating means is configured to give the address of the next instruction to the instruction-fetch-address storing means to fetch the next instruction when the processing in the specific processing stage is completed. And data processing device.
【請求項2】 外部からフェッチした命令を、それぞれ
が電源供給配線から給電されて動作する複数の処理ステ
ージでパイプライン処理するデータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令が処理されていることを検出する特定命令検出手段
と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記電源供給配線から前記各処理ステージへの給電を行
うか、または停止するかを選択する電源供給選択手段
と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段とを備え、 前記電源供給選択手段は、前記特定命令検出手段が特定
の命令が処理されていることを検出した場合に待機状態
になっている処理ステージへの給電を停止し、前記特定
の処理ステージでの処理が終了した場合に前記各処理ス
テージへの給電を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
2. A data processing device for pipeline-processing an instruction fetched from the outside in a plurality of processing stages, each of which operates by being supplied with power from a power supply wiring, in a specific processing stage among the plurality of processing stages. A specific instruction detecting means for detecting that a specific instruction in which the other processing stage is in a waiting state during the processing of 1), and a next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, Power supply selection means for selecting whether to supply power to the processing stages from the power supply wiring or to stop the processing stage, and instruction fetch address storage means for storing the address of an instruction to be fetched next from the outside The power supply selecting means is put in a standby state when the specific instruction detecting means detects that a specific instruction is processed. Stopping the power supply to the processing stage that is in progress, and when the processing in the specific processing stage is completed, power is supplied to each processing stage, the next instruction address calculation means, A data processing device, characterized in that, when the processing is completed, the address of the next instruction is given to the instruction fetch address storage means to fetch the next instruction.
【請求項3】 外部からフェッチした命令を、それぞれ
がクロック供給配線から供給されるクロックに同期して
動作する複数の処理ステージでパイプライン処理するデ
ータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令のアドレスを予め記憶する特定命令アドレス記憶手
段と、 処理中の命令のアドレスと前記特定命令アドレス記憶手
段に記憶されているアドレスとを比較する比較手段と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記クロック供給配線から前記各処理ステージへのクロ
ックの供給を行うか、または停止するかを選択するクロ
ック供給選択手段と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段とを備え、 前記クロック供給選択手段は、前記特定命令検出手段が
特定の命令が処理されていることを検出した場合に待機
状態になっている処理ステージへのクロックの供給を停
止し、前記特定の処理ステージでの処理が終了した場合
に前記各処理ステージへのクロックの供給を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
3. A data processing device for pipeline-processing an instruction fetched from the outside by a plurality of processing stages each operating in synchronization with a clock supplied from a clock supply wiring, wherein: A specific instruction address storage means for storing in advance the address of a specific instruction in which another processing stage is in a standby state during processing in a specific processing stage; and an address of the instruction being processed and the specific instruction address storage means. Means for comparing the address of the next instruction of the instruction being processed, a next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, and a clock is supplied from the clock supply wiring to each processing stage or stopped. A clock supply selection means for selecting whether to execute, and the address of the instruction to be fetched next from the outside are stored. An instruction fetch address storage means, wherein the clock supply selection means supplies a clock to a processing stage in a standby state when the specific instruction detection means detects that a specific instruction is processed. Stop, supplying a clock to each processing stage when the processing in the specific processing stage is completed, the next instruction address calculation means, when the processing in the specific processing stage is completed, A data processing device characterized in that the address of the next instruction is given to the instruction fetch address storage means to fetch the next instruction.
【請求項4】 外部からフェッチした命令を、それぞれ
が電源供給配線から給電されて動作する複数の処理ステ
ージでパイプライン処理するデータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令のアドレスを予め記憶する特定命令アドレス記憶手
段と、 処理中の命令のアドレスと前記特定命令アドレス記憶手
段に記憶されているアドレスとを比較する比較手段と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記電源供給配線から前記各処理ステージへの給電を行
うか、または停止するかを選択する電源供給選択手段
と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段とを備え、 前記電源供給選択手段は、前記特定命令検出手段が特定
の命令が処理されていることを検出した場合に待機状態
になっている処理ステージへの給電を停止し、前記特定
の処理ステージでの処理が終了した場合に前記各処理ス
テージへの給電を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
4. A data processing device for pipeline processing an instruction fetched from the outside by a plurality of processing stages each operating by being supplied with power from a power supply wiring, in a specific processing stage among the plurality of processing stages. In comparison with the address of the instruction being processed and the address stored in the specific instruction address storage means, the address of the specific instruction that stores in advance the address of the specific instruction in which the other processing stage is in the standby state in the processing Comparing means, a next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, and a power supply for selecting whether to supply power to the processing stages from the power supply wiring or to stop the power supply. A selection means and an instruction fetch address storage means for storing the address of an instruction to be fetched next from the outside, The power supply selection means stops power supply to a processing stage in a standby state when the specific instruction detection means detects that a specific instruction is processed, and performs processing in the specific processing stage. Power is supplied to each processing stage when the processing is completed, and the next instruction address calculation means gives the address of the next instruction to the instruction fetch address storage means when processing at the specific processing stage is completed. The data processing device is characterized in that the next instruction is fetched.
【請求項5】 外部からフェッチした命令を、それぞれ
がクロック供給配線から供給されるクロックに同期して
動作する複数の処理ステージでパイプライン処理するデ
ータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令が処理されていることを検出する特定命令検出手段
と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記クロック供給配線から前記各処理ステージへのクロ
ックの供給を行うか、または停止するかを選択するクロ
ック供給選択手段と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段と、 前記各処理ステージ内に設けられ、それぞれの処理結果
を記憶する静的記憶手段とを備え、 前記クロック供給選択手段は、前記特定命令検出手段が
特定の命令が処理されていることを検出した場合に待機
状態になっている処理ステージへのクロックの供給を停
止し、前記特定の処理ステージでの処理が終了した場合
に前記各処理ステージへのクロックの供給を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
5. A data processing device for pipeline processing an instruction fetched from the outside by a plurality of processing stages each operating in synchronization with a clock supplied from a clock supply wiring, wherein: A specific instruction detecting means for detecting that a specific instruction in which another processing stage is in a standby state during processing in a specific processing stage is being processed, and a next instruction for calculating the address of the instruction next to the instruction being processed. Address calculation means, clock supply selection means for selecting whether to supply or stop a clock from the clock supply wiring to each processing stage, and an instruction for storing the address of an instruction to be fetched next from the outside. Fetch address storage means and static storage provided in each processing stage for storing the processing result of each The clock supply selecting means stops the supply of the clock to the processing stage in the standby state when the specific instruction detecting means detects that the specific instruction is processed, and A clock is supplied to each of the processing stages when the processing in the specific processing stage is completed, and the next instruction address calculation means is configured to address the next instruction when the processing in the specific processing stage is completed. Is provided to the instruction fetch address storage means to fetch the next instruction.
【請求項6】 外部からフェッチした命令を、それぞれ
が電源供給配線から給電されて動作する複数の処理ステ
ージでパイプライン処理するデータ処理装置において、 前記複数の処理ステージの内の特定の処理ステージでの
処理に際して他の処理ステージが待機状態になる特定の
命令が処理されていることを検出する特定命令検出手段
と、 処理中の命令の次の命令のアドレスを計算する次命令ア
ドレス計算手段と、 前記電源供給配線から前記各処理ステージへの給電を行
うか、または停止するかを選択する電源供給選択手段
と、 外部から次にフェッチすべき命令のアドレスを記憶する
命令フェッチアドレス記憶手段と、 前記各処理ステージとは別に常時給電され、それぞれの
処理結果を記憶する静的記憶手段とを備え、 前記電源供給選択手段は、前記特定命令検出手段が特定
の命令が処理されていることを検出した場合に待機状態
になっている処理ステージへの給電を停止し、前記特定
の処理ステージでの処理が終了した場合に前記各処理ス
テージへの給電を行い、 前記次命令アドレス計算手段は、前記特定の処理ステー
ジでの処理が終了した場合に、次命令のアドレスを前記
命令フェッチアドレス記憶手段に与えて次命令をフェッ
チさせるべくなしてあることを特徴とするデータ処理装
置。
6. A data processing device for pipeline-processing an instruction fetched from the outside in a plurality of processing stages each of which operates by being supplied with power from a power supply wiring, in a specific processing stage among the plurality of processing stages. A specific instruction detecting means for detecting that a specific instruction in which the other processing stage is in a waiting state during the processing of 1), and a next instruction address calculating means for calculating the address of the instruction next to the instruction being processed, A power supply selection means for selecting whether to supply power to the processing stages from the power supply wiring or stop the power supply; and an instruction fetch address storage means for storing an address of an instruction to be fetched next from the outside, Power is supplied separately from each processing stage at all times, and static storage means for storing each processing result is provided. When the specific instruction detecting unit detects that a specific instruction is processed, the stage stops supplying power to the processing stage in the standby state, and when the processing in the specific processing stage is completed. To each of the processing stages, the next instruction address calculation means, when the processing in the specific processing stage is completed, supplies the address of the next instruction to the instruction fetch address storage means to output the next instruction. A data processing device characterized by being made to fetch.
JP5081910A 1993-04-08 1993-04-08 Data processor Pending JPH06295243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5081910A JPH06295243A (en) 1993-04-08 1993-04-08 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5081910A JPH06295243A (en) 1993-04-08 1993-04-08 Data processor

Publications (1)

Publication Number Publication Date
JPH06295243A true JPH06295243A (en) 1994-10-21

Family

ID=13759607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5081910A Pending JPH06295243A (en) 1993-04-08 1993-04-08 Data processor

Country Status (1)

Country Link
JP (1) JPH06295243A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5771376A (en) * 1995-10-06 1998-06-23 Nippondenso Co., Ltd Pipeline arithmetic and logic system with clock control function for selectively supplying clock to a given unit
WO2002063452A1 (en) * 2001-02-07 2002-08-15 Qualcomm Incorporated Method and apparatus for applying clock signals to the processor of mobile subscriber station to manage power consumption
KR100452174B1 (en) * 1995-06-27 2005-01-05 코닌클리케 필립스 일렉트로닉스 엔.브이. Pipeline data processing circuit
US6874098B2 (en) 2000-12-01 2005-03-29 Sharp Kabushiki Kaisha Semiconductor integrated circuit
EP1548574A1 (en) * 2002-09-30 2005-06-29 Sony Corporation Information processing device, method, and program
US7346723B2 (en) 2004-05-14 2008-03-18 Samsung Electronics Co., Ltd. Slave devices and methods for operating the same
JP2010020598A (en) * 2008-07-11 2010-01-28 Univ Of Tsukuba Network system and power control method in network system
WO2018097242A1 (en) * 2016-11-25 2018-05-31 国立大学法人筑波大学 Networking system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100452174B1 (en) * 1995-06-27 2005-01-05 코닌클리케 필립스 일렉트로닉스 엔.브이. Pipeline data processing circuit
US5771376A (en) * 1995-10-06 1998-06-23 Nippondenso Co., Ltd Pipeline arithmetic and logic system with clock control function for selectively supplying clock to a given unit
US6874098B2 (en) 2000-12-01 2005-03-29 Sharp Kabushiki Kaisha Semiconductor integrated circuit
WO2002063452A1 (en) * 2001-02-07 2002-08-15 Qualcomm Incorporated Method and apparatus for applying clock signals to the processor of mobile subscriber station to manage power consumption
EP1548574A1 (en) * 2002-09-30 2005-06-29 Sony Corporation Information processing device, method, and program
EP1548574A4 (en) * 2002-09-30 2007-09-26 Sony Corp Information processing device, method, and program
US7493508B2 (en) 2002-09-30 2009-02-17 Sony Corporation Information processing device, method, and program
US7346723B2 (en) 2004-05-14 2008-03-18 Samsung Electronics Co., Ltd. Slave devices and methods for operating the same
JP2010020598A (en) * 2008-07-11 2010-01-28 Univ Of Tsukuba Network system and power control method in network system
WO2018097242A1 (en) * 2016-11-25 2018-05-31 国立大学法人筑波大学 Networking system
JPWO2018097242A1 (en) * 2016-11-25 2019-11-21 国立大学法人 筑波大学 Networking system
US11233808B2 (en) 2016-11-25 2022-01-25 University Of Tsukuba Networking system

Similar Documents

Publication Publication Date Title
US6430674B1 (en) Processor executing plural instruction sets (ISA's) with ability to have plural ISA's in different pipeline stages at same time
EP1241567B1 (en) Method and apparatus for executing coprocessor instructions
JPH1021074A (en) Interruption control system, processor, and computer system
JPH06295243A (en) Data processor
JP3212213B2 (en) Data processing device
JP3088129B2 (en) Microprocessor
US20030084272A1 (en) Handling problematic events in a data processing apparatus
JPH1196006A (en) Information processor
US5784606A (en) Method and system in a superscalar data processing system for the efficient handling of exceptions
JP3082944B2 (en) Pipeline processing equipment
JP2536726B2 (en) Microprocessor
JPH03175548A (en) Microprocessor and address control system
JP2901247B2 (en) Discharge control method
JPH06324861A (en) System and method for controlling cpu
JP3414579B2 (en) Programmable controller
JPH0773034A (en) Information processor
JPH0540629A (en) Information processor
JP3251148B2 (en) Pipeline data processing device
KR19980052331A (en) How to Control Cache Memory on Processors
JP2545594B2 (en) Operand data prefetching method
JP2002229776A (en) Data processor for executing multiple sets of instructions
JP2761324B2 (en) High-speed processing method
JPH01258031A (en) Data processor
JPS6221130B2 (en)
JPH11288378A (en) Data processor provided with function for protecting non-maskable interruption