JPH04107632A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04107632A
JPH04107632A JP22616890A JP22616890A JPH04107632A JP H04107632 A JPH04107632 A JP H04107632A JP 22616890 A JP22616890 A JP 22616890A JP 22616890 A JP22616890 A JP 22616890A JP H04107632 A JPH04107632 A JP H04107632A
Authority
JP
Japan
Prior art keywords
data
bus
register
microinstruction
string
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
JP22616890A
Other languages
Japanese (ja)
Inventor
Shinichi Okugawa
奥川 伸一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP22616890A priority Critical patent/JPH04107632A/en
Publication of JPH04107632A publication Critical patent/JPH04107632A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the access time to the string data with omission of a branch microinstruction by providing a string processing deciding part which decides whether all string data are read through or not. CONSTITUTION:Only '4' equivalent to 4 bytes, for example, which are read out this time is subtracted from the contents of a subtraction counter 5 to which the string data length is set. Then a bus access signal generating part 16 produces and outputs an external control part signal necessary for the bus access, and the read data are stored in a read data register 12. These operations are repeated and a string processing deciding part 6 decides the end of an access based on the contents of the counter 5. Thus the end of the access given to the string data is attained with no use of a conditional branch microinstruction. As a result, the access time is shortened to the string data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はヤイクロプロクラム制御動作を行なう情報処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device that performs a cycloprogram control operation.

〔従来の技術〕[Conventional technology]

パイプライン構成を有しマイクロプログラム制御動作を
行なう従来のマイクロプロセッサ等の情報処理装置は、
バスを介して接続された主記憶装置内のストリングデー
タにアクセスする場合、バス幅の制約によりそのストリ
ングデータの全てを一回のバス転送により完了できない
ときには、複数回のバス転送を実行し、このバス転送を
所定の回数だけ実行したか否かをマイクロプログラムで
判断している。
Conventional information processing devices such as microprocessors that have a pipeline configuration and perform microprogram control operations are
When accessing string data in main memory connected via a bus, if all of the string data cannot be completed in a single bus transfer due to bus width constraints, multiple bus transfers are performed to complete the process. A microprogram determines whether bus transfer has been executed a predetermined number of times.

従来の情報処理装置を使用した動作の一例を第4図、第
5図、第6図(A)および第6図(B)を参照して説明
する。
An example of an operation using a conventional information processing device will be described with reference to FIGS. 4, 5, 6(A), and 6(B).

第4図はアクセスされるストリングデータを示しており
、ストリングデータSは、1回目の読込みデータXと、
2回目の読込みデータyと、3回目の読込みデータ2と
からなる。ここで、1回のアクセス幅は4バイトとする
。第5図は第4図の主記憶装置内のストリングデータS
をアクセスするときの動作を示す流れ図である。第6図
(A)および第6図(B)は第5図の流れ図で示す動作
に従った従来の情報処理装置のパイプラインの各ステー
ジ、すなわち、フェッチステーノ、テコ−ドステージ、
アドレス計算実行ステージ、バスアクセスステージおよ
び演算実行ステージの処理の流れを示す。ここではスト
リングデータSの読込みについてのみ説明する。
FIG. 4 shows the string data that is accessed, and the string data S is the first read data X,
It consists of second read data y and third read data 2. Here, the width of one access is 4 bytes. Figure 5 shows the string data S in the main memory of Figure 4.
2 is a flowchart showing the operation when accessing . FIGS. 6(A) and 6(B) show each stage of the pipeline of a conventional information processing device according to the operation shown in the flowchart of FIG.
The flow of processing in the address calculation execution stage, bus access stage, and operation execution stage is shown. Here, only reading of string data S will be explained.

