[go: up one dir, main page]

JPS63233429A - Additional processor control system - Google Patents

Additional processor control system

Info

Publication number
JPS63233429A
JPS63233429A JP6737787A JP6737787A JPS63233429A JP S63233429 A JPS63233429 A JP S63233429A JP 6737787 A JP6737787 A JP 6737787A JP 6737787 A JP6737787 A JP 6737787A JP S63233429 A JPS63233429 A JP S63233429A
Authority
JP
Japan
Prior art keywords
operand
processor
pointer information
buffers
command
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
JP6737787A
Other languages
Japanese (ja)
Inventor
Satoshi Ishii
智 石井
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 JP6737787A priority Critical patent/JPS63233429A/en
Publication of JPS63233429A publication Critical patent/JPS63233429A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To allow a master processor to transfer operands in parallel with the arithmetic processing of an additional processor by providing the additional processor with many operand buffers to use the buffers for the transfer and operation of operands. CONSTITUTION:An operand buffer group 22 consisting of plural operand buffers stores operands and a command register 23 stores pointer information specifying a command and one operand buffer 22-1 out of plural operand buffers 22-1-22-n. A computing element 21 executes operation by using the operand stored in the operand buffer 22-1 specified by the pointer information stored in the command register 23 on the basis of the command stored in the register 23. An identification register 11 stores the pointer information specifying one operand buffer 22-1 in the operand buffer group 22. The computing element 21 executes operation on the basis of the pointer information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は付加プロセッサ制御方式に関し、特に主プロセ
ッサから付加プロセッサへのオペランドの転送制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an attached processor control scheme, and more particularly to an operand transfer control scheme from a main processor to an attached processor.

