[go: up one dir, main page]

JPH06161778A - Multiflow instruction control method and instruction processing device - Google Patents

Multiflow instruction control method and instruction processing device

Info

Publication number
JPH06161778A
JPH06161778A JP4317474A JP31747492A JPH06161778A JP H06161778 A JPH06161778 A JP H06161778A JP 4317474 A JP4317474 A JP 4317474A JP 31747492 A JP31747492 A JP 31747492A JP H06161778 A JPH06161778 A JP H06161778A
Authority
JP
Japan
Prior art keywords
instruction
flow
processing
signal
control method
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
JP4317474A
Other languages
Japanese (ja)
Inventor
Youzou Nakayama
陽象 中山
Sukehiro Ootsuka
左洋 大塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
PFU Ltd
Original Assignee
Fujitsu Ltd
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, PFU Ltd filed Critical Fujitsu Ltd
Priority to JP4317474A priority Critical patent/JPH06161778A/en
Publication of JPH06161778A publication Critical patent/JPH06161778A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Multi Processors (AREA)

Abstract

(57)【要約】 【目的】 ハードワイヤード制御方法を用いた命令処理
装置におけるマルチフロー命令の制御方法に関し、ハー
ドワイヤード制御方式の命令処理装置でシステム制御命
令等の複雑な処理を行う場合には、単純な命令の組み合
わせによるシュミレート(模擬)が必要となり、オーバ
ヘッドが生じていた問題の解決を目的とする。 【構成】 命令の1フロー実行毎にカウントアップし、
最終フローの実行で0に戻るマルチフローカウンタ(M
FC)11と、そのカウント値と命令のオペコードのデ
コード信号により、実行するフローの処理内容を決定す
るデコーダ(DC2,DC3)を設け、デコーダ(DC
2,DC3)のデコード結果に従い、1フローずつ処理
を実行するよう構成する。
(57) [Abstract] [Purpose] Regarding a control method of a multi-flow instruction in an instruction processing apparatus using a hard-wired control method, in the case of performing a complicated processing such as a system control instruction in an instruction processing apparatus of a hard-wired control system. , The simulation (simulation) by the combination of simple instructions is required, and the purpose is to solve the problem that the overhead has occurred. [Structure] Count up every execution of one instruction flow,
Multi-flow counter (M
FC) 11 and decoders (DC2, DC3) that determine the processing contents of the flow to be executed by the count value and the decode signal of the operation code of the instruction are provided.
2, DC3), the processing is executed one by one according to the decoding result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、RISC(Reduc
ed Instruction Set Comput
er:縮小命令セットコンピュータ)アーキテクチャを
用いた命令処理装置に関し、特にハードワイヤード制御
方式を用いた命令処理装置における、マルチフロー命令
の制御方法及び該方法を用いた命令処理装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to RISC (Reduc).
ed Instruction Set Comput
The present invention relates to an instruction processing device using an er (reduced instruction set computer) architecture, and more particularly to a method of controlling a multiflow instruction in an instruction processing device using a hardwired control system and an instruction processing device using the method.

【0002】[0002]

【従来の技術】近年、複雑な命令を削除して、全命令を
シングルフローで実行することにより性能を向上しよう
とする、RISCアーキテクチャに代表されるハードワ
イヤード制御方式の命令処理装置の台頭が著しい。
2. Description of the Related Art In recent years, a hard-wired control type instruction processing apparatus represented by the RISC architecture has been remarkably risen, which attempts to improve performance by deleting complicated instructions and executing all the instructions in a single flow. .

【0003】しかしながら、逆に複雑な命令、例えば複
数個のプロセッサを1つのバスに接続するマルチプロセ
ッサ構成の場合のシステム制御命令等(例えば、共有メ
モリへのアクセス命令等)については、RISCアーキ
テクチャを採用した命令処理装置ではそのままではサポ
ートできないことになる。
However, on the contrary, for a complicated instruction, for example, a system control instruction in the case of a multiprocessor configuration in which a plurality of processors are connected to one bus (for example, an instruction to access a shared memory), the RISC architecture is used. The adopted instruction processor cannot support it as it is.

【0004】従って、このような複雑命令をサポートし
ようとすると、ソフトウエア上でそれらの命令を、あた
かもその命令がサポートされているかのように、単純な
命令を組み合わせてシュミレート(模擬)する必要が生
じる。
Therefore, in order to support such a complicated instruction, it is necessary to simulate those instructions in software by combining them with a simple instruction as if the instruction is supported. Occurs.