まず、時刻t。に、カウンタにストリングデータ長“9
”を設定するためのマイクロ命令iがフェッチステージ
のフェッチサイクルf1で制御記憶部から取り出される
。続いて、時刻t1に、テフードステーシのデコードサ
イクルd1で命令2が解読(デコード)されるとともに
、ストリングデータを読み込むためのマイクロ命令11
がフェッチサイクルf IIで制御記憶部から取り出さ
れる。
First, time t. Then, the string data length “9” is written to the counter.
A microinstruction i for setting " is fetched from the control storage unit in a fetch cycle f1 of the fetch stage. Subsequently, at time t1, an instruction 2 is decoded in a decode cycle d1 of the Tefodo stage. Microinstruction 11 for reading string data
is retrieved from the control store in fetch cycle fII.

次に、時刻t2に、命令jのテコード結果に基づいてア
ドレス計3! 実行ステージのアドレス計算実行サイク
ルa+でカウンタにストリングデータ長゛′9″が設定
される(第5図ステップ5A)。このとき、さらに、デ
コードサイクルd、で命令11がデコートされるととも
に、ストリングデータを全て読み込んだか否かを判断す
るための分岐マイクロ命令■がフェッチサイクルfつで
制御記憶部から取り出される。さらに、時刻t3に、命
令llのデコート結果に基づいてアドレス計算実行サイ
クルa、でデータアドレス“101”が生成される。
Next, at time t2, based on the coded result of instruction j, a total of 3 addresses! In the address calculation execution cycle a+ of the execution stage, the string data length ``9'' is set in the counter (step 5A in FIG. 5).At this time, instruction 11 is further decoded in the decode cycle d, and the string data is A branch microinstruction (■) for determining whether or not all has been read is taken out from the control storage unit in a fetch cycle f.Furthermore, at time t3, data is fetched in an address calculation execution cycle a based on the decoding result of the instruction 11. Address "101" is generated.

このとき、さらに、デコードサイクルdlIlで命令■
がデコートされるとともにマイクロ命令Vがフェッチサ
イクルf、で制御記憶部から取り出される。続いて、時
刻t、に、バスアクセスステージのバスアクセスサイク
ルBu、て4バイト分ストリンクテータを読み込む(ス
テップ5B)とともに、命令田のテコード結果に基づい
てアドレス計算実行サイクルa□で読込み終了か否かを
判断する。
At this time, the instruction ■
is decoded and the microinstruction V is fetched from the control store in a fetch cycle f. Next, at time t, 4 bytes of string data are read in the bus access cycle Bu of the bus access stage (step 5B), and the reading is completed in the address calculation execution cycle a□ based on the result of the code in the instruction field. Decide whether or not.

この場合、ストリングデータはまた5バイト残ってυ・
るので読込み継続と判断し、命令ivへ分岐する(ステ
ップ5C)。次に、時刻も、に、演算実行ステージの演
算実行サイクルe1で演算が実行されるとともに、カウ
ンタの内容を゛″4″4″減算めのマイクロ命令1■が
フェッチサイクルf6て制御記憶部から取り出される。
In this case, 5 bytes of string data remain υ・
Therefore, it is determined to continue reading and branches to instruction iv (step 5C). Next, at time, the operation is executed in the operation execution cycle e1 of the operation execution stage, and the microinstruction 1■ to subtract the contents of the counter by ``4''4'' is fetched from the control storage unit in the fetch cycle f6. taken out.