(従来の技術〕 従来、この種の付加プロセッサ制御方式では、付加プロ
セッサはオペランドバッファを1個だけ設けられており
、付加プロセッサで先の命令の演算処理中に主プロセッ
サが次の命令で使用するオペランドを付加プロセッサに
転送すると、オペランドバッファに格納された先の命令
で使用するオペランドが書き替えられて正常な演算結果
が得られなくなるおそれがある。このため、主プロセッ
サは、付加プロセッサにおいて先の命令の演算処理が終
了する薫で次の命令のオペランドの転送処理を待ち合わ
せなければならなかった。
(Prior Art) Conventionally, in this type of attached processor control system, the attached processor is provided with only one operand buffer, which is used by the main processor for the next instruction while the attached processor is processing the previous instruction. When an operand is transferred to an attached processor, the operand used in the previous instruction stored in the operand buffer may be rewritten and a normal operation result may not be obtained.Therefore, the main processor transfers the operand stored in the operand buffer to the previous instruction. It was necessary to wait for the next instruction's operand transfer process at the time when the instruction's arithmetic processing was completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の付加プロセッサ制御方式では、付加プロ
セッサにオペランドバッファが1個しが設けられておら
ず主プロセッサは付加プロセッサにおいて先の命令の演
算処理が終了するまで次の命令のオペランドの転送処理
を待ち合わせなければならなかったので、主プロセッサ
におけるオペランドの転送処理と付加プロセッサにおけ
る演算処理とを並行して行うことができず、情報処理シ
ステムの処理速度が低下するという欠点がある。
In the conventional attached processor control method described above, the attached processor is not provided with one operand buffer, and the main processor transfers the operands of the next instruction until the attached processor completes the arithmetic processing of the previous instruction. Since a wait has to be made, operand transfer processing in the main processor and arithmetic processing in the additional processor cannot be performed in parallel, resulting in a disadvantage that the processing speed of the information processing system is reduced.

本発明の目的は、上述の点に層み、付加プロセッサに複
数のオペランドバッファを設けることにより、主プロセ
ッサにおけるオペランドの転送のための待合せ時間をな
くして情報処理システムの処理の高速化を図るようにし
た付加プロセッサ制御方式を提供することにある。
An object of the present invention is to build on the above points and provide a plurality of operand buffers in an additional processor, thereby eliminating the waiting time for operand transfer in the main processor and speeding up the processing of an information processing system. The purpose of the present invention is to provide an additional processor control method that allows the user to control the added processor.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の付加プロセッサ制御方式では、主プロセッサと
付加プロセッサとがアドレスバス、データバスおよび制
御信号バスを介して接続された情報処理システムにおい
て、前記付加プロセッサが、オペランドを格納する複数
のオペランドバッファと、コマンドおよび前記複数のオ
ペランドパ7フアのうちの1つのオペランドバッファを
指示するポインタ情報を格納するコマンドレジスタと、
このコマンドレジスタに格納されたコマンドに基づいて
前記コマンドレジスタに格納されたポインタ情報が指示
するオペランドバッフ1に格納されたオペランドを使用
して演算を行う演算器とを含み、前記主プロセッサが、
前記複数のオペランドバッファのうちの1つのオペラン
ドバッファを指示するポインタ情報を格納する識別レジ
スタを含む。
In the additional processor control method of the present invention, in an information processing system in which a main processor and an additional processor are connected via an address bus, a data bus, and a control signal bus, the additional processor has a plurality of operand buffers that store operands. , a command register storing pointer information indicating a command and one operand buffer of the plurality of operand buffers;
an arithmetic unit that performs an operation based on the command stored in the command register using an operand stored in an operand buffer 1 indicated by pointer information stored in the command register, the main processor comprising:
It includes an identification register that stores pointer information pointing to one of the plurality of operand buffers.

〔作用〕[Effect]

本発明の付加プロセッサ制御方式では、複数のオペラン
ドパ7フアがオペランドを格納し、コマンドレジスタが
コマンドおよび複数のオペランドバッファのうちの1つ
のオペランドバッファを指示するポインタ情報を格納し
、演算器がコマンドレジスタに格納されたコマンドに基
づいてコマンドレジスタに格納されたポインタ情報が指
示するオペランドバッファに格納されたオペランドを使
用して演算を行い、識別レジスタが複数のオペランドバ
ッファのうちの1つのオペランドバッファを指示するポ
インタ情報を格納する。
In the attached processor control method of the present invention, a plurality of operand buffers store operands, a command register stores a command and pointer information indicating one of the plurality of operand buffers, and an arithmetic unit stores operands. Based on the command stored in the register, an operation is performed using the operand stored in the operand buffer indicated by the pointer information stored in the command register, and the identification register selects one of the multiple operand buffers. Stores pointer information.

〔実施例〕〔Example〕

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

図は、本発明の一実施例の付加プロセッサ制御方式が適
用された情報処理システムを示すブロック図である。こ
の情報処理システムは、主プロセッサ1と付加プロセッ
サ2とがアドレスバス100゜データバス101および
制御信号バス102を介して接続されて構成されている
FIG. 1 is a block diagram showing an information processing system to which an additional processor control method according to an embodiment of the present invention is applied. This information processing system includes a main processor 1 and an additional processor 2 connected via an address bus 100°, a data bus 101, and a control signal bus 102.

付加プロセッサ2は、オペランドを格納するn(正整数
)個のオペランドバッファ22、 、22−2、・・・
、22−nからなるオペランドバッファ群22と、コマ
ンドおよびオペランドバッファ群22のオペランドバッ
ファ22、.22−2.・・・、22−nのうちの1つ
のオペランドバッファ22、を指示する情報(以下、ポ
インタ情報と称する)  i  (iは1:Si≦nの
正整数)を格納するコマンドレジスタ23と、コマンド
レジスタ23に格納されたコマンドに基づいてコマンド
レジスタ23に格納されたポインタ情liが指示するオ
ペランドバッファ22、に格納されたオペランドを使用
して演算を行う演算器21とを含んで構成されている。
The attached processor 2 has n (positive integer) operand buffers 22, 22-2, . . . that store operands.
, 22-n, and the operand buffers 22, . . . , 22-n of the command and operand buffer group 22. 22-2. ..., 22-n, a command register 23 that stores information (hereinafter referred to as pointer information) i (i is a positive integer of 1: Si≦n), and a command It is configured to include an operand buffer 22 indicated by the pointer information li stored in the command register 23 based on the command stored in the register 23, and an arithmetic unit 21 that performs calculations using the operands stored in the command register 23. .

主プロセッサ1は、付加プロセッサ2のオペランドバッ
ファ群22のn個のオペランドバッファ22、.22−
2.・・・、22−nのうちの1つのオペランドバッフ
ァ22、を指示するためのポインタ情報iを格納する識
別レジスタ11を含んで構成されている。なお、識別レ
ジスタ11は、n個のオペランドバッフ722、 、2
2−2 、−、22− nを識別するために、少なくと
も25≧nの関係を満足するようなビット幅すを有する
ように構成されている。
The main processor 1 has n operand buffers 22, . 22-
2. . . , 22-n. Note that the identification register 11 has n operand buffers 722, , 2
In order to identify 2-2, -, 22-n, the bit width is configured to satisfy at least the relationship 25≧n.

る。Ru.

次ば、このように構成された本実施例の付加プロセッサ
制御方式の動作について説明する。
Next, the operation of the additional processor control system of this embodiment configured as described above will be explained.

付加プロセッサ2を用いて演算を行おうとする場合には
、主プロセッサ1は、識別レジスタ11に格納されてい
るポインタ情!li iをアドレスバス100の一部に
出力し、オペランドをデータバス101に出力し、書込
みを指示する信号を制御信号バス102に出力する。こ
の結果、付加プロセッサ2では、オペランドバッファ群
22のうちの1つのオペランドハソフ722−iが指定
され、このオペランドバッファ22、にオペランドが書
き込まれる。
When attempting to perform an operation using the additional processor 2, the main processor 1 uses the pointer information stored in the identification register 11! li i is output to a part of the address bus 100, an operand is output to the data bus 101, and a signal instructing writing is output to the control signal bus 102. As a result, in the additional processor 2, one of the operand buffers 722-i of the operand buffer group 22 is designated, and the operand is written into this operand buffer 22.

次に、主プロセッサ1は、コマンドレジスタ23を措定
するアドレスをアドレスバス100に出力し、付加プロ
セッサ2が実行すべき演算を指示するコマンドと識別レ
ジスタ11に格納されたポインタ情II iとをデータ
バス101に出力し、書込みを指示する信号を制御信号
バス102に出力する。この結果、付加プロセッサ2で
は、コマンドレジスタ23にコマンドおよびポインタ情
報iが書き込まれる。
Next, the main processor 1 outputs the address specifying the command register 23 to the address bus 100, and sends the command instructing the operation to be executed by the additional processor 2 and the pointer information IIi stored in the identification register 11 to the data. A signal instructing writing is output to the control signal bus 102. As a result, the command and pointer information i are written into the command register 23 in the additional processor 2.

続いて、付加プロセッサ2は、コマンドレジスタ23に
格納されたコマンドおよびポインタ情報jによって演算
の種類と使用するオペランドバッファ22、とが指示さ
れるので、指示された演算を指示されたオペランドパ・
ノファ22、に格納されたオペランドを使用して演算器
21により実行する。
Subsequently, the attached processor 2 is instructed as to the type of operation and the operand buffer 22 to be used by the command and pointer information j stored in the command register 23, so the attached processor 2 performs the specified operation using the specified operand buffer 22.
The operation is executed by the arithmetic unit 21 using the operands stored in the node 22.

なお、この際、指示されたオペランドバッファ22、以
外の他のオペランドバッファ22、.・・・。
Note that at this time, other operand buffers 22, . ....

22− (i、)、 22− (i+1) 、・・・、
22−nが使用されないことはいうまでもない。
22- (i,), 22- (i+1),...
It goes without saying that 22-n is not used.

付加プロセッサ2へのコマンドおよびポインタ情報iの
転送が完了すると、主プロセッサ1は識別レジスタ11
に格納されたポインタ情報iを主プロセッサ1が有する
演算器(図示せず)等を用いて+1だけ加算して(i+
1)にする。なお、この加算はnを法とする加算として
行われ、(i+1)がn以上になる場合にはサイクリッ
クに1に戻る。
When the transfer of the command and pointer information i to the additional processor 2 is completed, the main processor 1 transfers the identification register 11
The pointer information i stored in
1). Note that this addition is performed as an addition modulo n, and when (i+1) becomes n or more, it cyclically returns to 1.

