Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0623977B2 - Vector processor - Google Patents
[go: Go Back, main page]

JPH0623977B2 - Vector processor - Google Patents

Vector processor

Info

Publication number
JPH0623977B2
JPH0623977B2 JP21613084A JP21613084A JPH0623977B2 JP H0623977 B2 JPH0623977 B2 JP H0623977B2 JP 21613084 A JP21613084 A JP 21613084A JP 21613084 A JP21613084 A JP 21613084A JP H0623977 B2 JPH0623977 B2 JP H0623977B2
Authority
JP
Japan
Prior art keywords
vector
register
data transfer
unit
circuit
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.)
Expired - Lifetime
Application number
JP21613084A
Other languages
Japanese (ja)
Other versions
JPS6195477A (en
Inventor
八穂子 ▲吉▼田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21613084A priority Critical patent/JPH0623977B2/en
Publication of JPS6195477A publication Critical patent/JPS6195477A/en
Publication of JPH0623977B2 publication Critical patent/JPH0623977B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、ベクトル処理装置に関する。Description: FIELD OF THE INVENTION The present invention relates to a vector processing device.

〔発明の背景〕[Background of the Invention]

従来のベクトル処理装置では、処理速度を上げる為に、
ベクトル演算器や主記憶装置とベクトルレジスタ間のデ
ータ転送を司さどるデータ転送回路を複数個有する。
In the conventional vector processing device, in order to increase the processing speed,
It has a plurality of data transfer circuits that control the data transfer between the vector arithmetic unit and the main memory and the vector register.

しかし、実際のベクトル処理を構成するベクトル命令群
においては、同時に実行できるベクトル命令の数が少な
く、これら複数のベクトル演算器やデータ転送回路を同
時に使用できず、ベクトル演算器の使用効率が低く、処
理の高速化が期待できない欠点がある。なお従来例とし
て特開昭58-114274号記載のベクトル処理装置がある。
However, in the vector instruction group that constitutes the actual vector processing, the number of vector instructions that can be executed at the same time is small, these vector operation units and data transfer circuits cannot be used at the same time, and the use efficiency of the vector operation units is low, There is a drawback that speedup of processing cannot be expected. As a conventional example, there is a vector processing device described in JP-A-58-114274.

〔発明の目的〕[Object of the Invention]

本発明の目的は、ベクトル演算器やデータ転送回路の使
用効率を高め、処理の高速化を図り、またベクトル演算
器やデータ転送回路の増設時の管理も容易なベクトル処
理装置を提供することにある。
An object of the present invention is to provide a vector processing device which enhances the use efficiency of the vector arithmetic unit and the data transfer circuit, speeds up the processing, and is easy to manage when adding the vector arithmetic unit and the data transfer circuit. is there.

〔発明の概要〕[Outline of Invention]

本発明では、複数のベクトルレジスタと複数のベクトル
演算器と複数のデータ転送回路とを備えるベクトル処理
装置において、複数のベクトルレジスタと少なくとも1
つのベクトル演算器と少なくとも1つのデータ転送回路
を含むベクトル演算処理ユニットを複数用意し、1つの
ベクトル命令を実行するに際し、各ベクトル演算処理ユ
ニット毎に処理すべきベクトル要素数を指示し、全体と
して本来処理すべき要素の数だけベクトル処理を行うこ
とを可能としたものである。
According to the present invention, in a vector processing device including a plurality of vector registers, a plurality of vector operation units, and a plurality of data transfer circuits, a plurality of vector registers and at least one
A plurality of vector operation processing units including one vector operation unit and at least one data transfer circuit are prepared, and when executing one vector instruction, the number of vector elements to be processed is designated for each vector operation processing unit, and as a whole, It is possible to perform vector processing by the number of elements to be processed originally.

また、各ベクトル演算処理ユニットのデータ転送回路、
ベクトルレジスタ、およびベクトル演算器を、他のベク
トル演算処理ユニットのデータ転送回路、ベクトルレジ
スタ、およびベクトル演算器に夫々対応付け、各ベクト
ル演算処理ユニット内の、データ転送回路を1つづつ含
む複数のベクトルレジスタ群、ベクトル演算器を1つづ
つ含む複数のベクトル演算器群、データ転送回路を1つ
づつ含む複数のデータ転送回路群を構成し、この群単位
で、ベクトル命令に対して行う要素並列演算に必要なベ
クトルレジスタ、ベクトル演算器、データ転送回路を選
ぶようにし、ベクトル演算処理ユニット単位での増設を
容易にしたものである。
In addition, the data transfer circuit of each vector arithmetic processing unit,
The vector register and the vector arithmetic unit are respectively associated with the data transfer circuits, vector registers, and vector arithmetic units of other vector arithmetic processing units, and a plurality of vector transfer processing units each including one data transfer circuit are provided. A vector register group, a plurality of vector operation unit groups each including one vector operation unit, and a plurality of data transfer circuit groups each including one data transfer circuit are configured, and the element parallel operation for the vector instruction is performed in group units. The vector register, the vector arithmetic unit, and the data transfer circuit required for the arithmetic are selected to facilitate the expansion in the vector arithmetic processing unit.

〔発明の実施例〕Example of Invention

以下、本発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明のベクトル処理装置の一実施例を示す
全体の構成図であり、1は主記憶装置、2は記憶制御ユ
ニット、3はスカラー演算処理ユニット、4〜7はそれ
ぞれベクトル演算処理ユニット、8はベクトル演算処理
ユニット4〜7の動作を制御するベクトル演算制御ユニ
ットである。スカラー演算処理ユニット3は、この分野
でよく知られた通常の演算処理機能を備えたものであ
る。ベクトル演算処理ユニット4〜7の各々は、複数の
ベクトルレジスタ9,1つ又は複数のベクトル演算器1
0,記憶装置制御ユニット2を介して主記憶装置1との
間でデータの転送を行なうデータ転送回路11〜13,ベク
トルレジスタ9とベクトル演算器10あるいはデータ転送
回路11〜13との間のデータパスを形成する接続パス選択
回路24,25,これらの要素と接続されベクトル演算処理
ユニット全体の動作を制御する命令実行制御部15を含ん
でいる。
FIG. 1 is an overall configuration diagram showing an embodiment of a vector processing device of the present invention. 1 is a main storage device, 2 is a storage control unit, 3 is a scalar operation processing unit, and 4 to 7 are vector operations, respectively. The processing unit 8 is a vector operation control unit that controls the operations of the vector operation processing units 4 to 7. The scalar arithmetic processing unit 3 has an ordinary arithmetic processing function well known in this field. Each of the vector arithmetic processing units 4 to 7 has a plurality of vector registers 9, one or a plurality of vector arithmetic units 1
0, data transfer circuits 11 to 13 for transferring data to and from the main storage device 1 via the storage device control unit 2, data between the vector register 9 and the vector calculator 10 or the data transfer circuits 11 to 13 It includes connection path selection circuits 24 and 25 that form a path, and an instruction execution control unit 15 that is connected to these elements and controls the operation of the entire vector arithmetic processing unit.

図では、ベクトル演算処理ユニット4のみ詳しく示して
あるが、他のベクトル演算処理ユニット5〜7も同じ構
成である。
Although only the vector operation processing unit 4 is shown in detail in the figure, the other vector operation processing units 5 to 7 have the same configuration.

なお、データ転送回路11と12はフエッチ用、データ転送
回路13はストア用である。また、接続パス選択回路24,2
5は図ではベクトル演算処理ユニット毎に独立している
が、全てのベクトル演算処理ユニット間を接続してあっ
てもよい。
Note that the data transfer circuits 11 and 12 are for futish, and the data transfer circuit 13 is for store. Also, the connection path selection circuit 24,2
Although 5 is independent for each vector operation processing unit in the figure, all the vector operation processing units may be connected.

第1図のシステムでは、スカラー演算処理ユニット3が
あるタスクを処理していて、その途中でベクトル処理を
行なわなければならなくなった場合、それをベクトル演
算制御ユニット8を介してベクトル演算処理ユニット4
〜7に処理させるようになっている。
In the system shown in FIG. 1, when the scalar arithmetic processing unit 3 is processing a certain task and vector processing has to be performed in the middle of the task, the scalar arithmetic processing unit 3 transmits it via the vector arithmetic processing unit 8 to the vector arithmetic processing unit 4.
~ 7 to process.

スカラー演算処理ユニット3で次のプログラムが実行さ
れる場合を考えてみる。
Consider the case where the following program is executed by the scalar arithmetic processing unit 3.

DO 10 I=1,100 10 A(1)=B(1)+C(1) これは機械語では、以下のように1つのLIN(Load I
nclement)命令と3つのLMA(Load Multiple Addres
s)命令と1つのEXVP(Execute Vector Processor)命
令に展開され、スカラー演算処理ユニット3でそれぞれ
実行される。
DO 10 I = 1,100 10 A (1) = B (1) + C (1) This is one LIN (Load I
nclement) command and three LMAs (Load Multiple Addres)
s) instruction and one EXVP (Execute Vector Processor) instruction, which are respectively executed by the scalar arithmetic processing unit 3.