すなわち、マイクロ命令フェッチステージのフェッチサ
イクルfvテフートされるとともに、マイクロ命令j1
がフェッチサイクルf、で制御記憶部から取り出される
。続いて、時刻t7に、命令ivのデコート結果に基づ
いてアドレス計算実行サイクルalVでカウンタの内容
が“9″から“5“に減算される(ステップ5D)。同
時に、デコートサイクル(] IIで命令11がデコー
トされるとともにマイクロ命令市がフェッチサイクルf
IIlで制御記憶部から取り出される。以上ストリング
データを全て読み終わるまで命令il、命令街、命令I
Vが繰り返され、読込み終了と判断されたとき命令Vに
進む。
That is, the fetch cycle fv of the microinstruction fetch stage is carried out, and the microinstruction j1
is retrieved from the control store in a fetch cycle f. Subsequently, at time t7, the contents of the counter are subtracted from "9" to "5" in address calculation execution cycle alV based on the decoding result of instruction iv (step 5D). At the same time, instruction 11 is decoded in the decode cycle (] II and the microinstruction city is decoded in the fetch cycle f
It is retrieved from the control storage at IIl. Instruction il, instruction street, instruction I until all string data has been read.
V is repeated, and when it is determined that reading is complete, the program advances to instruction V.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の情報処理装置は、ストリングデータを読
み込む場合、ストリングデータを全て読み終えたか否か
をマイクロ命令により判断するため、条件分岐命令によ
り分岐が行われると、先取りされた2つのマイクロ命令
か不要となり、この結果、新たに分岐先のマイクロ命令
の取出しが必要となるので、ストリングデータのアクセ
フ、時間の増長が生じるという欠点がある。
When reading string data, the conventional information processing device described above uses a microinstruction to determine whether or not all of the string data has been read. As a result, it is necessary to take out a new branch destination microinstruction, which has the disadvantage that the string data is not accessed and the time required increases.

本発明の目的は上記問題を解決する情報処理装置を提供
することにある。
An object of the present invention is to provide an information processing device that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の情報処理装置は、予め定めた時間の経過毎に制
御記憶部からマイクロ命令を読ゐ出す読出し手段と、前
記予め定めた時間だけ前に前記読み出し手段により読み
出された前記マイクロ命令を解読して制御信号群を生成
する解読手段と、ストリングデータ転送用マイクロ命令
の解読の結果得られる前記制御信号群の少なくとも一部
に基づいて指定される総データ転送量と一回のバスデー
タ転送により転送できる予め定めたバスデータ転送量と
を比較し前記総データ転送量が前記バスデータ転送量よ
り大きい場合には前記取り出し手段および前記解読手段
の動作を停止させると2もに前記総データ転送量分のデ
ータをバス転送するのに必要な回数だけバス転送指示を
前記予め定めた時間の間隔をおいて出力する転送制御手
段と、データを一時的に格納するための格納手段と、前
記バス転送指示に応答して記憶装置と前記格納手段との
間でバスを介してデータ転送を行うバス制御手段とを備
えている。
The information processing device of the present invention includes a reading unit that reads a microinstruction from a control storage unit every time a predetermined time elapses, and a readout unit that reads the microinstruction that was read out by the reading unit the predetermined time ago. a decoder for decoding and generating a group of control signals; and a total data transfer amount specified based on at least a portion of the control signal group obtained as a result of decoding a string data transfer microinstruction, and a single bus data transfer. When the total data transfer amount is larger than the bus data transfer amount, the operations of the extracting means and the decoding means are stopped. transfer control means for outputting bus transfer instructions at predetermined time intervals as many times as necessary to transfer the amount of data to the bus; storage means for temporarily storing data; The storage device includes bus control means for transferring data via a bus between the storage device and the storage means in response to a transfer instruction.

〔実施例〕〔Example〕

次に本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例のマイクロプロ
セッサ20は、マイクロ命令レジスターと、マイクロ命
令デコーダ2と、パイプラインレジスタ3と、ストリン
グアクセスフラフ部4と、減算カウンタ5と、ストリン
ク処理判定部6と、アドレス生成部77,7Fレスレジ
スタ8と、フログラムカダイ9と、パイプライン制御部
10と、バスツクセス制御部11と、リートチータレシ
スター2と、ライトデータレジスター3と、汎用レジス
タポインタ部14と、複数の汎用レジスタを有スる汎用
レジスタ群15と、バスアクセス信号生成部16と、レ
ジスター7.18およびI9とから構成される。各構成
要素にはクロック信号が供給され、これにより各要素は
同期動作する。レジスタ17.18および19の内容は
捻れそれクロック信号に同期してパイプラインレジスタ
3゜レジスタ17および18の内容により更新される。
Referring to FIG. 1, a microprocessor 20 according to an embodiment of the present invention includes a microinstruction register, a microinstruction decoder 2, a pipeline register 3, a string access fluff section 4, a subtraction counter 5, and a string access fluff section 4. Process determination unit 6, address generation unit 77, 7F address register 8, flow program card 9, pipeline control unit 10, bus access control unit 11, read cheater register 2, write data register 3, general purpose register It is composed of a pointer section 14, a general-purpose register group 15 including a plurality of general-purpose registers, a bus access signal generation section 16, and registers 7, 18, and I9. A clock signal is supplied to each component, so that each component operates synchronously. The contents of registers 17, 18 and 19 are updated by the contents of pipeline register 3° registers 17 and 18 in synchronization with the twisted clock signal.