次の命令で使用するオペランドを付加プロセッサ2に転
送する場合に番よ、生プロセッサ1は、識別レジスタ1
1に格納されているポインタ1n報(i+1)をアドレ
スバス100の一部に出力してオペランドバッファ群2
2のうちの次のオペランドバッファ22−(i+1)を
指定する′。このため、たとえ先に転送したオペランド
を使用した/iI算処理が付加プロセッサ2において実
行中であったとしても、先に指定したオペランドバッフ
ァ22、のオペランドが書き替えられることはない。し
たがって、主プロセンサlは、次の/iI算に使用する
オペランドの付加プロセッサ2への転送を待ち合わせる
必要はない。
When transferring operands to be used in the next instruction to attached processor 2, raw processor 1 transfers the identification register 1
The pointer 1n information (i+1) stored in the operand buffer group 2 is output to a part of the address bus 100.
2' specifies the next operand buffer 22-(i+1). Therefore, even if the /iI arithmetic processing using the previously transferred operand is being executed in the additional processor 2, the previously designated operand in the operand buffer 22 will not be rewritten. Therefore, the main processor l does not need to wait for the transfer of the operands to be used in the next /iI calculation to the additional processor 2.

このように本実施例の付加プロセッサ制御方式では、主
プロセッサ1がオペランドの転送のために指定するオペ
ランドバッファ22、がオペランドバッファ群22のn
個のオペランドパ、ファ22、.22−2.・・・、2
2−nの間で順次サイクリックに変化するので、オペラ
ンドの書替えにより先の命令の演算処理と次の命令の演
算処理とが干渉するというおそれはない。
In this way, in the additional processor control system of this embodiment, the operand buffer 22 designated by the main processor 1 for operand transfer is
operand parameters, F22, . 22-2. ..., 2
Since the number changes cyclically between 2 and n, there is no fear that rewriting the operand will interfere with the arithmetic processing of the previous instruction and the arithmetic processing of the next instruction.

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