LININR0,INR2,INR4 :インクレメントレジスタINR0,INR2,INR4にそれぞれ
定数をセットすることを指令(インクレメントレジスタ
は後述するようにベクトル演算制御ユニット8の中に用
意される。) LMA VAR0 :行列Aの先頭アドレスをベクトルアドレスレジスタVA
R0にセットすることを指令。
LININR0, INR2, INR4: Command to set constants in increment registers INR0, INR2, INR4 (increment register is prepared in vector operation control unit 8 as described later.) LMA VAR0: Matrix A Start address of vector address register VA
Command to set to R0.

(ベクトルアドレスレジスタは後述するようにベクトル
演算制御ユニット8の中に用意される。) LMA VAR2 :行列Bの先頭アドレスをベクトルアドレスレジスタVA
R2にセットすることを指令。
(The vector address register is prepared in the vector operation control unit 8 as described later.) LMA VAR2: The start address of the matrix B is the vector address register VA
Command to set to R2.

LMA VAR4 :行列Cの先頭アドレスをベクトルアドレスレジスタVA
R4にセットすることを指令。
LMA VAR4: Matrix C start address is vector address register VA
Command to set to R4.

EXVP X :処理すべきベクトル要素数はLであることを指令する
とともに、主記憶装置1のアドレスXを先頭アドレスと
して、そこからベクトル命令列を読出してそれをベクト
ル演算制御ユニット8に送出することを指令。
EXVP X: Instructing that the number of vector elements to be processed is L, reading the vector instruction sequence from the address X of the main memory 1 as the start address, and sending it to the vector operation control unit 8. Order.

上記のLIN,LMA命令により、行列A,B,Cに関するア
ドレス制御データがベクトル演算制御ユニット8内のベ
クトルアドレスレジスタとインクレメントレジスタの中
にセットされ、またEXVP命令によりベクトル命令列の読
出しが行なわれる。このベクトル命令列は、以下のよう
に、2つのLVR(Load Vector Register)命令と1つのV
EA(Vector Elementwise Add)命令と1つのSTVR(Stor
e Vector Register)命令とからなっている。
The address control data relating to the matrices A, B, and C are set in the vector address register and increment register in the vector operation control unit 8 by the above LIN and LMA instructions, and the vector instruction string is read by the EXVP instruction. Be done. This vector command sequence consists of two LVR (Load Vector Register) commands and one V
EA (Vector Elementwise Add) instruction and one STVR (Stor
e Vector Register) instructions.

LVR VR2,VAR2,INR2 :ベクトルアドレスレジスタVAR2とインクレメントレジ
スタINR2にそれぞれセットされた行列Bの先頭アドレス
と定数とに基づいて主記憶装置1のアドレスを作成し、
そこから行列Bのデータを読出し、それをベクトルレジ
スタVR2にセットすることを指令。
LVR VR2, VAR2, INR2: An address of the main memory 1 is created based on the head address and the constant of the matrix B set in the vector address register VAR2 and the increment register INR2, respectively.
Command to read the data of matrix B from there and set it in vector register VR2.

なお、前記定数はアドレスの増分値として使用されるも
のであり、以下同様とする。
The constant is used as the increment value of the address, and the same applies hereinafter.

LVR VR4,VAR4,INR4 :ベクトルアドレスレジスタVAR4とインクレメントレジ
スタINR4にそれぞれセットされた行列Cの先頭アドレス
と定数とに基づいて主記憶装置1のアドレスを作成し、
そこから行列Cのデータを読出し、それをベクトルレジ
スタVR4にセットすることを指令。
LVR VR4, VAR4, INR4: An address of the main memory 1 is created based on the head address and the constant of the matrix C set in the vector address register VAR4 and the increment register INR4, respectively.
Command to read the data of matrix C from there and set it in vector register VR4.

VEA VR6,VR2,VR4 :ベクトルレジスタVR2とVR4からそれぞれ行列BとCを
読出し、両者の加算を行なって結果をベクトルレジスタ
VR6にセットすることを指令。
VEA VR6, VR2, VR4: Matrix B and C are read from vector registers VR2 and VR4, respectively, and both are added and the result is a vector register.
Commanded to set to VR6.

STVR VR6,VAR0,INR0 :ベクトルレジスタVR6からデータを読出し、それをベ
クトルアドレスレジスタVAR0とインクレメントレジスタ
INR0にそれぞれセットされた行列Aの先頭アドレスと定
数に基づいて作成した主記憶装置1のアドレスに書込む
ことを指令。
STVR VR6, VAR0, INR0: Read data from vector register VR6, and read it from vector address register VAR0 and increment register
It is instructed to write to the address of the main memory 1 created based on the head address and the constant of the matrix A set in INR0 respectively.