次に本実施例の動作に、ついて第1図から第4図を参照
して説明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 to 4.

第2図は第4図の主記憶装置に格納されたストリングデ
ータSをアク七スするときの動作ヲ示ス流れ図である。
FIG. 2 is a flowchart showing the operation when accessing the string data S stored in the main memory device of FIG. 4.

第3図は第2図の流れ図で示す動作に従ったマイクロプ
ロセッサ20のパイプラインの各ステージ、すなわち、
フェッチステージ。
FIG. 3 shows each stage of the pipeline of microprocessor 20 according to the operation shown in the flowchart of FIG.
fetch stage.

テコートステーシ、アドレス計算実行ステージ。Tecoat station, address calculation execution stage.

バスアクセスステージおよび演算実行ステージの処理の
流れを示す。ここでは、ストリングデータの読み込みに
ついてのみ説明する。
The flow of processing in the bus access stage and the arithmetic execution stage is shown. Here, only reading string data will be explained.

まず、カウンタ5にストリングデータ長°“9パを設定
するためのマイクロ命令I。がフェッチステージのフェ
ッチサイクルfQで制御記憶部(図示せず)から取り出
され、時刻t0に、マイクロ命令レジスタ1に格納され
る。続いて、テコートステーシのテコードサイクルd。
First, a microinstruction I for setting a string data length of ``9'' in the counter 5 is fetched from the control storage unit (not shown) in the fetch cycle fQ of the fetch stage, and is stored in the microinstruction register 1 at time t0. Then, the TECODE cycle d of the TECODE station.