以上説明したように本発明は、付加プロセッサに複数の
オペランドバッファを設けこれら複数のオペランドバッ
ファのうちの1つのオペランドバッファを主プロセッサ
から指定してオペランドの転送および演算に使用するこ
とにより、主プロセッサは付加プロセッサにおける演算
処理と並行してオペランドの転送処理を行うことができ
るようになり、主プロセッサが付加プロセッサへのオペ
ランドの転送処理を先の命令の演算処理が完了するまで
待ち合わせる必要がなくなって情報処理システムの処理
の高速化を図ることができる効果がある。
As explained above, the present invention provides a plurality of operand buffers in the additional processor, and designates one of the plurality of operand buffers from the main processor and uses it for operand transfer and calculation. is now able to perform operand transfer processing in parallel with the arithmetic processing in the attached processor, eliminating the need for the main processor to wait until the operation processing of the previous instruction is completed before transferring the operand to the attached processor. This has the effect of speeding up the processing of the information processing system.

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

図は本発明の一実施例の付加プロセッサ制御方式が適用
された情報処理システムを示すブロック図である。 図において、 1・・・主プロセッサ、 2・・・付加プロセッサ、 11・・・識別レジスタ、 21・・・演算器、 22・・・オペランドバッファ群、 22、〜22−n・・・オペランドバッファ、23・・
・コマンドレジスタ、 100  ・・アドレスバス、 101  ・・データバス、 102 ・・制御信号バスである。
The figure is a block diagram showing an information processing system to which an additional processor control method according to an embodiment of the present invention is applied. In the figure, 1... Main processor, 2... Additional processor, 11... Identification register, 21... Arithmetic unit, 22... Operand buffer group, 22, to 22-n... Operand buffer , 23...
・Command register, 100: address bus, 101: data bus, 102: control signal bus.