これらベクトル命令は、それぞれベクトル演算制御ユニ
ット8内のベクトル命令バッファ16に送出される。
Each of these vector instructions is sent to the vector instruction buffer 16 in the vector operation control unit 8.

また、ベクトル処理要素数Lはベクトル演算制御ユニッ
ト8内のベクトル長レジスタ17に送出される。
Further, the number L of vector processing elements is sent to the vector length register 17 in the vector operation control unit 8.

第2図は、ベクトル演算制御ユニット8とベクトル演算
処理ユニットの中のデータ転送回路の詳細を示すブロッ
ク図である。ベクトル演算制御ユニット8の動作を第1
図と第2図に基づいて説明する。
FIG. 2 is a block diagram showing details of the vector operation control unit 8 and the data transfer circuit in the vector operation processing unit. First operation of the vector operation control unit 8
It will be described with reference to FIG. 2 and FIG.

上記のようにして、スカラー演算処理ユニット3からベ
クトル命令が入力されたベクトル命令バッファ16に対
し、命令実行判定回路18は、その先頭取出し位置から1
つのベクトル命令を取出し、それが実行可能かどうかを
判定する。
As described above, with respect to the vector instruction buffer 16 to which the vector instruction has been input from the scalar arithmetic processing unit 3, the instruction execution determination circuit 18 makes 1 from the leading fetch position.
Take one vector instruction and determine if it is feasible.

すなわち、表示回路19は、ベクトル演算処理ユニット4
〜7に対し、共通に設けられているもので、その中のベ
クトルレジスタ9、ベクトル演算器10,データ転送回路
11〜13の各々に対応して1個ずつの表示子を備え、それ
らが使用中であるかどうかを表示する。
That is, the display circuit 19 includes the vector arithmetic processing unit 4
7 to 7, a vector register 9, a vector calculator 10, and a data transfer circuit therein are provided.
There is one indicator corresponding to each of 11 to 13 and indicates whether or not they are in use.

例えばベクトルレジスタVR1に対応する表示子は、ベク
トル演算処理ユニット4〜7の各々に対応して設けられ
ているのではなく、1個だけ設けられている。他のもの
についても同様である。
For example, the indicator corresponding to the vector register VR1 is not provided corresponding to each of the vector operation processing units 4 to 7, but only one indicator is provided. The same applies to other items.

命令実行判定回路18は、これら表示子を参照することに
より、取出したベクトル命令で指定されたベクトルレジ
スタ9やそのベクトル命令で指定された演算を行なうた
めのベクトル演算器10等が空いているかどうかを調べ、
必要なものが全て空いていることを検出すると、そのベ
クトル命令は実行可能であると判定する。そしてその場
合には、そのベクトル命令で使用するベクトルレジスタ
9,ベクトル演算器10,データ転送回路11〜13に対応す
る表示子を、それらが使用中を表示するようにセット
し、そのベクトル命令を命令レジスタ20に送出するとと
もに起動制御回路21に起動信号22を送出する。
The instruction execution determination circuit 18 refers to these indicators to determine whether the vector register 9 designated by the fetched vector instruction or the vector computing unit 10 for performing the computation designated by the vector instruction is free. Examine
When it is detected that all necessary items are free, it is determined that the vector instruction can be executed. Then, in that case, the indicators corresponding to the vector register 9, the vector calculator 10, and the data transfer circuits 11 to 13 used in the vector instruction are set so as to indicate that they are in use, and the vector instruction is set. The start signal 22 is sent to the instruction register 20 and the start control circuit 21.

第2図のベクトル命令バッファ16には、スカラー演算処
理ユニット3から送出される1つのベクトル命令のフォ
ーマットを示してある。
The vector instruction buffer 16 shown in FIG. 2 shows the format of one vector instruction sent from the scalar processing unit 3.

また、第2図の命令レジスタ20には、命令実行判定回路
18から送出される1つのベクトル命令のフォーマットを
示してある。
Further, the instruction register 20 shown in FIG.
The format of one vector instruction issued from 18 is shown.

これにおいて、OPは演算の種類を表わすオペレーショ
ンコード、VRN1〜3はベクトルレジスタを指定するベク
トルレジスタ指定部、VARNはベクトルアドレスレジスタ
を指定するベクトルアドレスレジスタ指定部、INRNはイ
ンクレメントレジスタを指定するインクレメントレジス
タ指定部である。
In this case, OP is an operation code indicating the type of operation, VRN1 to 3 are vector register designating parts for designating vector registers, VARN is a vector address register designating part for designating vector address registers, and INRN is an input register for designating increment registers. It is a clement register designating part.

なお、ベクトル命令によっては、ベクトルアドレスレジ
スタ等を使用しないもの(例えば前記VEA命令)があ
り、その場合には、該当の指定部は存在しない。
Some vector instructions do not use a vector address register or the like (for example, the VEA instruction), and in that case, there is no corresponding designated section.

以下、説明の都合上、特に説明のない限り、VRN1〜3は
全て存在するものとして扱う。
Hereinafter, for convenience of explanation, all VRNs 1 to 3 are treated as existing unless otherwise specified.

命令レジスタ20の中のOP、VRN1〜3、VARN、INRNはベク
トル命令バッファ16から送出されたものを命令実行判定
回路18がそのまま出力したものである。ALNとTRNは、共
に命令実行判定回路18で新たに付加されたもので、この
回路で新たに使用中とした表示子に対応するベクトル演
算器やデータ転送回路を指定する演算器指定部、データ
転送回路指定部である。
OP, VRN1-3, VARN, and INRN in the instruction register 20 are those output from the vector instruction buffer 16 and output by the instruction execution determination circuit 18 as they are. ALN and TRN are both newly added in the instruction execution judgment circuit 18, and the arithmetic unit designating part that designates the vector arithmetic unit and the data transfer circuit corresponding to the indicator newly used in this circuit, the data This is a transfer circuit designating unit.

ここで説明するベクトル処理装置は、1つのベクトル命
令をベクトル要素番号に注目して、4個のベクトル演算
処理ユニットで以下の様に分割して処理する。
The vector processing device described here pays attention to a vector element number and processes one vector instruction by dividing it into four vector operation processing units as follows.

即ち、ベクトル要素番号をとすると、 ベクトル要素 ベクトル演算処理ユニット =0,4,8…… 4 =1,5,9…… 5 =2,6,10…… 6 =3,7,11…… 7 という具合に分担するものである。That is, if the vector element number is, vector element vector arithmetic processing unit = 0,4,8 ... 4 = 1,5,9 ... 5 = 2,6,10 ... 6 = 3,7,11. It is divided into 7 and so on.

命令レジスタ20のVARNとINRN以外の部分は各ベクトル演
算処理ユニット4〜7の中の命令実行制御部15に送出さ
れる。命令実行制御部15の各々は、起動制御回路21から
ユニット起動信号23を受けると、命令レジスタ20から受
取った情報に基づき、そのベクトル演算処理ユニットに
ベクトル処理動作を行なわせる。
Portions of the instruction register 20 other than VARN and INRN are sent to the instruction execution control unit 15 in each of the vector operation processing units 4 to 7. Upon receiving the unit activation signal 23 from the activation control circuit 21, each of the instruction execution control units 15 causes the vector arithmetic processing unit to perform the vector processing operation based on the information received from the instruction register 20.