で命令I0はマイクロ命令デコーダ2によりテコードさ
れ、時刻tlに、このデコード結果が制御コマンドとし
てパイプラインレジスタ3に格納される。このとき、同
時に、ストリングデータを読み込むためのマイクロ命令
11がフェッチサイクルf、で制御記憶部から取/)圧
され、時刻t1に、マイクロ命令レジスタlに格納され
る。同時刻t1に、さらに、パイプラインレジスタ3の
内容がレジスタ17に格納すれる。次に2時刻t2に、
パイプラインレジスタ3の内容がレジスタ17に格納さ
れたあと、アドレス計算実行ステージのアドレス計算実
行サイクルaOてレジスタ17内の制御コマンドの一部
がカウンタ5に与えられ、この結果、カウンタ5にスト
リングデータ長“9パが設定される(第2図ステップ2
A)。同時に、命令11はテコードサイクルd1てマイ
クロ命令デフータ2によりテコートされ、時刻t2に、
二のデコード結果がパイプラインレジスタ3に制御コマ
ンドとして格納されるとともに、次のマイクロ命令がフ
ェッチサイクルf2で制御記憶部から取り出され、時刻
t2に、マイクロ命令レジスタ1に格納される。ここで
、パイブラインレジスタ3に格納されたコマンドはON
状態のストリングアクセスフラグ部4を含む。続いて、
時刻t3に、パイプラインレジスタ3の内容がレジスタ
17に格納されたあと、アドレス計算実行サイクルa1
で、レジスタ17に格納された制御コマンドに基づいて
データアドレス“101”がアドレス生成部7にて生成
さり、7ドレスレジスタ8に設定される。同時に、次の
マイクロ命令はデコードサイクルd2でマイクロ命令デ
コーダ2によりデコードされ、時刻t3に、トのテコー
ド結果がパイプラインレジスタ3に制御コマンドとして
格納されるとともに、次々回のマイクロ命令がフェッチ
サイクルf3で制御記憶部から取り出され、時刻t3に
、マイクロ命令レジスタ1に格納される。ここで、スト
リンク処理判定部6は、カウンタ5の内容が“9”であ
りかつストリンクアクセスフラグ部4がON状態である
ことから、今回のアクセスだけてはストリングデータの
全てを読み出せないと判断し、パイプライン制御部]0
にフェッチステージとテコーFステージでの動作を停止
させるよう指示する。すなわち、パイプラインレジスタ
3.プログラムカウンタ9およびマイクロ命令レジスタ
1の内容の更新が止められ、この結果、フェッチサイク
ルf、およびデコードサイクルd2は先送りとなる。た
だし、カウンタ5の内容は“9”から“5″に、今回読
み出される4バイト分に相当する4″だけ減算される。
The instruction I0 is decoded by the microinstruction decoder 2, and the decoding result is stored in the pipeline register 3 as a control command at time tl. At this time, at the same time, a microinstruction 11 for reading string data is fetched from the control storage section in a fetch cycle f, and is stored in the microinstruction register l at time t1. At the same time t1, the contents of the pipeline register 3 are further stored in the register 17. Next, at time t2,
After the contents of the pipeline register 3 are stored in the register 17, part of the control command in the register 17 is given to the counter 5 in the address calculation execution cycle aO of the address calculation execution stage, and as a result, the string data is stored in the counter 5. A long “9” is set (Step 2 in Figure 2).
A). At the same time, instruction 11 is decoded by microinstruction defuuter 2 in decode cycle d1, and at time t2,
The second decoding result is stored in the pipeline register 3 as a control command, and the next microinstruction is taken out from the control storage section in the fetch cycle f2 and stored in the microinstruction register 1 at time t2. Here, the command stored in pipeline register 3 is ON.
Contains a status string access flag section 4. continue,
At time t3, after the contents of pipeline register 3 are stored in register 17, address calculation execution cycle a1
Based on the control command stored in the register 17, the data address "101" is generated by the address generation section 7 and set in the 7 address register 8. At the same time, the next microinstruction is decoded by the microinstruction decoder 2 in the decode cycle d2, and at time t3, the next microinstruction is stored in the pipeline register 3 as a control command, and the next microinstruction is decoded in the fetch cycle f3. It is taken out from the control storage section and stored in the microinstruction register 1 at time t3. Here, since the content of the counter 5 is “9” and the string access flag unit 4 is in the ON state, the string processing determination unit 6 cannot read all of the string data with only this access. The pipeline control unit]0
instructs the fetch stage and leverage F stage to stop. That is, pipeline register 3. Updating of the contents of program counter 9 and microinstruction register 1 is stopped, and as a result, fetch cycle f and decode cycle d2 are postponed. However, the contents of the counter 5 are subtracted from "9" to "5" by 4", which corresponds to the 4 bytes read this time.