【0005】一方、従来のCISC(Complex
Instruction SetComputer)ア
ーキテクチャの命令処理装置においては、上記のような
複雑な命令は、マイクロ命令の組合せによるマイクロプ
ログラム制御で実現され、マイクロプログラムの内容に
より種々の複雑な命令に容易に対応できるように構成さ
れている。
On the other hand, the conventional CISC (Complex)
In the instruction processing device of the Instruction Set Computer) architecture, the complicated instructions as described above are realized by microprogram control by a combination of microinstructions, and are configured so that various complicated instructions can be easily accommodated depending on the contents of the microprogram. Has been done.

【0006】[0006]

【発明が解決しようとする課題】以上説明したように、
RISCアーキテクチャの命令処理装置において、シス
テム制御命令等の複雑な処理を行う場合には、単純な命
令を組み合わせてシュミレート(模擬)する方法を用い
ている。しかし、この方法では、シュミレートのために
オーバヘッドが生じる場合が出てくる。また、CISI
アーキテクチャで用いられているマイクロプログラム制
御機構を内部に別に設けることは、ハードウエアの増加
と設計の複雑さを増すことになり困難である。
As described above,
In the RISC architecture instruction processing device, when performing complicated processing such as system control instructions, a method of simulating by combining simple instructions is used. However, in this method, overhead may occur due to simulation. Also, CISI
It is difficult to separately provide the microprogram control mechanism used in the architecture, because it increases the hardware and the design complexity.

【0007】本発明は、上記問題点に鑑みなされたもの
であり、ハードワイヤード制御方式の命令処理装置にお
いて、ソフトウエアによるシミュレートや、マイクロプ
ログラム制御を使用することなく、マルチフロー命令を
効果的に処理し得るマルチフロー命令の制御方法及び該
方法を用いた命令処理装置を提供することを目的とす
る。
The present invention has been made in view of the above problems, and in a hard-wired control type instruction processing device, it is possible to effectively execute a multi-flow instruction without using software simulation or microprogram control. It is an object of the present invention to provide a method for controlling a multi-flow instruction that can be processed in an arbitrary manner and an instruction processing device using the method.

【0008】[0008]

【課題を解決するための手段】本発明によれば、上述の
目的は前記特許請求の範囲に記載した手段により達成さ
れる。
According to the invention, the above mentioned objects are achieved by means of the patent claims.

【0009】すなわち、請求項1記載の発明について
は、ハードワイヤード制御方式の命令処理装置におい
て、マルチフロー命令を実行する際に、命令の1フロー
実行毎にカウントアップされ最終フローの実行で初期状
態に戻されるフロー計数手段と、上記フロー計数手段の
計数値と命令のデコード信号により命令の処理内容を決
定する制御手段と、プログラムカウンタの更新を最終フ
ローが実行された時にのみ行うPC制御手段とを用いて
マルチフロー命令の処理を行うマルチフロー命令制御方
法である。
That is, according to the first aspect of the present invention, in the instruction processing device of the hardwired control system, when executing a multiflow instruction, the count is incremented every execution of one instruction, and the initial state is obtained by executing the final flow. Flow control means, the control means for determining the processing contents of the instruction by the count value of the flow counting means and the decode signal of the instruction, and the PC control means for updating the program counter only when the final flow is executed. Is a multiflow instruction control method for processing a multiflow instruction by using.

【0010】請求項2記載の発明については、請求項1
記載のマルチフロー命令制御方法を用いた命令処理装置
である。
According to the invention of claim 2, claim 1
An instruction processing device using the described multi-flow instruction control method.

【0011】[0011]