Claims (1)

【特許請求の範囲】 主プロセッサと付加プロセッサとがアドレスバス、デー
タバスおよび制御信号バスを介して接続された情報処理
システムにおいて、 前記付加プロセッサが、オペランドを格納する複数のオ
ペランドバッファと、コマンドおよび前記複数のオペラ
ンドバッファのうちの1つのオペランドバッファを指示
するポインタ情報を格納するコマンドレジスタと、この
コマンドレジスタに格納されたコマンドに基づいて前記
コマンドレジスタに格納されたポインタ情報が指示する
オペランドバッファに格納されたオペランドを使用して
演算を行う演算器とを含み、 前記主プロセッサが、前記複数のオペランドバッファの
うちの1つのオペランドバッファを指示するポインタ情
報を格納する識別レジスタを含むことを特徴とする付加
プロセッサ制御方式。
[Scope of Claim] An information processing system in which a main processor and an additional processor are connected via an address bus, a data bus, and a control signal bus, wherein the additional processor has a plurality of operand buffers that store operands, commands and a command register that stores pointer information that points to one of the plurality of operand buffers; and a command register that stores pointer information that points to one of the plurality of operand buffers; and a command register that stores pointer information that points to one of the plurality of operand buffers; and a command register that stores pointer information that points to one of the plurality of operand buffers; an arithmetic unit that performs an operation using stored operands, and the main processor includes an identification register that stores pointer information indicating one of the plurality of operand buffers. Additional processor control method.
JP6737787A 1987-03-20 1987-03-20 Additional processor control system Pending JPS63233429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6737787A JPS63233429A (en) 1987-03-20 1987-03-20 Additional processor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6737787A JPS63233429A (en) 1987-03-20 1987-03-20 Additional processor control system

Publications (1)

Publication Number Publication Date
JPS63233429A true JPS63233429A (en) 1988-09-29

Family

ID=13343261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6737787A Pending JPS63233429A (en) 1987-03-20 1987-03-20 Additional processor control system

Country Status (1)

Country Link
JP (1) JPS63233429A (en)

Similar Documents

Publication Publication Date Title
JPH01237864A (en) Dma transfer controller
JPH0268632A (en) Interruption controller
JPH0760423B2 (en) Data transfer method
JP3144842B2 (en) Microprocessor
JPS63233429A (en) Additional processor control system
JPH05282242A (en) Bus control system
JP2511146B2 (en) Data processing device
JP4134371B2 (en) I/O bus bridge device
JP2710219B2 (en) DMA controller
JPS62237556A (en) Dma data transfer system
JP2657947B2 (en) Data processing device
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH0443298B2 (en)
JP2553756B2 (en) Information processing device
JPS633338A (en) Pipeline register
JPH0661039B2 (en) Memory access control circuit
JPH0685166B2 (en) Instruction control method for multiprocessor system
JPH03223955A (en) Information processing system
JPS61120262A (en) Inter-memory intelligent dma controller
JPS6057603B2 (en) arithmetic processing unit
JPH06103065A (en) Instruction prefetch device
JPS63198143A (en) Data transfer controller
JPH0752416B2 (en) Microcomputer system
JPS63133257A (en) Multi-processor system
JPS61253538A (en) Arithmetic circuit