各命令実行制御部15は、実行すべきベクトル命令がLVR
命令やSTVR命令のようにベクトルレジスタ9とデータ転
送回路を使用するベクトル命令の場合には、VRN1〜3の
うちのいずれか(LVR命令やSTVR命令では1つのベクト
ルレジスタだけが使用され、ここではそれをVRN1で指定
するものとする)及びTRNを接続パス選択回路24あるい
は25に送出する。この時、接続パス選択回路24あるいは
25は、VRN1によって指定されるベクトルレジスタ9とT
RNで指定されるデータ転送回路との間の接続パスを選
択し、それを活性化する。そして各命令実行制御部15
は、命令レジスタ20の中のVARNとINRNに基づいて、複数
のベクトルアドレスレジスタ27のうちの1つ及び複数の
インクレメントレジスタ28のうちの1つから、それぞれ
内容を読出させる。
In each instruction execution control unit 15, the vector instruction to be executed is LVR.
In the case of a vector instruction that uses the vector register 9 and the data transfer circuit like the instruction or the STVR instruction, one of VRN1 to 3 (only one vector register is used in the LVR instruction and the STVR instruction. It is designated by VRN1) and TRN are sent to the connection path selection circuit 24 or 25. At this time, the connection path selection circuit 24 or
25 is the vector register 9 and T designated by VRN1
A connection path to the data transfer circuit designated by RN is selected and activated. And each instruction execution control unit 15
Causes each of the contents to be read from one of the plurality of vector address registers 27 and one of the plurality of increment registers 28 based on VARN and INRN in the instruction register 20.

TRNで指定されたデータ転送回路(以下、これをデー
タ転送回路11として説明する)は、ベクトルアドレスレ
ジスタ27から読出した内容をセレクタ29,レジスタ30を
介して、アクセスアドレスとして記憶制御ユニット2に
送出する。
The data transfer circuit designated by TRN (hereinafter, this will be described as the data transfer circuit 11) sends the contents read from the vector address register 27 to the storage control unit 2 as an access address via the selector 29 and the register 30. To do.

一方、その間に、インクレメントレジスタ28から読出し
た内容を4倍回路31とレジスタ32を介して加算回路33に
入力し、レジスタ30の内容との和を求める。そしてこの
結果をセレクタ29を介してレジスタ30にセットする。
Meanwhile, during that time, the contents read from the increment register 28 are input to the adder circuit 33 via the quadrupling circuit 31 and the register 32, and the sum with the contents of the register 30 is obtained. Then, this result is set in the register 30 via the selector 29.

この新しい内容は前と同様にして、アクセスアドレスと
して記憶制御ユニット2に送出する。以下、同様の動作
を繰り返す。
This new content is sent to the storage control unit 2 as an access address in the same manner as before. Hereinafter, the same operation is repeated.

また、ベクトル演算処理ユニット5の中のデータ転送回
路11は、ベクトルアドレスレジスタ27から読出した内容
とインクレメントレジスタ28から読出した内容の和を加
算回路34で求め、それをセレクタ29,レジスタ30を介し
てアクセスアドレスとして記憶制御ユニット2に送出す
る。
Further, the data transfer circuit 11 in the vector operation processing unit 5 obtains the sum of the contents read from the vector address register 27 and the contents read from the increment register 28 by the adder circuit 34, and outputs the sum to the selector 29 and the register 30. It is sent to the storage control unit 2 as an access address via the.

一方、その間に、インクレメントレジスタ28から読出し
た内容を4倍回路31とレジスタ32を介して加算回路33に
入力し、レジスタ30の内容との和を求める。そしてこの
結果をセレクタ29を介してレジスタ30にセットする。こ
の新らしい内容は前と同様にしてアクセスアドレスとし
て記憶制御ユニット2に送出する。以下、同様の動作を
繰り返す。
Meanwhile, during that time, the contents read from the increment register 28 are input to the adder circuit 33 via the quadrupling circuit 31 and the register 32, and the sum with the contents of the register 30 is obtained. Then, this result is set in the register 30 via the selector 29. This new content is sent to the storage control unit 2 as an access address as before. Hereinafter, the same operation is repeated.

また、ベクトル演算処理ユニット6の中のデータ転送回
路11の場合は、加算回路34に対応する加算回路35の入力
が、インクレメントレジスタ28から読出した内容を2倍
回路36を介したものとなっている点が前記と異なってい
るだけである。
In the case of the data transfer circuit 11 in the vector operation processing unit 6, the input of the adder circuit 35 corresponding to the adder circuit 34 is the content read from the increment register 28 via the doubling circuit 36. The only difference is the above.

また、ベクトル演算処理ユニット7の中のデータ転送回
路11の場合は、加算回路34に対応する加算回路37の入力
が、インクレメントレジスタ28から読出した内容を3倍
回路38を介したものとなっている点が前記と異なってい
るだけである。
In the case of the data transfer circuit 11 in the vector operation processing unit 7, the input of the adder circuit 37 corresponding to the adder circuit 34 is the content read from the increment register 28 via the triple circuit 38. The only difference is the above.

なお、加算回路34,35,37,2倍回路36,3倍回路38,4
倍回路31から成るアドレス演算回路26は、図ではデータ
転送回路11用に用意された1つしか示していないが、こ
れは他のデータ転送回路12や13にも用意されているもの
とする。
The adder circuits 34, 35, 37, the double circuit 36, the triple circuit 38, 4
Although only one address operation circuit 26 including the multiplication circuit 31 is provided for the data transfer circuit 11 in the figure, it is assumed that this is also provided for the other data transfer circuits 12 and 13.

従って、TRNで指定されるデータ転送回路が12や13の場
合には命令実行制御部15はそれに対応したアドレス演算
回路に信号を送り、それを動作させる。
Therefore, when the data transfer circuit designated by TRN is 12 or 13, the instruction execution control unit 15 sends a signal to the corresponding address operation circuit to operate it.

各ベクトル演算処理ユニット4〜7の中のデータ転送回
路11から記憶制御ユニット2に送出されたアクセスアド
レスは、主記憶装置1に与えられる。TRNで指定され
たデータ転送回路がフェッチ用の11あるいは12であれは
主記憶装置1からの読出しデータが信号線39を介してデ
ータ転送回路11あるいは12に送出され、しかる後、接続
パス選択回路24を介してVRN1で指定されたベクトルレジ
スタ9にロードされる。また、TRNで指定されたデー
タ転送回路がストア用の13であれば、VRN1で指定された
ベクトルレジスタ9からの読出しデータが接続パス選択
回路25を介してデータ転送回路13に送出されしかる後、
信号線40と記憶制御ユニット2を介して主記録装置1に
書込される。
The access address sent from the data transfer circuit 11 in each of the vector operation processing units 4 to 7 to the storage control unit 2 is given to the main storage device 1. If the data transfer circuit designated by TRN is 11 or 12 for fetching, the read data from the main memory 1 is sent to the data transfer circuit 11 or 12 via the signal line 39, and then the connection path selection circuit It is loaded via 24 into the vector register 9 specified by VRN1. If the data transfer circuit specified by TRN is 13 for store, after the read data from the vector register 9 specified by VRN1 is sent to the data transfer circuit 13 via the connection path selection circuit 25,
It is written in the main recording device 1 via the signal line 40 and the storage control unit 2.

