JPS6282433A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPS6282433A JPS6282433A JP22263585A JP22263585A JPS6282433A JP S6282433 A JPS6282433 A JP S6282433A JP 22263585 A JP22263585 A JP 22263585A JP 22263585 A JP22263585 A JP 22263585A JP S6282433 A JPS6282433 A JP S6282433A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- string
- register
- circuit
- executed
- 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
Links
- 230000010365 information processing Effects 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 7
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Advance Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、情報処理装置における命令の実行方法に関し
、特に、連続する複数の命令の高速処理1方法に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for executing instructions in an information processing device, and particularly to a method for high-speed processing of a plurality of consecutive instructions.
従来、この種の情報処理装置においては、各命令はいく
つかのマイクロノログラムステノゾヲ共有化することは
あっても各命令は論理的に独立したマイクロプログラム
ルーチンで処理されていた。Conventionally, in this type of information processing apparatus, each instruction was processed by a logically independent microprogram routine, although each instruction may be shared by several micronograms.
すなわち連続する命令の組合せによってマイクロプログ
ラム処理の内容を変えることはなかった。In other words, the contents of microprogram processing were not changed by the combination of consecutive instructions.
上述した従来の情報処理装置では、先行する命令の一フ
イクrjfログラムの実行が完了【7た後、後続の命令
のマイクロノ「Jグラノ・の実行(/(入る。すなわち
、先行する命令の演算結果を後続する命令が参照する場
合、先行する命令のマイクロプログラム・処理が終って
から、つ−まり先行する命令の演算結果が汎用レジスタ
あるいはメモリに格納されてから、後続の命令のマイク
ロゾログラム処理に4、・いて前i己演算結果を汎用レ
ジスタあるいはメモリから読み出−ノー。したがって、
先行する命令がその演算結果を汎1[]レジスタあるい
はメモリに書込み、後続の命令がそれを読み出すために
、処理時間がかかる欠点があった。−土だ互いに全く無
関係な命令でかつ演算回路も各命令ごとに独立して動作
可能で、同時に実行処理i1能な命令でも、シーク゛ン
/ヤルに実行しなければならないという欠点があった。In the above-mentioned conventional information processing device, after the execution of one quick rjf program of the preceding instruction is completed [7], the execution of the following instruction's micro-program (/(enters. That is, the operation of the preceding instruction When the result is referenced by a subsequent instruction, the microprogram of the subsequent instruction is referenced after the microprogram/processing of the preceding instruction is completed, that is, after the operation result of the preceding instruction is stored in a general-purpose register or memory. 4. Before processing, read the operation result from the general-purpose register or memory - No. Therefore,
There is a drawback that processing time is required because the preceding instruction writes its operation result to the general-purpose register or memory, and the subsequent instruction reads it. - The drawback is that even instructions that are completely unrelated to each other, the arithmetic circuit can operate independently for each instruction, and instructions that can be executed simultaneously must be executed sequentially.
本発明の目的は、−ト述した欠点を除去した情報処理装
置を提供するととにある。An object of the present invention is to provide an information processing device that eliminates the above-mentioned drawbacks.
〔問題点を解決するだめの手段]
本発明の情報処理装置は、各命令語を個別に実マイクロ
プログラムを格納する制御メモリと、該マイクEE f
Dダラムの処理内容に対応する前記命令語の列あるいは
命令Jtiの属性の列4:記憶保持する命令語列レジス
タ群と、該命令語列レジスタ群内の各レジスタに対応(
7て該レジスタ内の命令dfi列あるいは命令語の属性
列を実行するだめの制御情報を記憶保持する制御情報レ
ジスタフ11と、実行しようとする命令語列あるいは実
行12ようとする命令語の属性列と前記レジスタ群の内
容とを比較する命令語列比較回路と、命令語列内の各命
令間の関係を検出する手段と、該命令間の関係と前記制
御情報レジスタ群内のffi制御情報と前記命令語列比
較回路の出力1【応答1−で実行すべき命令語あるいは
命令語列の前記制御メモリ内のマイクロプログラムの開
始ア1?レスを決定し実行する制御回路とを有するとと
を特徴とする。[Means for Solving the Problems] The information processing device of the present invention includes a control memory that stores an actual microprogram for each instruction word individually, and a microphone EE f.
The instruction word string corresponding to the processing content of D Durham or the attribute string 4 of the instruction Jti: the instruction word string register group to be stored and the instruction word string register group corresponding to each register in the instruction word string register group (
7, a control information register 11 that stores and holds control information for executing the instruction dfi string or the attribute string of the instruction word in the register; an instruction string comparison circuit for comparing the contents of the instruction string and the contents of the register group; means for detecting a relationship between each instruction in the instruction string; and a means for detecting the relationship between the instructions and the ffi control information in the control information register group. Output 1 of the instruction string comparison circuit [Response 1-: Start of the microprogram in the control memory of the instruction word or instruction string to be executed in response to response 1? and a control circuit that determines and executes the response.
次に9本発明について図面を参照(−で説明する。 Next, the present invention will be explained with reference to the drawings (-).
第1図は本発明の一実施例の概略ブロック図である。実
行命令語列レジスタ1ば、実行しようとする命令語ある
いは命令語列を保持する。該命令語あるいは命令語列が
実行されると次に実行すべき命令語列が供給される。命
令語列レノメタ群2には、連続する複数の命令語からな
る命令語列を複数個記憶保持する。但し、制御回路5が
制御メモリ6の開始アドレスを決定するのに不要な命令
語内の情報は、命令語列レジスタ群2には記憶しない。FIG. 1 is a schematic block diagram of one embodiment of the present invention. Execution instruction string register 1 holds an instruction word or instruction string to be executed. When the command or command string is executed, the next command string to be executed is supplied. The instruction word string reformator group 2 stores and holds a plurality of instruction word strings each consisting of a plurality of consecutive instruction words. However, information in the instruction word that is unnecessary for the control circuit 5 to determine the start address of the control memory 6 is not stored in the instruction string register group 2.
制御情報レノメタ群10には、命令語列レジスタ群2に
保持される命令列を実行処理する為の制御情報を、命令
語列レノメタ群2の各レジスタ対応に記憶保持する。具
体的には本実施例では、制御メモリ6の開始アドレスを
保持する。The control information notebook group 10 stores and holds control information for executing the instruction string held in the instruction string register group 2 in correspondence with each register of the instruction string register group 2. Specifically, in this embodiment, the start address of the control memory 6 is held.
命令語比較回路4は、これから実行しようとする実行命
令語列レジスタ1内の命令列の必要な部分と、命令語列
レジスタ群2内の命令語列の各々と比較する。命令量関
係検出回路3は1本実施例においては、先行する命令の
結果を後続の命令が参照するかどうか、すなわち先行命
令のアイステイネ−ジョンが後続命令のソースと一致し
ているかどうかを検出する。制御回路5は、命令語列比
較回路4.命令量関係検出回路3および実行命令語列レ
ジスタIの出力を受けて、実行I、 、r、うとする実
行命令語列レジスタJ内の命令語が命令語列レジスタ群
2に登録されている命令列の一つと一致しかつ先行する
命令の結果を後続の命令が参照する場合には、対応する
制御情報レノメタ群に登録されている開始アドレスで制
御メモリ6を起動する。前記開始アドレスで起動された
制御メモリ6は先行する命令の演算結果をメモリ8ある
いr1汎用レジスタ9を介さずに演算回路7内で演算回
路7の入力に廻し込み後続の命令を実行するよう演算回
路7を制御する。一方、実行しようとする命令語列が前
記の条件を満たさ々いときには、命令語内の各命令を個
別で処理するマイクロプログラムの開始アドレスで制御
メモリ6を起動する。The instruction comparison circuit 4 compares a necessary part of the instruction string in the execution instruction string register 1 to be executed from now with each of the instruction strings in the instruction string register group 2. In this embodiment, the instruction amount relationship detection circuit 3 detects whether the subsequent instruction refers to the result of the preceding instruction, that is, whether the eyestnation of the preceding instruction matches the source of the subsequent instruction. do. The control circuit 5 includes an instruction string comparison circuit 4. In response to the output of the instruction amount relationship detection circuit 3 and the execution instruction string register I, the instruction word in the execution instruction string register J to be executed is registered in the instruction string register group 2. When a subsequent instruction refers to the result of a preceding instruction that matches one of the columns, the control memory 6 is activated at the start address registered in the corresponding control information record group. The control memory 6 activated at the start address passes the operation result of the preceding instruction to the input of the operation circuit 7 within the operation circuit 7 without going through the memory 8 or the r1 general-purpose register 9, and executes the subsequent instruction. Controls the arithmetic circuit 7. On the other hand, when the instruction string to be executed does not satisfy the above-mentioned conditions, the control memory 6 is activated at the start address of a microprogram that individually processes each instruction in the instruction word.
更に9本発明の実施例を第2図に示す具体例を用いて詳
細に説明する。命令語列レジスタ群2内には第2図に示
す3つの命令語のオペレーションコードの列が登録され
ている。今、連続する2つの命令
AI’)I) CI 、 G2 (Gl←(Gl )
+ CG2) )STJB Gl 、 G3 (G
l←(Gl)−(G3) )が実行命令語列レジスタ1
内に供給され、実行される場合を説明する。上記命令列
は汎用レジスタG1とG2の内容を加算しその結果をG
1に格納し。Further, nine embodiments of the present invention will be described in detail using a specific example shown in FIG. In the instruction word string register group 2, three instruction word operation code strings shown in FIG. 2 are registered. Now, two consecutive instructions AI') I) CI, G2 (Gl←(Gl)
+ CG2) ) STJB Gl, G3 (G
l←(Gl)-(G3)) is execution instruction string register 1
The following describes the case where the program is supplied and executed within the program. The above instruction sequence adds the contents of general-purpose registers G1 and G2 and adds the result to G
Store it in 1.
更に前記結果から03の内容を減算し結果を01に格納
する。Furthermore, the contents of 03 are subtracted from the result and the result is stored in 01.
実行命令語列レジスタ1内のOPコード(オペレーショ
ンコード)列“’ ADD−8UB”は命令語列比較回
路4によって命令語列レノメタ群2内のoPココ−列の
各々と比較され、この場合登録されている第1のopコ
ードタ1ビADD−8UB″′と一致しているのでこの
旨、制御回路5に報告する。命令量関係検出回路3は、
実行命令語列1内のADD命令のディスティネーション
フィールドと、 SUB命令の2つのソースフィールド
を比較することによって後続のSUB命令が先行のAD
D命令の演算結果を参照することを制御回路5に報告す
る。制御回路5は、前記報告信号を受けて制御メモリ内
のADD 、−8UBの命令語列を一括処理する制御メ
モリ6内のマイクロプログラムの開始アドレス(この場
合1000番地)を制御情報レノメタ群10内から選択
し、この1000番地アドレスで制御メモリ6を起動す
る。The OP code (operation code) string "'ADD-8UB" in the execution instruction string register 1 is compared with each of the OP code strings in the instruction string recorder group 2 by the instruction string comparison circuit 4, and in this case, the OP code string "'ADD-8UB" is registered. Since it matches the first op code type ADD-8UB″', this fact is reported to the control circuit 5.The instruction amount relationship detection circuit 3
By comparing the destination field of the ADD instruction in execution instruction string 1 and the two source fields of the SUB instruction, the subsequent SUB instruction is
It reports to the control circuit 5 that the operation result of the D instruction will be referenced. Upon receiving the report signal, the control circuit 5 stores the start address (address 1000 in this case) of the microprogram in the control memory 6 that collectively processes the instruction word strings ADD and -8UB in the control memory in the control information recorder group 10. , and start the control memory 6 at this address 1000.
起動された制御メモリ6は、第3図に示すタイミングで
演算回路7を制御j〜、 ADD−8TJBの命令語列
を実行する。すなわち、先ず第1マシンザイクルで汎用
レジスタGl 、 G2の内容をそれぞれレジスタR1
、R2に読み出し、第2マシンサイクルで加算結果をレ
ジスタR3にセットし、第3マシンサイクルでレジスタ
R3の内容を汎用レジスタG1に格納するとともにレジ
スタR1にもセットし、これと平行して汎用レジスタG
3の内容をレジスタR2に読み出す。第4マシンザイク
ルでは、レジスタR3にR1とR2の減算結果をセット
する。最後の第5マシンサイクルでは、最終結果を汎用
レジスタG1に格納する。The activated control memory 6 controls the arithmetic circuit 7 to execute the instruction strings j to ADD-8TJB at the timing shown in FIG. That is, first, in the first machine cycle, the contents of general-purpose registers Gl and G2 are stored in register R1.
, R2, and in the second machine cycle set the addition result in register R3. In the third machine cycle, the contents of register R3 are stored in general-purpose register G1 and also set in register R1. G
Read the contents of 3 into register R2. In the fourth machine cycle, the result of subtraction of R1 and R2 is set in register R3. In the fifth and final machine cycle, the final result is stored in general-purpose register G1.
参考として本発明の装置に使わずにADD命令とSUB
命令を個別に実行したときのタイムチャートを第4図に
示す。第3図と第4図とを比較すると明らかなように先
行する命令の結果の格納と後続の命令のオ被ランドの読
み出しとを同時に実行する分だけ9本発明の装置の方が
必要とする処理時間は少々くなっている。For reference, the ADD command and SUB command are not used in the device of the present invention.
FIG. 4 shows a time chart when the instructions are executed individually. As is clear from a comparison between FIG. 3 and FIG. 4, the device of the present invention requires 9 more units because it simultaneously executes the storage of the result of the preceding instruction and the reading of the address lands of the subsequent instruction. Processing time is slightly shorter.
以」二、レジスターレジスタ間の演算命令の列について
説明したが、先行するロード命令とそのロードデータを
参照する演算命令、あるいは、先行する演算命令とその
結果をストアする命令等の組合せでも同様である。また
、上記の実施例においては、命令語列内の命令が互いに
無関係である場合には、それらの命令は個別に実行する
ものとしたが、より好ましい実施例においては、そのよ
うな場合にも一括処理することによって先行する命令の
結果の格納と、後続の命令のオペランドの読出しが同時
に実行することにより高速化が可能である。更に別のよ
り好ましい実施例においては。In the following, we have explained a sequence of arithmetic instructions between registers, but the same applies to a combination of a preceding load instruction and an arithmetic instruction that references the load data, or a preceding arithmetic instruction and an instruction that stores its result. be. Furthermore, in the above embodiment, when the instructions in the instruction string are unrelated to each other, those instructions are executed individually. By performing batch processing, the storage of the result of the preceding instruction and the reading of the operand of the subsequent instruction are executed simultaneously, thereby increasing the speed. In yet another more preferred embodiment.
命令を汎用レジスタ間の演算命令、メモリと汎用レジス
タ間の演算命令、メモリのブータラ汎用レジスタに格納
するロード命令、汎用レジスタの内容をメモリに格納す
るストア命令等にタイプ分けした属性を、OPコードの
代りに命令語列レジスタ群2に記憶保持する。その際に
は、命令語列比較回路4には、実行命令語列レジスタ1
内のopコードを上記のタイプに分類する属性デコード
回路が加わる。The attributes that classify instructions into types such as arithmetic instructions between general-purpose registers, arithmetic instructions between memory and general-purpose registers, load instructions that store the contents of general-purpose registers in memory, and store instructions that store the contents of general-purpose registers in memory are classified into OP codes. Instead, it is stored and held in the instruction word string register group 2. At that time, the instruction string comparison circuit 4 includes the execution instruction string register 1.
An attribute decoding circuit is added to classify the op codes within the above types into the above types.
以上説明したように本発明は、あらかじめ決められた連
続する複数の命令をこの命令語列を一括処理するマイク
ロプログラムによって実行処理することによシ、各命令
間で同時に処理可能なことがらを並行して処理でき、命
令処理の高速化が可能である。As explained above, the present invention executes a plurality of predetermined consecutive instructions using a microprogram that collectively processes this instruction string, thereby allowing simultaneous processing to be performed between each instruction. This enables high-speed instruction processing.
第1図は本発明に従った情報処理装置の概略ブロック図
、第2図は第1図の詳細を示した図、第3図は第2図に
おける演算動作のタイムチャート。
第4図は従来装荷の演算動作のタイムチャートである。
■・・実行命令語列レジスタ、2・・・命令語列レジス
タ群、3・・・命令量関係検出回路、4・・・命令語列
比較回路、5・・・制御回路、6・・・制御メモリ、7
・・・演算回路、8・・メモリ、9・・・汎用レジスタ
、10・・・制御情報レジスタ群。FIG. 1 is a schematic block diagram of an information processing apparatus according to the present invention, FIG. 2 is a diagram showing details of FIG. 1, and FIG. 3 is a time chart of arithmetic operations in FIG. 2. FIG. 4 is a time chart of calculation operations for conventional loading. ■...Execution instruction string register, 2...Instruction string register group, 3...Instruction amount relationship detection circuit, 4...Instruction string comparison circuit, 5...Control circuit, 6... control memory, 7
...Arithmetic circuit, 8...Memory, 9...General purpose register, 10...Control information register group.
Claims (1)
連続する複数の命令語からなる列を1つの処理単位とし
て実行するマイクロプログラムを格納する制御メモリと
、該マイクロプログラムの処理内容に対応する前記命令
語の列あるいは命令語の属性の列を記憶保持する命令語
列レジスタ群と、該命令語列レジスタ群内の各レジスタ
に対応して該レジスタ内の命令語列あるいは命令語の属
性列を実行するための制御情報を記憶保持する制御情報
レジスタ群と、実行しようとする命令語列あるいは実行
しようとする命令語の属性列と前記レジスタ群の内容と
を比較する命令語列比較回路と、命令語列内の各命令間
の関係を検出する手段と、該命令間の関係と前記制御情
報レジスタ群内の制御情報と前記命令語列比較回路の出
力に応答して実行すべき命令語あるいは命令語列の前記
制御メモリ内のマイクロプログラムの開始アドレスを決
定し、実行する制御回路とを有することを特徴とする情
報処理装置。1. A microprogram that executes each instruction word individually;
A control memory that stores a microprogram that executes a sequence of consecutive instruction words as one processing unit, and stores and stores a sequence of instruction words or a sequence of instruction word attributes corresponding to the processing content of the microprogram. a group of instruction string registers to be executed, and a group of control information registers that store and hold control information for executing the instruction string or attribute string of the instruction word in the register corresponding to each register in the instruction string register group. an instruction string comparison circuit that compares the instruction string to be executed or the attribute string of the instruction to be executed with the contents of the register group; and means for detecting the relationship between each instruction in the instruction string. and the relationship between the instructions, the control information in the control information register group, and the start address of the microprogram in the control memory of the instruction word or instruction string to be executed in response to the output of the instruction string comparison circuit. An information processing device comprising: a control circuit that determines and executes a control circuit;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22263585A JPS6282433A (en) | 1985-10-08 | 1985-10-08 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22263585A JPS6282433A (en) | 1985-10-08 | 1985-10-08 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6282433A true JPS6282433A (en) | 1987-04-15 |
Family
ID=16785541
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22263585A Pending JPS6282433A (en) | 1985-10-08 | 1985-10-08 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6282433A (en) |
-
1985
- 1985-10-08 JP JP22263585A patent/JPS6282433A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0155211A2 (en) | System for by-pass control in pipeline operation of computer | |
| JPS6028015B2 (en) | information processing equipment | |
| JPH03282958A (en) | Electronic computer | |
| JPS6341932A (en) | Branching instruction processing device | |
| JPH03286332A (en) | Digital data processor | |
| US4631672A (en) | Arithmetic control apparatus for a pipeline processing system | |
| JPH0743648B2 (en) | Information processing equipment | |
| US5390306A (en) | Pipeline processing system and microprocessor using the system | |
| JPH034936B2 (en) | ||
| JPS6282433A (en) | Information processor | |
| JP2812610B2 (en) | Pipeline control method | |
| JPH0227709B2 (en) | DEETAKUDOSEIGYOHOSHIKI | |
| JPS61283930A (en) | Information processor | |
| JPH02127731A (en) | Bypass check system for arithmetic register | |
| JP2727023B2 (en) | Information processing device | |
| JPH06162067A (en) | Device and method for controlling vector instruction | |
| JPH10254698A (en) | Information processing device | |
| JPH0269825A (en) | Pipe line control system | |
| JPS61143850A (en) | Processor | |
| JPH04175930A (en) | Data processor | |
| JPS61194566A (en) | Vector data reference control system | |
| JPH0559451B2 (en) | ||
| JPH0311479A (en) | Method and device for detecting completion of stream arithmetic operation | |
| JPH08297583A (en) | Interrupt handling apparatus and method thereof | |
| JPH0792902A (en) | Programmable controller |