【作用】請求項1の構成のマルチフロー命令制御方法に
おいては、ハードワイヤード制御方式を用いた命令処理
装置で、CS命令等のマルチフロー命令を実行するため
に、命令の1フロー実行毎にカウントアップされ最終フ
ローの実行で初期状態に戻される、フロー計数手段とし
てのマルチフローカウンタ(MFC)11と、マルチフ
ローカウンタ(MFC)11のカウント値と命令のオペ
コードにより命令の処理内容を決定する制御手段として
のデコーダ(DC2,DC3)を設け、 (1)マルチフロー命令の実行に際して、デコーダ(D
C2,DC3)により、実行するフローの処理内容を順
次決定して行くと共に、その処理に必要な処理信号を生
成して、1フローずつ処理を進める。
According to the multiflow instruction control method of the present invention, in order to execute a multiflow instruction such as a CS instruction in an instruction processing device using a hard-wired control method, counting is performed for each execution of one instruction flow. A multi-flow counter (MFC) 11 as a flow counting means that is up-loaded and returned to the initial state when the final flow is executed, and a control that determines the processing content of the instruction based on the count value of the multi-flow counter (MFC) 11 and the operation code of the instruction. Decoders (DC2, DC3) as means are provided, and (1) a decoder (D
C2, DC3) sequentially determine the processing contents of the flow to be executed, generate a processing signal necessary for the processing, and proceed the processing one by one.

【0012】(2)そして、最終フローの処理が実行さ
れた時に、マルチフローカウンタ(MFC)11の内容
を“0”に戻すと共に、プログラムカウンタ(PC)4
の更新を行い、処理を完了する。
(2) When the processing of the final flow is executed, the contents of the multi-flow counter (MFC) 11 are returned to "0" and the program counter (PC) 4
Is updated and the process is completed.

【0013】このように、本発明によれば、ソフトウエ
アによるシミュレートや、マイクロプログラム制御を必
要とせずに、CS命令等の複雑な命令を、マルチフロー
にて処理することが可能になる。
As described above, according to the present invention, it is possible to process a complex instruction such as a CS instruction in a multi-flow without the need for simulation by software or microprogram control.

【0014】また、請求項2の構成の命令処理装置にお
いては、請求項1記載のマルチフロー命令制御方法をハ
ードワイヤード制御方式の命令処理装置に使用するもの
である。
According to another aspect of the instruction processor of the present invention, the multiflow instruction control method according to the first aspect is used in an instruction processor of a hard-wired control system.

【0015】[0015]

【実施例】図1は、本発明の一実施例のシステム構成を
示すブロック図である。請求項1及び2記載の発明に共
通に対応する実施例である。また、図2は、本発明の実
施例によるCS命令の実行状態を示す図である。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention. This is an embodiment commonly corresponding to the inventions described in claims 1 and 2. FIG. 2 is a diagram showing the execution state of the CS instruction according to the embodiment of the present invention.

【0016】図1において、1は命令バッファ(IB)
内の命令のオペコードを解析するデコーダ(DC1)、
2はDC1からの信号とMFC11からの信号によりデ
コード信号を生成するデコーダ(DC2)、3はDC1
からの信号とMFC11からの信号によりデコード信号
を生成するデコーダ(DC3)、4はプログラムカウン
タ(PC)、5はEXステージにおける最終フローフラ
グ(LF−EX)、6はWBステージにおける最終フロ
ーフラグ(LF−WB)、7は信号(WB−REL)と
最終フローフラグ(LF−WB)からの信号の論理積演
算を行いプログラムカウンタ(PC)のイネーブル端子
(E)に信号(UP−DATE)を与えるアンド回路、
10は命令データが格納される命令バッファ(IB)、
11はマルチフローカウンタ(MFC)、12は信号
(DC−REL)と信号(LAST−FLOW)の論理
積演算を行い命令バッファ(IB)のイネーブル端子
(E)に信号を与えるアンド回路を表している。なお、
図中の回路ブロック内の符号Eはイネーブル信号端子
を、符号Cはソセット入力端子を表している。
In FIG. 1, 1 is an instruction buffer (IB).
Decoder (DC1) that analyzes the operation code of the instruction in
2 is a decoder (DC2) that generates a decoded signal from the signal from DC1 and the signal from MFC 11; 3 is DC1
Decoder (DC3) that generates a decode signal from the signal from MFC11 and the signal from MFC11, 4 is a program counter (PC), 5 is a final flow flag (LF-EX) in the EX stage, and 6 is a final flow flag () in the WB stage. LF-WB) and 7 carry out a logical product operation of the signal (WB-REL) and the signal from the final flow flag (LF-WB) to output the signal (UP-DATE) to the enable terminal (E) of the program counter (PC). Give and circuit,
10 is an instruction buffer (IB) in which instruction data is stored,
11 is a multi-flow counter (MFC), 12 is an AND circuit which performs a logical product operation of a signal (DC-REL) and a signal (LAST-FLOW) and gives a signal to an enable terminal (E) of an instruction buffer (IB). There is. In addition,
Reference symbol E in the circuit block in the figure represents an enable signal terminal, and reference symbol C represents a source input terminal.