各命令実行制御部15は、実行すべきベクトル命令がVEA
命令のようにベクトルレジスタ9とベクトル演算器10を
使用するベクトル命令の場合には、VRN13及びALNを接
続パス選択回路24,25に送出する。この時、接続パス選
択回路24と25は、VRN1〜3によって指示される3つのベ
クトルレジスタ9とALNで指示される1つのベクトル演
算器10との間の接続パスを選択し、それを活性化する。
この後、選択した2つのベクトルレジスタ9からデータ
が読出され、選択したベクトル演算器10によって演算が
行なわれ、結果が選択した1つのベクトルレジスタ9に
書込まれる。
Each instruction execution control unit 15 determines that the vector instruction to be executed is VEA.
In the case of a vector instruction that uses the vector register 9 and the vector calculator 10 like the instruction, VRN13 and ALN are sent to the connection path selection circuits 24 and 25. At this time, the connection path selection circuits 24 and 25 select a connection path between the three vector registers 9 designated by VRN1 to 3 and one vector arithmetic unit 10 designated by ALN, and activate it. To do.
Thereafter, the data is read from the selected two vector registers 9, the operation is performed by the selected vector operation unit 10, and the result is written in the selected one vector register 9.

以上のように、1つのベクトル命令が4つのベクトル演
算処理ユニット4〜7で分割して処理される。
As described above, one vector instruction is divided and processed by the four vector operation processing units 4 to 7.

すなわち、ベクトル演算処理ユニット4〜7はそれぞれ
L要素のうちのMOD4=0,MOD4=1,M
OD4=2,MOD4=3なる要素を分担する。
That is, the vector operation processing units 4 to 7 have MOD4 = 0, MOD4 = 1 and M of L elements, respectively.
The elements of OD4 = 2 and MOD4 = 3 are shared.

接続パス選択回路24と25は、それぞれ同時に複数の接続
パスを活性化できる。これによって命令実行制御部15
は、指定されたベクトルレジスタ9やベクトル演算器10
やデータ転送回路11〜13が空いていれば、命令レジスタ
20から与えられたベクトル命令の実行を次々と開始し、
複数のベクトル命令を同時に実行することができる。
Each of the connection path selection circuits 24 and 25 can simultaneously activate a plurality of connection paths. As a result, the instruction execution control unit 15
Is a designated vector register 9 or vector calculator 10
And the data transfer circuits 11 to 13 are free, the instruction register
The execution of vector instructions given from 20 is started one after another,
Multiple vector instructions can be executed simultaneously.

次に、各ベクトル演算処理ユニット4〜7で処理するベ
クトル要素数の制御について第3図を用いて説明する。
Next, control of the number of vector elements processed by each of the vector operation processing units 4 to 7 will be described with reference to FIG.

各ベクトル演算処理ユニット4〜7の中の命令実行制御
部15の中には、その中のベクトルレジスタ、ベクトル演
算器、データ転送回路の各々に対応して1個ずつのカウ
ンタが用意される。実行すべきベクトル命令がベクトル
レジスタとデータ転送回路を使用するLVRやSTVR命令の
場合に、VRN1とTRNで指定されたベクトルレジスタとデ
ータ転送回路に対応するカウンタ,及び実行すべきベク
トル命令がベクトルレジスタとベクトル演算器を使用す
るVEA命令の場合に、VRN1〜3とALNで指定されたベクト
ルレジスタとベクトル演算器に対応するカウンタの動作
は以下の通りである。
In the instruction execution control unit 15 in each of the vector operation processing units 4 to 7, one counter is prepared corresponding to each of the vector register, the vector operation unit, and the data transfer circuit therein. If the vector instruction to be executed is an LVR or STVR instruction that uses a vector register and data transfer circuit, the vector register specified by VRN1 and TRN and the counter corresponding to the data transfer circuit, and the vector instruction to be executed are vector registers. In the case of the VEA instruction using the vector calculator and the vector calculator, the operation of the vector register designated by VRN1 to 3 and ALN and the counter corresponding to the vector calculator is as follows.

なお、第3図では前記の如きカウンタの1つを41として
示してあるが、他のカウンタについても同様である。
Note that in FIG. 3, one of the counters as described above is shown as 41, but the same applies to the other counters.

スカラー演算処理ユニット3から与えられ、ベクトル長
レジスタ17にセットされたベクトル要素数Lを表わすデ
ータの下2ビットを除く部分はそのまま補正回路42を介
してカウンタ41にセットされる。ベクトル長レジスタ17
の下2ビットが“00”の場合は、補正回路42から何ら出
力は発生しない。もし、“01”ならば、ベクトル演算処
理ユニット4のカウンタ41へ補正回路42の中のオアゲー
ト43から出力が発せられる。
The portion excluding the lower 2 bits of the data, which is given from the scalar arithmetic processing unit 3 and is set in the vector length register 17 and represents the number L of vector elements, is set as it is in the counter 41 via the correction circuit 42. Vector length register 17
When the lower 2 bits are "00", no output is generated from the correction circuit 42. If it is "01", the output from the OR gate 43 in the correction circuit 42 is output to the counter 41 of the vector operation processing unit 4.

また、“01”ならば、ベクトル演算処理ユニット4と5
のカウンタ41へ補正回路42の中のオアゲート43と出力線
44から出力が発せられる。
If it is "01", vector operation processing units 4 and 5
To the counter 41 of the OR gate 43 in the correction circuit 42 and the output line
Output from 44.

また“11”ならば、ベクトル演算処理ユニット4,5,
6のカウンタ41へ補正回路42の中のオアゲート43と出力
線44とアンドゲート45から出力が発せられる。各ベクト
ル演算処理ユニット4〜7の中のカウンタ41は、補正回
路42から出力が発せられると、その値に+1するように
なっている。
If it is “11”, the vector operation processing units 4, 5,
Outputs are output from the OR gate 43, the output line 44 and the AND gate 45 in the correction circuit 42 to the counter 41 of No. 6. The counter 41 in each of the vector operation processing units 4 to 7 is configured to add 1 to the value when an output is issued from the correction circuit 42.