さらに、時刻t4では、レジスタ17の内容がレジスタ
18に格納され、レジスタ17の内容に基ツいて、バス
アクセスステージのバスアクセスサイクルB)でバスア
クセスが行われる。すなわち、バスアクセス制御部11
からの指示でバスアクセス信号生成部16においてバス
アクセスに必要な外部制御部信号が生成・出力されると
ともに、読み込まれたデータXがり−Fテデーレシスタ
12に格納される。同時に、アドレス計算実行サイクル
a、゛でアドレスが4バイト加算されて“105“とな
り、時刻t、に、アドレスレジスタ8に格納される。こ
こで、ストリンク処理判定部6は、カウンタ5の内容が
S′“てありかつストリンクアクセスフラグ部4がON
状態であることから、次回もストリングデータのアクセ
スが必要と判断し、パイプライン制御部lOにフェッチ
ステージとテコードステーシの動作の停止を継続させる
よう指示する。ただし、カウンタ5の内容は°゛5”か
ら1”に今回読み出される4バイト分に相当する“4”
だけ減算される。次に、時刻t5では、レジスタ18の
内容がレジスタ19に格納され、レジスタ18の内容に
基づいて、演算実行ステージの演算実行サイクルe1で
リードデータXが汎用レジスタ群15に転送され、汎用
レジスタポインタ部14の内容が更新される。このとき
、同時に、レジスタ18の内容に基づいて、バスアクセ
スサイクルBl′でバスアクセスが行われ、読み込まれ
たデータyがリートデータレソスタ12に格納されると
ともに、アドレス計)E[行サイクルa1″でアドレス
が4バイト加算されて’109’“となり、時刻t5に
、アドレスレジスタ8に格納される。ここで、ストリン
ク処理判定部6はカウンタ5の内容が1”でありかつア
ドレス″109”の最下位2ヒントの値が“01”なの
で残りのストリングデータが次のフロックアドレスにま
たがって存在しないことから、次回でアクセス終了とな
ることを判定しパイプライン制御部10にフェッチステ
ージとテフート′ステージでの動作の停止を解除するよ
う指示する。すなわち、パイプラインレジスタ3.プロ
クラムカウンタ9およびマイクロ命令レジスタ1の内容
が更新され、このためフェッチサイクルf、およびデコ
ードサイクルd2は終了し、通常のパイプライン処理動
作に戻り、ストリンクアクセスフラグ部4はOFF状態
になる。続いて、時刻t、では、レジスタ)9の内容に
基づいて、演算実行サイクルeユてリートデータyが汎
用レノスタ群15に転送され、汎用レジスタポインタ部
14の内容が更新される。同時に、レジスタ]9の内容
に基づいて、バスアクセスサイクルB、″でバスアクセ
スが行われ、読み込まれたデータlがリートデータレシ
スタ12に格納される。さらに、時刻t7では、演算実
行サイクルe1″でリートデータZが汎用しジスタ群1
5に転送され、汎用レジスタポインタ部14の内容が更
新される。従って、ストリングデータSを含むデータx
、yおよびtの読込みが終了することになる(ステップ
2B)。
Furthermore, at time t4, the contents of register 17 are stored in register 18, and based on the contents of register 17, bus access is performed in bus access cycle B) of the bus access stage. That is, the bus access control unit 11
In accordance with instructions from the bus access signal generator 16, external control signals necessary for bus access are generated and output, and the read data is stored in the X-F data register 12. At the same time, the address is added by 4 bytes in address calculation execution cycles a and 2 to become "105", which is stored in the address register 8 at time t. Here, the string processing determination unit 6 determines that the content of the counter 5 is S′“ and the string access flag unit 4 is ON.
Since it is in this state, it is determined that string data access is necessary next time as well, and the pipeline control unit IO is instructed to continue stopping the operations of the fetch stage and the code stage. However, the content of counter 5 changes from °゛5'' to 1'', which corresponds to the 4 bytes read this time.
will be subtracted. Next, at time t5, the contents of register 18 are stored in register 19, and based on the contents of register 18, read data X is transferred to general-purpose register group 15 in operation execution cycle e1 of the operation execution stage, and the general-purpose register pointer The contents of section 14 are updated. At this time, at the same time, based on the contents of the register 18, a bus access is performed in the bus access cycle Bl', the read data y is stored in the read data register 12, and the address counter)E[row cycle a1 '', the address is added by 4 bytes and becomes ``109'', which is stored in the address register 8 at time t5. Here, the string processing determination unit 6 determines that the content of the counter 5 is 1" and the value of the lowest two hints of address "109" is "01", so the remaining string data does not exist across the next block address. Therefore, it determines that the access will be completed next time and instructs the pipeline control unit 10 to release the suspension of operations at the fetch stage and the Tefute' stage.In other words, the pipeline register 3, program counter 9, and microinstruction are The contents of register 1 are updated, and therefore the fetch cycle f and decode cycle d2 are completed, the normal pipeline processing operation returns, and the string access flag unit 4 becomes OFF.Subsequently, at time t, , based on the contents of register) 9, the ret data y is transferred to the general-purpose renostar group 15 in the operation execution cycle e, and the contents of the general-purpose register pointer section 14 are updated.At the same time, based on the contents of register]9, , bus access cycle B,'' bus access is performed, and the read data l is stored in the read data register 12. Furthermore, at time t7, the ret data Z is general-purposed in the operation execution cycle e1'' and the register group 1
5, and the contents of the general-purpose register pointer section 14 are updated. Therefore, data x containing string data S
, y, and t are completed (step 2B).

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明には、ストリングデータへ
のアクセス時に該アクセスの完了を条件分岐マイクロ命
令を使用せずに行えるようにしであるため前記ストリン
グデータへのアクセス時間の短縮を達成できるという効
果がある。
As explained above, the present invention has a feature that when accessing string data, the access can be completed without using a conditional branch microinstruction, so that the access time to the string data can be shortened. effective.

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