【0017】本発明の実施例について、マルチプロセッ
サ構成において使用される以下の命令を例にとり説明す
る。 ・コンペア・アンド・スワップ(Compare an
d Swap)上記の命令(以下、単に「CS」命令と
も言う)は、複数のプロセッサが共有する共有メモリ上
の、あるデータエリアをプロセッサ間通信のためにアク
セスする命令であり、データエリアの検査とデータの更
新をバスロックして行うものである。
An embodiment of the present invention will be described by taking the following instructions used in a multiprocessor configuration as an example.・ Compare and Swap
d Swap) The above instruction (hereinafter, also simply referred to as “CS” instruction) is an instruction to access a certain data area on a shared memory shared by a plurality of processors for inter-processor communication, and to inspect the data area. And the data is updated by bus lock.

【0018】なお、本例では、CS命令を、データフェ
ッチ、データ比較、データストアの3フローで実行する
ものとする。なお、バスロック制御については、本発明
と直接関係がないため省略する。
In this example, the CS instruction is executed in three flows of data fetch, data comparison, and data store. The bus lock control is omitted because it is not directly related to the present invention.

【0019】また、本実施例の命令処理装置はパイプラ
イン制御されているものとし、下記3つのステージでを
有するものとする(図2を参照)。 ・DCステージ:命令のデコードステージ ・EXステージ:演算実行ステージ ・WBステージ:演算書き込みステージ さらに、プログラムカウンタ(PC)4の更新は命令の
実行終了時に行われるものとする。すなわち、WBステ
ージを、バイプラインインターロックや、命令の実行の
キャンセルなしに実行した場合に、プログラムカウンタ
(PC)4の更新が行われるものとする。
The instruction processing apparatus of this embodiment is pipeline-controlled, and has the following three stages (see FIG. 2). -DC stage: instruction decode stage-EX stage: operation execution stage-WB stage: operation write stage Furthermore, the program counter (PC) 4 is updated at the end of execution of the instruction. That is, it is assumed that the program counter (PC) 4 is updated when the WB stage is executed without a biline interlock or cancellation of instruction execution.

【0020】以下、図1の実施例の動作について説明す
る。 (1)命令バッファ(IB)10内に存在する実行可能
な命令のオペコードを、デコーダ(DC1)でデータ解
析し、CS命令であることを認識する。また、この時、
前命令のDCステージは終了しているため、マルチフロ
ーカウンタ(MFC)11のフローカウント値は“0”
である。
The operation of the embodiment shown in FIG. 1 will be described below. (1) The decoder (DC1) analyzes the data of the operation code of the executable instruction existing in the instruction buffer (IB) 10 and recognizes that it is a CS instruction. Also at this time,
Since the DC stage of the previous instruction has ended, the flow count value of the multiflow counter (MFC) 11 is "0".
Is.

【0021】(2)デコーダ(DC2)では、CS命令
で、かつ、フローカウント値=0の条件で、データフェ
ッチ実行のための各種デコード信号を生成する。 (3)デコーダ(DC3)では条件が成立せず信号(L
AST−FLOW)はオフである。なぜなら、デコーダ
(DC3)は、CS命令で、かつフローカウント値=2
の条件で、最終フローの検出を行うものであり、フロー
カウント値=0の時は、この条件は成立せず、信号(L
AST−FLOW)はオフである。
(2) The decoder (DC2) generates various decode signals for executing the data fetch under the CS instruction and under the condition of the flow count value = 0. (3) The decoder (DC3) does not meet the condition and the signal (L
AST-FLOW) is off. Because the decoder (DC3) is a CS instruction and the flow count value = 2
The final flow is detected under the condition of, and when the flow count value = 0, this condition is not satisfied, and the signal (L
AST-FLOW) is off.