ベクトル命令がベクトル演算処理ユニット4〜7の各々
で実行される時、前記のようにしてセットされたカウン
タ41の値は、ベクトル要素を1個処理する毎に−1され
る。そして0になったら信号線46に出力を発する。各信
号線46の出力はベクトル演算制御ユニット8内の優先順
位回路47を介してカウンタ48に送出される。優先順位回
路47とカウンタ48と最終値レジスタ49はベクトル演算処
理ユニット4〜7に対し共通に設けられているもので、
その中のベクトルレジスタ9,ベクトル演算器10,デー
タ転送回路11〜13の各々に対応して1個ずつ用意されて
いる。
When the vector instruction is executed by each of the vector operation processing units 4 to 7, the value of the counter 41 set as described above is decremented by 1 every time one vector element is processed. When it becomes 0, an output is emitted to the signal line 46. The output of each signal line 46 is sent to the counter 48 via the priority order circuit 47 in the vector operation control unit 8. The priority circuit 47, the counter 48, and the final value register 49 are commonly provided for the vector operation processing units 4 to 7,
One is provided for each of the vector register 9, the vector calculator 10, and the data transfer circuits 11 to 13 among them.

なお、最終値レジスタ49は起動信号22が出力されると4
にセットされる。優先順位回路47は複数の信号線47に同
時に出力が現われない時は、それぞれ出力をそのままカ
ウンタ48に与え、同時に出力が現われた時は、それらを
1クロック時間ずつずらせてカウンタ48に与えるもので
ある。カウンタ48は優先順位回路47からの出力をカウン
トし、そのカウント値が最終値レジスタ49と等しくなる
と比較回路50が出力を発する。表示回路19は、比較回路
50からの出力に基づいて、それに対応するベクトルレジ
スタ,ベクトル演算器,データ転送回路の表示子を、空
きを表示するようにリセットする。
The final value register 49 is set to 4 when the activation signal 22 is output.
Is set to. The priority order circuit 47 gives the outputs to the counter 48 as they are when the outputs do not appear on the plurality of signal lines 47 at the same time. When the outputs appear at the same time, they are given to the counter 48 by shifting them by one clock time. is there. The counter 48 counts the output from the priority circuit 47, and when the count value becomes equal to the final value register 49, the comparison circuit 50 outputs the output. The display circuit 19 is a comparison circuit
Based on the output from 50, the indicator of the corresponding vector register, vector operation unit, and data transfer circuit is reset to display the vacancy.

ベクトル長レジスタ17にセットされるベクトル要素数L
としては、4未満の場合もある。そのため、必要なだけ
のベクトル演算処理ユニットを起動するための起動制御
回路21がベクトル演算制御ユニット8の中に用意され
る。
Number of vector elements set in vector length register 17 L
May be less than 4. Therefore, the activation control circuit 21 for activating as many vector arithmetic processing units as necessary is prepared in the vector arithmetic control unit 8.

以下、これについて第3図を用いて説明する。This will be described below with reference to FIG.

ベクトル要素数Lが4以上の場合には、命令実行判定回
路18から起動信号22が出力されると、起動制御回路21か
ら全てのベクトル演算処理ユニット4〜7に対し、ユニ
ット起動信号23が出力される。
When the number L of vector elements is 4 or more, when the instruction execution determination circuit 18 outputs the activation signal 22, the activation control circuit 21 outputs the unit activation signal 23 to all the vector operation processing units 4 to 7. To be done.

また、前記したように最終値レジスタ49が4にセットさ
れる。Lが1の場合は、起動制御回路21の中の1検出回
路51から出力が発せられるため、オアゲート52,53,ア
ンドゲート54,55,56の働きによりベクトル演算処理ユニ
ット5,6,7へのユニット起動信号23は阻止される。
Lが2の場合は、2検出回路57から出力が発せられるた
め、オアゲート52,53,アンドゲート55,56の働きにより
ベクトル演算処理ユニット6,7へのユニット起動信号
23は阻止される。Lが3の場合は、3検出回路58から出
力が発せられるため、オアゲート53,アンドゲート56の
働きによりベクトル演算処理ユニット7へのユニット起
動信号23は阻止される。
The final value register 49 is set to 4 as described above. When L is 1, an output is issued from the 1 detection circuit 51 in the activation control circuit 21, and the OR gates 52, 53 and AND gates 54, 55, 56 work to the vector operation processing units 5, 6, 7. Unit activation signal 23 is blocked.
When L is 2, an output is generated from the 2 detection circuit 57, so that the OR gates 52, 53 and AND gates 55, 56 work to activate the unit activation signals to the vector operation processing units 6, 7.
23 is blocked. When L is 3, an output is generated from the 3 detection circuit 58, so that the OR gate 53 and the AND gate 56 act to prevent the unit activation signal 23 to the vector operation processing unit 7.

なお、Lが4未満の場合には、起動するベクトル演算処
理ユニットの数が最終値レジスタ49に設定される。この
場合、最終値レジスタ49にセットするデータは、例えば
各ベクトル演算処理ユニットに送出されるユニット起動
信号23を優先順位回路47と同じ回路を介してカウントす
れば得られる。
When L is less than 4, the number of vector operation processing units to be activated is set in the final value register 49. In this case, the data set in the final value register 49 can be obtained, for example, by counting the unit activation signal 23 sent to each vector arithmetic processing unit through the same circuit as the priority order circuit 47.

以上は、1つのベクトル命令を4個のベクトル演算処理
ユニットで分割処理する場合の例だが、必要により1〜
4個のベクトル演算処理ユニットで処置するよう、任意
に切換えられるように構成してもよい。
The above is an example of the case where one vector instruction is divided into four vector operation processing units.
It may be configured so that it can be arbitrarily switched so as to be processed by four vector arithmetic processing units.

例えば、内積や総和を求めるベクトル命令や1次巡回演
算を行なうベクトル命令の場合には、1つのベクトル演
算処理ユニットで処理させる必要がある。
For example, in the case of a vector instruction for obtaining an inner product or a sum or a vector instruction for performing a primary cyclic operation, it is necessary to process the vector instruction processing unit.

上記のように1〜4個のベクトル演算処理ユニットで処
理するよう、任意に切換えられるようにするための構成
は、例えば次のようにすればよい。
As described above, for example, the configuration for arbitrarily switching the processing by one to four vector arithmetic processing units may be as follows.

第3図において、起動制御回路21の中のアンドゲート54
〜56のそれぞれの出力側にゲートを設ける。ベクトル演
算処理ユニット4だけに処理させる場合は、アンドゲー
ト54〜56の出力を禁止し、ベクトル演算処理ユニット4
と5だけに処理させる場合は、アンドゲート55と56の出
力を禁止する。
In FIG. 3, an AND gate 54 in the activation control circuit 21
Gates are provided on each output side of ~ 56. When only the vector operation processing unit 4 processes, the outputs of the AND gates 54 to 56 are prohibited and the vector operation processing unit 4
If only 5 and 5 are processed, the outputs of AND gates 55 and 56 are prohibited.