第1図は本発明の〜実施例を示す図、第2図は第4図の
主記憶装置に格納されたストリングデータSをアクセス
するときの動作を示す流れ図、第3図は第2図の流れ図
で示す動作に従った本実施例のパイプライン処理の流れ
を示す図、第4図はアクセスされるストリングデータを
示す図、第5図は第4図の主記憶装置に格納されたスト
リングデータSをアクセスするときの動作を示す従来例
の流れ図、第6図(A)および第6図(B)は第5図の
流れ図で示す動作に従った従来例のパイプライン処理の
流れを示す図である。 1・・・・・・マイクロ命令レジスタ、2・・・・・・
マイクロ命令デコーダ、3・・・・・・パイプラインレ
ジスタ、4・・・・・・ストリングアクセスフラグ部、
5・・・・・・減算カウンタ、6・・・・・・ストリン
グ処理判定部、7・・・・・・アドレス生成部、8・・
・・・・アドレスレジスタ、9・・・・フログラムカウ
ンタ、10・・・・・パイプライン制御L11・・・・
・・バスアクセス制御L  12・・・・リードデータ
レジスタ、13・・・・・・ライトデータレシスタ、1
4・・・・・・汎用レジスタポインタ部、15・・・・
・・汎用レジスタ群、16・・・・バスアクセス信号生
成部、17・・・・・・レジスタ、18・ ・レジスタ
、19・・・・・・レジスタ、20・・・・・・マイク
ロプロセッサ。 代理人 弁理士  内 原   晋 ”21)−e;7 t:l ’7’d雫、夕す享 ノ 閃
1 is a diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing the operation when accessing the string data S stored in the main memory device of FIG. 4, and FIG. 3 is a diagram showing an embodiment of the present invention. A diagram showing the flow of the pipeline processing of this embodiment according to the operation shown in the flowchart, FIG. 4 is a diagram showing string data to be accessed, and FIG. 5 is a diagram showing the string data stored in the main storage device of FIG. 4. FIG. 6(A) and FIG. 6(B) are diagrams showing the flow of pipeline processing in the conventional example according to the operation shown in the flowchart of FIG. 5. It is. 1...Microinstruction register, 2...
Microinstruction decoder, 3... Pipeline register, 4... String access flag section,
5... Subtraction counter, 6... String processing determination section, 7... Address generation section, 8...
...Address register, 9...Frogram counter, 10...Pipeline control L11...
... Bus access control L 12 ... Read data register, 13 ... Write data register, 1
4...General-purpose register pointer section, 15...
... General-purpose register group, 16 ... Bus access signal generation unit, 17 ... Register, 18 ... Register, 19 ... Register, 20 ... Microprocessor. Agent Patent Attorney Susumu Uchihara”21)-e;7 t:l '7'd Shizuku, Evening Flash

Claims (1)