【0022】(4)パイプラインインターロック条件が
無ければ、フローカウント値=0のデコードをリリース
(実行を完了して次のステージに進める状態)する。こ
の場合、信号(DC−REL)がオンとなる(各ステー
ジのリリース信号の制御については、パイプライン制御
そのものの技術範囲に属し、本発明には直接関係しない
ので省略する)。この時、信号(LAST−FLOW)
がオフのため、命令バッファ(IB)10は更新されな
い。また、マルチフローカウンタ(MFC)11は1だ
けカウントアップする。
(4) If there is no pipeline interlock condition, the decoding of the flow count value = 0 is released (execution is completed and the process is advanced to the next stage). In this case, the signal (DC-REL) is turned on (control of the release signal of each stage belongs to the technical scope of pipeline control itself and is not directly related to the present invention, and therefore omitted). At this time, the signal (LAST-FLOW)
Is off, the instruction buffer (IB) 10 is not updated. The multiflow counter (MFC) 11 counts up by 1.

【0023】(5)上記(4)項の処理により、マルチ
フローカウンタ(MFC)11のフローカウント値=1
となる。デコーダ(DC2)では、CS命令でかつフロ
ーカウント値=1の条件で、フェッチデータ比較のため
の各種デコード信号を生成する。
(5) The flow count value of the multi-flow counter (MFC) 11 is 1 by the processing of the above (4).
Becomes The decoder (DC2) generates various decode signals for fetch data comparison under the condition of CS instruction and flow count value = 1.

【0024】(6)デコーダ(DC3)では、条件が成
立せず、信号(LAST−FLOW)はオフである。 (7)パイプラインインターロック条件が無ければ、フ
ローカウント値=1のデコードをリリースする。この
時、信号(LAST−FLOW)がオフのため、命令バ
ッファ(IB)10は更新されない。また、マルチフロ
ーカウンタ(MFC)11は1だけカウントアップす
る。
(6) In the decoder (DC3), the condition is not satisfied, and the signal (LAST-FLOW) is off. (7) If there is no pipeline interlock condition, the decoding of the flow count value = 1 is released. At this time, since the signal (LAST-FLOW) is off, the instruction buffer (IB) 10 is not updated. The multiflow counter (MFC) 11 counts up by 1.

【0025】(8)上記(7)項の処理により、マルチ
フローカウンタ(MFC)11のフローカウント値=2
となる。デコーダ(DC3)では、CS命令でかつフロ
ーカウント値=2の条件で、データストアのための各種
デコード信号を生成する。
(8) The flow count value of the multi-flow counter (MFC) 11 is 2 by the processing of the above item (7).
Becomes The decoder (DC3) generates various decode signals for data store under the condition of CS instruction and flow count value = 2.

【0026】(9)デコーダ(DC3)では、CS命令
で、かつフローカウント値=2の条件で、最終フローの
検出を行う。フローカウント値=2であるため、信号
(LAST−FLOW)がオンとなる。
(9) The decoder (DC3) detects the final flow with the CS instruction and the flow count value = 2. Since the flow count value = 2, the signal (LAST-FLOW) is turned on.

【0027】(10)パイプラインインターロック条件
が無ければ、フローカウント値=2のデコードをリリー
スする。この時、信号(LAST−FLOW)がオンの
ため、命令バッファ(IB)10は次に実行すべき命令
に更新される。また、マルチフローカウンタ(MFC)
11は、信号(LAST−FLOW)がオンのため
“0”にクリアされる。
(10) If there is no pipeline interlock condition, the decoding of the flow count value = 2 is released. At this time, since the signal (LAST-FLOW) is on, the instruction buffer (IB) 10 is updated with the instruction to be executed next. Also, multi-flow counter (MFC)
11 is cleared to "0" because the signal (LAST-FLOW) is on.

【0028】(11)最終フローのDCステージがリリ
ースされると、EXステージの最終フローフラグ(LF
−EX)5がセットされる。 (12)最終フローのEXステージがリリース(EX−
RELがオン)されると、WBステージの最終フローフ
ラグ(LF−WB)6がセットされる。
(11) When the DC stage of the final flow is released, the final flow flag (LF) of the EX stage is released.
-EX) 5 is set. (12) The EX stage of the final flow is released (EX-
When REL is turned on), the final flow flag (LF-WB) 6 of the WB stage is set.

【0029】(13)最終フローフラグ(LF−WB)
6がセットされ、かつWBステージがリリース(WB−
RELオン)されると、プログラムカウンタ(PC)4
の更新許可信号である信号(PC−UPDATE)がオ
ンとなり、プログラムカウンタ(PC)4の内容は次に
実行される命令のアドレスに更新される。
(13) Final flow flag (LF-WB)
6 is set and the WB stage is released (WB-
When REL is turned on), the program counter (PC) 4
The signal (PC-UPDATE), which is the update permission signal of, is turned on, and the content of the program counter (PC) 4 is updated to the address of the instruction to be executed next.