また、補正回路42については、ベクトル長レジスタ17の
全ビットをベクトル演算処理ユニット4だけに与える経
路や、下1ビットを除いた部分をベクトル演算処理ユニ
ット4と5に与えるとともに下1ビットが“1”の場合
にはベクトル演算処理ユニット4のカウンタ41に+1を
行なわせる経路等を設け、これらの経路を選択できるよ
うに構成する。
Regarding the correction circuit 42, a path for giving all bits of the vector length register 17 only to the vector operation processing unit 4 and a portion excluding the lower 1 bit are given to the vector operation processing units 4 and 5, and the lower 1 bit is " In the case of "1", a route or the like for causing the counter 41 of the vector operation processing unit 4 to perform +1 is provided so that these routes can be selected.

前者の経路を選択した場合には、ベクトル演算処理ユニ
ット4で全てのベクトル要素が処理され、後者の場合に
はベクトル演算処理ユニット4と5で分割処理される。
When the former route is selected, the vector operation processing unit 4 processes all vector elements, and in the latter case, the vector operation processing units 4 and 5 perform division processing.

また、ベクトル演算処理ユニット4だけに処理させる場
合には、第2図において、ベクトル演算処理ユニット4
の中のデータ転送回路内のレジスタ32には、インクレメ
ントレジスタ28から読み出した値そのものが初期設定さ
れるように、またベクトル演算処理ユニット4,5だけ
に処理させる場合には、それらの中のデータ転送回路内
のレジスタ32には、インクレメントレジスタ28から読み
出した値を2倍した値が初期設定されるように、アドレ
ス演算回路26を構成する。
In the case where only the vector arithmetic processing unit 4 is processed, in FIG.
In the register 32 in the data transfer circuit of the above, the value itself read from the increment register 28 is initialized, and when only the vector operation processing units 4 and 5 are processed, The address arithmetic circuit 26 is configured so that the register 32 in the data transfer circuit is initialized with a value obtained by doubling the value read from the increment register 28.

なお前者の場合、最終値レジスタ49にセットする値は、
起動するベクトル演算ユニットの数に等しく設定する必
要があることは言うまでもない。
In the former case, the value set in the final value register 49 is
Needless to say, it is necessary to set the number equal to the number of vector operation units to be activated.

〔発明の効果〕〔The invention's effect〕

本発明によれば、1つのベクトル命令を複数のベクトル
演算処理ユニットで分割して処理する為ベクトル演算器
やデータ転送回路の使用効率を高めることができるの
で、処理の高速化が可能となる。
According to the present invention, since one vector instruction is divided and processed by a plurality of vector operation processing units, the use efficiency of the vector operation unit and the data transfer circuit can be improved, and thus the processing speed can be increased.

また、ベクトル命令を実行する並列度を増やすためにベ
クトル演算処理ユニットを増設する場合、増設したベク
トル演算処理ユニット内の各ベクトルレジスタ、各ベク
トル演算器および各データ転送回路を、増設前の各ベク
トルレジスタ群、各ベクトル演算器群および各データ転
送回路群へ対応付け、新たな各ベクトルレジスタ群、各
ベクトル演算器群および各データ転送回路群を構成する
と、その後は、表示回路およびリセット手段により、ベ
クトル演算処理ユニットの増設の前後に関係無く、群単
位でベクトルレジスタ、ベクトル演算器およびデータ転
送回路の使用の有無を管理できる。すなわち、各ベクト
ルレジスタ、各ベクトル演算器および各データ転送回路
の使用の有無を、群という統一した単位で管理している
ため、ベクトル演算処理ユニット単位での増設が容易で
あり、ベクトル処理装置のエンハンスが簡単にできる。
When adding a vector operation processing unit to increase the degree of parallel execution of vector instructions, replace each vector register, each vector operation unit and each data transfer circuit in the added vector operation processing unit with each vector before addition. Registering each register group, each vector operation unit group and each data transfer circuit group to form a new vector register group, each vector operation unit group and each data transfer circuit group, thereafter, by the display circuit and the reset means, Whether or not a vector register, a vector arithmetic unit, and a data transfer circuit are used can be managed in group units before and after the addition of vector arithmetic processing units. That is, since the presence / absence of use of each vector register, each vector operation unit, and each data transfer circuit is managed in a unified unit called a group, it is easy to expand in units of vector operation processing units and Enhance can be done easily.

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