【特許請求の範囲】  データを格納するための記憶装置とバスを介して接続
されかつマイクロプログラム制御動作を行なう情報処理
装置において、 予め定めた時間の経過毎に前記マイクロプログラムが格
納された制御記憶部からマイクロ命令を読み出す読出し
手段と、 前記予め定めた時間だけ前に前記読出し手段により読み
出された前記マイクロ命令を解読して制御信号群を生成
する解読手段と、 ストリングデータ転送用マイクロ命令の解読の結果得ら
れる前記制御信号群の少なくとも一部に基づいて指定さ
れる総データ転送量と一回のバスデータ転送により転送
できる予め定めたバスデータ転送量とを比較し前記総デ
ータ転送量が前記バスデータ転送量より大きい場合には
前記読出し手段および前記解読手段の動作を停止させる
とともに前記総データ転送量分のデータをバス転送する
のに必要な回数だけバス転送指示を前記予め定めた時間
の間隔をおいて出力する転送制御手段と、前記データを
一時的に格納するための格納手段と、前記バス転送指示
に応答して前記記憶装置と前記格納手段との間で前記バ
スを介してデータ転送を行うバス制御手段とを含むこと
を特徴とする情報処理装置。
[Scope of Claim] In an information processing device that is connected via a bus to a storage device for storing data and that performs microprogram control operations, the control memory stores the microprogram every predetermined time period. reading means for reading a microinstruction from a string data transfer microinstruction; decoding means for decoding the microinstruction read out by the reading means a predetermined time ago to generate a group of control signals; The total data transfer amount specified based on at least a part of the control signal group obtained as a result of decoding is compared with a predetermined bus data transfer amount that can be transferred by one bus data transfer, and the total data transfer amount is determined. If it is larger than the bus data transfer amount, the operation of the reading means and the decoding means is stopped, and the bus transfer instruction is issued as many times as necessary to transfer the data corresponding to the total data transfer amount over the predetermined time period. transfer control means for outputting the data at intervals of , storage means for temporarily storing the data, and communication between the storage device and the storage means via the bus in response to the bus transfer instruction; An information processing device comprising: bus control means for transferring data.
JP22616890A 1990-08-28 1990-08-28 Information processor Pending JPH04107632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22616890A JPH04107632A (en) 1990-08-28 1990-08-28 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22616890A JPH04107632A (en) 1990-08-28 1990-08-28 Information processor

Publications (1)

Publication Number Publication Date
JPH04107632A true JPH04107632A (en) 1992-04-09

Family

ID=16840941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22616890A Pending JPH04107632A (en) 1990-08-28 1990-08-28 Information processor

Country Status (1)

Country Link
JP (1) JPH04107632A (en)

Similar Documents

Publication Publication Date Title
US6330661B1 (en) Reducing inherited logical to physical register mapping information between tasks in multithread system using register group identifier
US5652900A (en) Data processor having 2n bits width data bus for context switching function
AU632324B2 (en) Multiple instruction preprocessing system with data dependency resolution
JPS6217252B2 (en)
JPS62245442A (en) Information processor
JP2003085000A (en) Trace information generating apparatus and method
TW202246973A (en) Hardware processor and processor
JPS6044699B2 (en) Special address generator
JP2773471B2 (en) Information processing device
JPH07120278B2 (en) Data processing device
JPH0673105B2 (en) Instruction pipeline type microprocessor
US6542989B2 (en) Single instruction having op code and stack control field
JPH03233630A (en) Information processor
JP2556182B2 (en) Data processing device
JP2690406B2 (en) Processor and data processing system
JP3490005B2 (en) Instruction control apparatus and method
US6564312B1 (en) Data processor comprising an arithmetic logic unit
JPH0793152A (en) Microprocessor control unit
JPH0769806B2 (en) Data processing device
JPH0222413B2 (en)
JP2877468B2 (en) Electronic computer
US5787276A (en) Microprocessor including circuit for generating signal used for tracing executed instruction stream
JP3490191B2 (en) calculator
JP2901247B2 (en) Discharge control method
KR960016401B1 (en) Page selecting circuit of register pages using register page pointer