【0030】以上説明した処理の実行状態は、図2のタ
イムチャートに示される。すなわち、図2においては、
CS命令が、上述のごとく、3つの処理フローで実行さ
れることが示され、また、フロー0はデータフェッチの
処理フローであり、DC(0)、EX(0)、WB
(0)の各ステージで構成され、時刻t1から開始さ
れ、フロー1はデータ比較の処理フローであり、DC
(1)、EX(1)、WB(1)の各ステージで構成さ
れ、時刻t2から開始され、最終のフロー2はデータス
トアの処理フローであり、DC(2)、EX(2)、W
B(2)の各ステージで構成され、時刻t3から開始さ
れることが示される。
The execution state of the processing described above is shown in the time chart of FIG. That is, in FIG.
It is shown that the CS instruction is executed in the three processing flows as described above, and the flow 0 is the processing flow of the data fetch and includes DC (0), EX (0), WB.
(0), each stage is started from time t1, flow 1 is a process flow of data comparison, and DC
(1), EX (1), WB (1) stages, starting from time t2, the final flow 2 is the processing flow of the data store, DC (2), EX (2), W
It is shown that each stage is composed of B (2) and starts from time t3.

【0031】また、フロー0,1,2の処理の進行状態
と、マルチフローカウンタ(MFC)11のカウント状
態及びプログラムカウンタ(PC)4の更新タイミング
がそれぞれ示される。
Further, the progress status of the processing of the flows 0, 1 and 2, the count status of the multi-flow counter (MFC) 11 and the update timing of the program counter (PC) 4 are shown respectively.

【0032】以上、本発明の実施例について説明した
が、本発明の方法は、CS命令の実行の場合に限らず、
パイプライン処理を特殊制御する場合に広く使用できる
ものである。
Although the embodiment of the present invention has been described above, the method of the present invention is not limited to the case of executing a CS instruction,
It can be widely used for special control of pipeline processing.

【0033】例えば、命令処理装置に使用するプロセッ
サのバードウエアを構成する場合に、チップ分割等のイ
ンプリメント上の制約で、パイプライン処理を特殊制御
する必要がある場合に容易に用いることができる。
For example, when configuring the birdware of the processor used for the instruction processing device, it can be easily used when it is necessary to specially control the pipeline processing due to implementation restrictions such as chip division.

【0034】[0034]

【発明の効果】以上説明したように、本発明によれば、
ハードワイヤード制御方式の命令処理装置において、フ
ローカウンタと、いくつかのデコーダという僅かなハー
ドウエアを追加するだけで、例えばCS命令のごとき複
雑な命令を、パイプライン制御の変更なしに実現できる
ことになる。従って、ソフトウエアによるシミュレート
や、マイクロプログラム制御を使用する必要がなくな
る。
As described above, according to the present invention,
In a hard-wired control type instruction processing device, a complicated instruction such as a CS instruction can be realized without changing the pipeline control by adding a small amount of hardware such as a flow counter and some decoders. . Therefore, there is no need to use software simulation or microprogram control.

【0035】また、本発明で用いた方法は、ハードウエ
ア上の制約等でパイプラインの特殊制御が必要な場合に
も効果的に使用できる。
Further, the method used in the present invention can be effectively used even when special control of the pipeline is required due to hardware restrictions or the like.

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

【図1】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the present invention.

【図2】本発明の実施例によるCS命令の実行状態を示
す図である。
FIG. 2 is a diagram showing an execution state of a CS instruction according to an embodiment of the present invention.

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