第1図は本発明のベクトル処理装置の一実施例を示す全
体の構成図、第2図は第1図の中のベクトル演算制御ユ
ニットとベクトル演算処理ユニットの中のデータ転送回
路の詳細を示すブロック図、第3図は第1図のベクトル
演算制御ユニットとベクトル演算処理ユニットの中の命
令実行部の詳細を示すブロック図である。 図において 1……主記憶装置、 2……記憶制御ユニット、 3……スカラー演算処理ユニット、 4〜7……ベクトル演算処理ユニット、 8……ベクトル演算制御ユニット、 9……ベクトルレジスタ、 10……ベクトル演算器、 11〜13……データ転送回路、 15……命令実行制御部、 17……ベクトル長レジスタ、 18……命令実行判定回路、 21……起動制御回路、 26……アドレス演算回路、 41,48……カウンタ、 42……補正回路、 49……最終値レジスタ、 50……比較回路。
FIG. 1 is an overall block diagram showing an embodiment of the vector processing device of the present invention, and FIG. 2 shows the details of the vector operation control unit and the data transfer circuit in the vector operation processing unit in FIG. A block diagram and FIG. 3 are block diagrams showing details of an instruction execution unit in the vector operation control unit and the vector operation processing unit of FIG. In the figure, 1 ... main storage device, 2 ... storage control unit, 3 ... scalar operation processing unit, 4-7 ... vector operation processing unit, 8 ... vector operation control unit, 9 ... vector register, 10 ... … Vector arithmetic unit, 11 to 13 …… Data transfer circuit, 15 …… Instruction execution control unit, 17 …… Vector length register, 18 …… Instruction execution judgment circuit, 21 …… Startup control circuit, 26 …… Address arithmetic circuit , 41,48 …… Counter, 42 …… Correction circuit, 49 …… Final value register, 50 …… Comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】主記憶装置と記憶制御ユニットを介してデ
ータのやり取りを行なうスカラー演算処理ユニットと、 複数のベクトルレジスタ、前記ベクトルレジスタからデ
ータを受け取り、演算結果を前記ベクトルレジスタへ送
出する複数のベクトル演算器、および前記記憶制御ユニ
ットを介して前記主記憶装置と前記ベクトルレジスタ間
のデータ転送を行なう複数のデータ転送回路とを含むベ
クトル演算処理ユニットを複数有し、 各ベクトル演算処理ユニットのベクトルレジスタ、ベク
トル演算器、およびデータ転送回路は、他のベクトル演
算処理ユニットのベクトルレジスタ、ベクトル演算器、
データ転送回路にそれぞれ対応付けられて、前記各ベク
トル演算処理ユニット内の、前記ベクトルレジスタを1
つづつ含む複数のベクトルレジスタ群、前記ベクトル演
算器を1つづつ含む複数のベクトル演算器群、および前
記データ転送回路を1つづつ含む複数のデータ転送回路
群を構成しており、 更に、前記複数のベクトルレジスタ群、前記複数のベク
トル演算器群、および前記複数のデータ転送回路群のそ
れぞれに対し使用中か未使用かを表示する表示回路と、 前記スカラー演算処理ユニットから受け取ったベクトル
命令に対して、要素並列演算を行うのに必要なベクトル
レジスタ群、ベクトル演算器群、およびデータ転送回路
群を、前記表示回路の未使用中表示の前記複数のベクト
ルレジスタ群、前記複数のベクトル演算器群、および前
記複数のデータ転送回路群から選択し、前記選択したベ
クトルレジスタ群、ベクトル演算器群、およびデータ転
送回路群に対応する前記表示回路を使用中にし、更に前
記選択した群に属するベクトルレジスタ、ベクトル演算
器、およびデータ転送回路の使用を各ベクトル演算処理
ユニットへ通知すると共に、前記ベクトル命令を各ベク
トル演算処理ユニットへ通知する命令実行判定回路と、 前記スカラー演算処理ユニットからのベクトル命令で指
定されるベクトル長から、各ベクトル演算処理ユニット
で処理するベクトル要素処理数を決定し前記複数個のベ
クトル演算処理ユニットへ通知するベクトル長決定回路
と、 前記使用を通知された前記ベクトルレジスタ、前記ベク
トル演算器、及び前記データ転送回路を動作させながら
前記通知された前記ベクトル命令を実行し、かつ、前記
通知された前記ベクトル要素処理数分のベクトル要素の
実行終了時に、前記使用を通知された前記ベクトルレジ
スタ、前記ベクトル演算器、及び前記データ転送回路の
実行終了を表示リセット部へ通知する前記複数のベクト
ル演算処理ユニット内のそれぞれに設けられる命令実行
制御部と、 各群に属する全てのベクトルレジスタ、ベクトル演算
器、および、データ転送回路についての終了通知を受け
た場合に、その群に対応する表示回路内の表示を未使用
にリセットする手段とを有することを特徴とするベクト
ル処理装置。
1. A scalar arithmetic processing unit for exchanging data via a main memory device and a storage control unit, a plurality of vector registers, a plurality of vector registers for receiving data from the vector registers, and outputting arithmetic results to the vector registers. A plurality of vector operation processing units including a vector operation unit and a plurality of data transfer circuits for transferring data between the main memory device and the vector register via the storage control unit, and a vector of each vector operation processing unit. The register, the vector arithmetic unit, and the data transfer circuit are the vector register, the vector arithmetic unit of another vector arithmetic processing unit,
One of the vector registers in each of the vector operation processing units is associated with a data transfer circuit.
A plurality of vector register groups each including one by one, a plurality of vector operator groups each including one of the vector operator, and a plurality of data transfer circuit groups including one of the data transfer circuits, and A display circuit for displaying whether each of the plurality of vector register groups, the plurality of vector operation unit groups, and the plurality of data transfer circuit groups is in use or unused, and a vector instruction received from the scalar operation processing unit. On the other hand, a vector register group, a vector arithmetic unit group, and a data transfer circuit group necessary for performing element parallel operation are represented by the plurality of vector register groups in the unused state of the display circuit, and the plurality of vector arithmetic units. Group, and the selected vector register group, vector operation unit group, and data unit selected from the plurality of data transfer circuit groups. While the display circuit corresponding to the transfer circuit group is in use, the use of the vector register, the vector arithmetic unit, and the data transfer circuit belonging to the selected group is notified to each vector arithmetic processing unit, and the vector instruction is transmitted. The instruction execution determination circuit for notifying the vector arithmetic processing unit, and the vector length designated by the vector instruction from the scalar arithmetic processing unit, determines the number of vector element processing to be processed by each vector arithmetic processing unit, and the plurality of vectors A vector length determination circuit for notifying an arithmetic processing unit, executing the notified vector instruction while operating the vector register notified of the use, the vector operation unit, and the data transfer circuit, and Completion of execution of vector elements corresponding to the notified number of vector element processes And an instruction execution control unit provided in each of the plurality of vector operation processing units that notifies the display reset unit of the execution end of the vector register, the vector operation unit, and the data transfer circuit notified of the use, , A means for resetting the display in the display circuit corresponding to the group to an unused state when receiving the end notification for all the vector registers, the vector calculators, and the data transfer circuits belonging to each group. Vector processing device characterized by.
JP21613084A 1984-10-17 1984-10-17 Vector processor Expired - Lifetime JPH0623977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21613084A JPH0623977B2 (en) 1984-10-17 1984-10-17 Vector processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21613084A JPH0623977B2 (en) 1984-10-17 1984-10-17 Vector processor

Publications (2)

Publication Number Publication Date
JPS6195477A JPS6195477A (en) 1986-05-14
JPH0623977B2 true JPH0623977B2 (en) 1994-03-30

Family

ID=16683728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21613084A Expired - Lifetime JPH0623977B2 (en) 1984-10-17 1984-10-17 Vector processor

Country Status (1)

Country Link
JP (1) JPH0623977B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0452760A (en) * 1990-06-14 1992-02-20 Koufu Nippon Denki Kk Vector processor
JPH04181373A (en) * 1990-11-15 1992-06-29 Koufu Nippon Denki Kk Vector processor
JPH04181374A (en) * 1990-11-15 1992-06-29 Koufu Nippon Denki Kk Vector processor
CN108388446A (en) * 2018-02-05 2018-08-10 上海寒武纪信息科技有限公司 Computing module and method

Also Published As

Publication number Publication date
JPS6195477A (en) 1986-05-14

Similar Documents

Publication Publication Date Title
US4685076A (en) Vector processor for processing one vector instruction with a plurality of vector processing units
EP0148478B1 (en) A data processor with control of the significant bit lenghts of general purpose registers
JPH0517588B2 (en)
JPH0550022B2 (en)
EP0126247B1 (en) Computer system
JPH0260026B2 (en)
JPH03286332A (en) Digital data processor
US5019969A (en) Computer system for directly transferring vactor elements from register to register using a single instruction
JPH0623977B2 (en) Vector processor
US4754424A (en) Information processing unit having data generating means for generating immediate data
JP2703884B2 (en) Data write control method
JPS5935451B2 (en) General purpose register access method
JPS6058487B2 (en) data processing equipment
US3942156A (en) Indirect arithmetic control
US4811213A (en) Vector processor with vector registers
JPH0222413B2 (en)
JP2002318687A (en) Information processing device and computer system
JPH06309349A (en) Program controlled processor
JPS6231376B2 (en)
JPH09198374A (en) Vector processing equipment
JPH0567978B2 (en)
JP3124361B2 (en) Memory data loading device
JPH033047A (en) Memory with arithmetic function
JPS6339945B2 (en)
JPH0743649B2 (en) Arithmetic circuit