1 デコーダ(DC1) 2 デコーダ(DC2) 3 デコーダ8DC3) 4 プログラムカウンタ(PC) 5 最終フローフラグ(LF−EX) 6 最終フローフラグ(LF−WB) 7 アンド回路 10 命令バッファ(IB) 11 マルチフローカウンタ(MFC) 12 アンド回路 1 Decoder (DC1) 2 Decoder (DC2) 3 Decoder 8DC3) 4 Program Counter (PC) 5 Final Flow Flag (LF-EX) 6 Final Flow Flag (LF-WB) 7 AND Circuit 10 Instruction Buffer (IB) 11 Multiflow Counter (MFC) 12 AND circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ハードワイヤード制御方式の命令処理装
置において、マルチフロー命令を実行する際に、 命令の1フロー実行毎にカウントアップされ最終フロー
の実行で初期状態に戻されるフロー計数手段と、 上記フロー計数手段の計数値と命令のデコード信号によ
り命令の処理内容を決定して実行する制御手段と、 プログラムカウンタの更新を最終フローが実行された時
にのみ行うPC制御手段とを用いてマルチフロー命令の
処理を行うことを特徴とするマルチフロー命令制御方
法。
1. In a hard-wired control type instruction processing device, when executing a multi-flow instruction, a flow counting means that counts up every execution of one instruction flow and returns to an initial state when the final flow is executed, A multi-flow instruction using a control means for determining and executing the processing content of the instruction by the count value of the flow counting means and a decode signal of the instruction and a PC control means for updating the program counter only when the final flow is executed. A multi-flow instruction control method, characterized by performing the following processing.
【請求項2】 請求項1記載のマルチフロー命令制御方
法を用いたことを特徴とする命令処理装置。
2. An instruction processing apparatus using the multiflow instruction control method according to claim 1.
JP4317474A 1992-11-26 1992-11-26 Multiflow instruction control method and instruction processing device Pending JPH06161778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4317474A JPH06161778A (en) 1992-11-26 1992-11-26 Multiflow instruction control method and instruction processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4317474A JPH06161778A (en) 1992-11-26 1992-11-26 Multiflow instruction control method and instruction processing device

Publications (1)

Publication Number Publication Date
JPH06161778A true JPH06161778A (en) 1994-06-10

Family

ID=18088637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4317474A Pending JPH06161778A (en) 1992-11-26 1992-11-26 Multiflow instruction control method and instruction processing device

Country Status (1)

Country Link
JP (1) JPH06161778A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004515857A (en) * 2000-12-06 2004-05-27 インテル・コーポレーション Multicycle instruction
JP2010049500A (en) * 2008-08-21 2010-03-04 Toshiba Corp Pipeline arithmetic processor and control system equipped with pipeline arithmetic processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01286030A (en) * 1988-05-12 1989-11-17 Nec Corp Information processor
JPH04326426A (en) * 1991-04-26 1992-11-16 Fujitsu Ltd Instruction decoding circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01286030A (en) * 1988-05-12 1989-11-17 Nec Corp Information processor
JPH04326426A (en) * 1991-04-26 1992-11-16 Fujitsu Ltd Instruction decoding circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004515857A (en) * 2000-12-06 2004-05-27 インテル・コーポレーション Multicycle instruction
US7472259B2 (en) 2000-12-06 2008-12-30 Analog Devices, Inc. Multi-cycle instructions
JP2010049500A (en) * 2008-08-21 2010-03-04 Toshiba Corp Pipeline arithmetic processor and control system equipped with pipeline arithmetic processor

Similar Documents

Publication Publication Date Title
US6832305B2 (en) Method and apparatus for executing coprocessor instructions
JPH02227730A (en) Data processing system
JPS63307535A (en) Pipeline control circuit
JPH05342084A (en) Device and method for storing data
JPH06161778A (en) Multiflow instruction control method and instruction processing device
JPH09212360A (en) Data processor
JP2553200B2 (en) Information processing device
JP3569811B2 (en) Data processing device having pipeline processing function
JP2876791B2 (en) Exception handling device and exception handling method
JP2000029696A (en) Processor, and pipeline process control method
JPS63245523A (en) Microprogram processor
JP2812610B2 (en) Pipeline control method
JP2924735B2 (en) Pipeline operation device and decoder device
JP3954159B2 (en) Synchronous RAM access control circuit, data processor and control method thereof
JP2944563B2 (en) Pipeline type information processing device
JP2806690B2 (en) Microprocessor
JPH0954694A (en) Pipeline processor and its processing method
JP3531856B2 (en) Program control method and program control device
JP2597744B2 (en) Branch control method
JPH11119995A (en) Device and method for processing data
JP2000181714A (en) Command controller
JPS60193047A (en) Mode checking system of microprogram
JPH05250156A (en) Risc processor
JP2001034474A (en) Data processor and data processing method
JPH03164945A (en) Data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030204