JPS6116366A - Vector data processor - Google Patents

Vector data processor

Info

Publication number
JPS6116366A
JPS6116366A JP13677684A JP13677684A JPS6116366A JP S6116366 A JPS6116366 A JP S6116366A JP 13677684 A JP13677684 A JP 13677684A JP 13677684 A JP13677684 A JP 13677684A JP S6116366 A JPS6116366 A JP S6116366A
Authority
JP
Japan
Prior art keywords
address
vector
element data
register
read
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.)
Granted
Application number
JP13677684A
Other languages
Japanese (ja)
Other versions
JPH0255822B2 (en
Inventor
Hiroyuki Izumisawa
泉沢 裕之
Seiichiro Kinoshita
木下 誠一郎
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP13677684A priority Critical patent/JPS6116366A/en
Priority to EP85108148A priority patent/EP0167959B1/en
Priority to DE8585108148T priority patent/DE3585972D1/en
Priority to US06/751,112 priority patent/US5019969A/en
Publication of JPS6116366A publication Critical patent/JPS6116366A/en
Publication of JPH0255822B2 publication Critical patent/JPH0255822B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30007Arrangements for executing specific machine instructions to perform operations on data operands
    • G06F9/30032Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/80Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
    • G06F15/8053Vector processors
    • G06F15/8076Details on data register access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30098Register arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To transfer element data in a high speed by transferring directly element data from the first vector storage means to the second vector storage means and setting the address following a maximum address as a minimum address to transfer element data successively. CONSTITUTION:A vector data processor is provided with vector registers 100 and 101, read address registers 110 and 111, write address registers 120 and 121, read address selecting circuits 130 and 131, write address selecting circuits 140 and 141, and an element data input selecting circuit 200. Element data are transferred directly between vector registers 100 and 101; and when the read address and the write address set by read address registers 110 and 111 and write address registers 120 and 121 reach maximum addresses, addresses following maximum addresses are set to minimum addresses to transfer element data successively.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、ベクトルレジスタ間のエレメントデータ移送
を行なうベクトルデータ処理装置に関する。
TECHNICAL FIELD The present invention relates to a vector data processing device that transfers element data between vector registers.

従来技術 従来のベクトルデータ処理装置は米国特許第4.128
,880号公報を参照できる。第2図を参照すると、こ
の公報によればベクトルレジスタ10および11、読出
し/書込みアドレスレジスタ20および21.エレメン
トデータ入力選択回路30、エレメントデータ出力選択
回路40、および演算器50から構成されている。
Prior Art A conventional vector data processing device is disclosed in U.S. Patent No. 4.128.
, No. 880 can be referred to. Referring to FIG. 2, according to this publication, vector registers 10 and 11, read/write address registers 20 and 21 . It is composed of an element data input selection circuit 30, an element data output selection circuit 40, and an arithmetic unit 50.

ベクトルレジスタIOおよび11は複数個のエレメント
データを保持するもので2通常複数個設けられる。読出
し/書込みアドレスレジスタ20および21はベクトル
レジスタ10および11内に保持されているエレメント
データのロケーションを指定するもので、初期設定でI
 □ IIにクリアされるとともに、+1力ウント機能
を有する。
Vector registers IO and 11 hold a plurality of element data, and a plurality of them are usually provided. Read/write address registers 20 and 21 specify the location of element data held in vector registers 10 and 11, and are initially set to I.
□ Cleared to II and has a +1 power count function.

1個のベクトルレジスタに保持されている二゛レメシト
データの部分ベクトル演算を行なう場合、このベクトル
レジスタに保持されているエレメントデータの一部を他
のベクトルレジスタに移送しておく必要がある。
When performing a partial vector operation on two recommendation data held in one vector register, it is necessary to transfer part of the element data held in this vector register to another vector register.

このために、ベクトルレジスタと主メモリとの間のスト
ア/ロード命令を用いてエレメントデータを移送する方
法、またはシフト命令を用いて移送する方法がとられて
いる。
For this purpose, a method is used to transfer element data using a store/load instruction between a vector register and a main memory, or a method is used to transfer element data using a shift instruction.

前者の方法では、ベクトルレジスタ10に保持されてい
るエレメントデータがストア命令によυベクトル長指定
分だけ主メモリに順次ストアされ、ストアされたエレメ
ントデータの一部がベクトルレジスタ11にロードされ
る。まずストア命令における移送元ベクトルレジスタ1
0と移送するベクトル長との指定に応答して、読出し/
書込みアドレスレジスタ20はn011に初期設定され
る。
In the former method, the element data held in the vector register 10 is sequentially stored in the main memory by the amount specified by the vector length by a store instruction, and a part of the stored element data is loaded into the vector register 11. First, transfer source vector register 1 in the store instruction
In response to the specification of 0 and the vector length to be transferred, read/write
The write address register 20 is initialized to n011.

この初期設定に応答してベクトルレジスタ10に保持さ
れているエレメントデータのロケーション0をエレメン
トデータ出力選択回路4oへ出力され、読出し/書込み
アドレスレジスタ20のカウントアツプにともないエレ
メントデータが順次出力される。エレメントデータ出力
選択回路40を介して与えられるベクトルレジスタ10
の出カバ主メモリへ順次移送される。次にロード命令に
おける部分ベクトル演算に必要なエレメントデータのロ
ード開始アドレスと、ロード先のベクトルレジスタ間1
1およびベクトル長指定に応答して、読出し/書込みア
ドレスレジスタ21の指示ニ従い主メモリからベクトル
レジスタ11にエレメントデータが順次ロードされる。
In response to this initial setting, location 0 of the element data held in the vector register 10 is output to the element data output selection circuit 4o, and as the read/write address register 20 counts up, the element data are sequentially output. Vector register 10 given via element data output selection circuit 40
The output data is sequentially transferred to main memory. Next, the address between the load start address of the element data necessary for partial vector operation in the load instruction and the vector register of the load destination is specified.
1 and the vector length designation, element data is sequentially loaded from the main memory to the vector register 11 according to the instructions of the read/write address register 21.

後者の方法ではベクトルレジスタIOに保持されている
エレメントデータがシフト命令によシ1語ずつシフトさ
れてベクトルレジスタ11に移送される。シフト命令で
シフトすべきエレメントデータを保持するベクトルレジ
スタ10とシフト結果を移送するベクトルレジスタ11
、シフト量およびベクトル長を指定すると、読出し/書
込みアドレスレジスタ20のカウントアツプにともない
ベクトルレジスタ10に保持されているエレメントデー
タはロケーションOからエレメントデータ出力選択回路
40に順次出力される。エレメントデータ出力選択回路
40を介して与えられたベクトルレジスタ10の出力は
、演算器50に与えられる。演算器50はエレメントデ
ータ出力選択回路40の出力と命令で指定されたシフト
量に応答してシフト動作を行なう。シフト量は通常1語
右シフト指定である。エレメントデータを1語分右シフ
トして出力することによシ演算器50の出力はエレメン
トデータ入力選択回路30を介してベクトルレジスタ1
1に1語分シフトした形式で移送される。読出し/書込
みアドレスレジスタ21も+1力ウント機能を有し、エ
レメントデータ入力選択回路30から出力されるエレメ
ントデータノロケーションを順次指定する。このシフト
動作を繰シ返すことで所定のエレメントデータ移送が終
了する。従って、どちらの方式も主メモIJ−またけ演
算器を必要とするためエレメントデータ移送の性能が低
くしかも後続の命令が主メモリまたは演算器を必要とす
るとき競合してしまうという欠点がある。
In the latter method, the element data held in the vector register IO is shifted word by word by a shift command and transferred to the vector register 11. A vector register 10 that holds element data to be shifted by a shift command and a vector register 11 that transfers the shift result.
, shift amount, and vector length, the element data held in the vector register 10 is sequentially output from location O to the element data output selection circuit 40 as the read/write address register 20 counts up. The output of the vector register 10 provided via the element data output selection circuit 40 is provided to the arithmetic unit 50. The arithmetic unit 50 performs a shift operation in response to the output of the element data output selection circuit 40 and the shift amount specified by the command. The shift amount is usually specified as a one word shift to the right. By shifting the element data by one word to the right and outputting it, the output of the arithmetic unit 50 is sent to the vector register 1 via the element data input selection circuit 30.
It is transferred in a format shifted by one word to 1. The read/write address register 21 also has a +1 count function and sequentially specifies element data no locations output from the element data input selection circuit 30. By repeating this shift operation, the predetermined element data transfer is completed. Therefore, both systems require a main memory IJ-arithmetic unit, which has the disadvantage that the performance of element data transfer is low and that there is contention when a subsequent instruction requires the main memory or an arithmetic unit.

発明の目的 本発明の目的は、第1のベクトル格納手段から第2のベ
クトル格納手段−\工1/メシトデー夕を直接移送でき
るようにし、かつ最大アドレスに続くアドレスを最小ア
ドレスに設定し順次エレメントデータを移送することに
よシ、高速にベクトルレジスタ間のエレメントデータ移
送ができるようにしたベクトルデータ処理装置を提供す
ることにある。
OBJECTS OF THE INVENTION An object of the present invention is to enable direct transfer of data from a first vector storage means to a second vector storage means, set the address following the maximum address as the minimum address, and sequentially transfer elements An object of the present invention is to provide a vector data processing device that can transfer element data between vector registers at high speed by transferring data.

発明の構成 本発明のベクトルデータ処理装置は、順序付けられたエ
レメントデータを保持する第1のベクトル格納手段と、 この第1のベクトル格納手段の読出しアト1/スが最大
アドレスとなったとき続くアドレスを最小アドレスと設
定する第1のアドレス設定手段と、この第1のアドレス
設定手段によシ設定されたアドレスから読出されたエレ
メントデータを第2のベクトル格納手段へ順次移送する
移送手段と、前記移送手段で移送する際第2のベクトル
格納手段の書込みアドレスが最大アドレスとなったとき
続くアドレスを最小アドレスと設定する第2のアドレス
設定手段とを含むことを特徴とする。
Structure of the Invention The vector data processing device of the present invention includes a first vector storage means for holding ordered element data, and an address that continues when the readout address of the first vector storage means reaches the maximum address. a first address setting means for setting the minimum address to a minimum address; a transfer means for sequentially transferring element data read from the address set by the first address setting means to a second vector storage means; The present invention is characterized in that it includes a second address setting means for setting the next address as the minimum address when the write address of the second vector storage means reaches the maximum address when the transfer means transfers the vector.

発明の実施例 次に本発明について図面を参照して詳細に説明する。第
1図を参照すると、本発明の一実施例は、ベクトルレジ
スタ100および101、読出しアドレスレジスタ11
0および111 、書込みアドレスレジスタ120およ
び1211読出しアドレス選択回路130および131
、書込みアドレス選択回路140および141、および
エレメントデータ入力選択回路200を有している。
Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings. Referring to FIG. 1, one embodiment of the present invention includes vector registers 100 and 101, read address register 11,
0 and 111, write address registers 120 and 1211 read address selection circuits 130 and 131
, write address selection circuits 140 and 141, and element data input selection circuit 200.

本実施例の動作は以下の通シである。複数個Ωベクトル
レジスタ、本実施例では2個のベクトルレジスタ100
および101はそれぞれが顆序付けられた複数のエレメ
ントデータを保持するもので、演算器から出力される演
算結果あるいは主メモリから出力されるロードデータを
格納する。1個のベクトルレジスタに保持されているエ
レメントデータの部分ベクトル演算を行なう場合、この
ベクトルレジスタに保持されているエレメントデータの
一部を他のベクトルレジスタに移送しておく必要がある
The operation of this embodiment is as follows. A plurality of Ω vector registers, two vector registers 100 in this embodiment.
and 101, each of which holds a plurality of ordered element data, stores the calculation results output from the arithmetic unit or the load data output from the main memory. When performing a partial vector operation on element data held in one vector register, it is necessary to transfer part of the element data held in this vector register to another vector register.

演算器から出力された演算結果あるいは主メモリから出
力されたロードデータを保持している移送元のベクトル
レジスタをベクトルレジスタ100とし、そのベクトル
レジスタ100に格納されているエレメントデータの一
部を移送する移送先レジスタをベクトルレジスタ101
 とする場合、命令によって移送元ベクトルレジスタ1
00の番号と移送先のベクトルレジスタ101の番号が
指定される。移送元ベクトルレジスタ読出し開始アドレ
スは、命令あるいは命令付随情報として、読出しアドレ
ス選択回路130に入力されるが、命令によって指定さ
れない場合にはIIO匠が入力される。
The transfer source vector register holding the calculation results output from the arithmetic unit or the load data output from the main memory is set as the vector register 100, and a part of the element data stored in the vector register 100 is transferred. Transfer destination register to vector register 101
In this case, the instruction transfers the source vector register 1
The number 00 and the number of the destination vector register 101 are specified. The transfer source vector register read start address is input to the read address selection circuit 130 as a command or instruction accompanying information, but if it is not specified by the command, an IIO address is input.

また、移送先ベクトルレジスタへの書込み開始アドレス
も同様に、命令あるいは命令付随情報として、図示はし
ないが書込みアドレス選択回路141に入力されるが、
命令によって指定されない場合にはn01が入力される
Furthermore, the write start address to the transfer destination vector register is similarly input to the write address selection circuit 141 as an instruction or instruction accompanying information (not shown).
If not specified by the instruction, n01 is input.

なお、これらの開始アドレスの設定経路も図示されてい
ない。
Note that the setting paths for these start addresses are also not shown.

一方、移送元ベクトルレジスタ番号がベクトルレジスタ
101を指定し、移送先ベクトルレジスタ番号がベクト
ルレジスタ100を指定するような命令である場合には
、移送元ベクトルレジスタ読出し開始アドレスは命令あ
るいは命令付随情報として、読出しアドレス選択回路1
31に入力され、移送先ベクトルレジスタの書込み開始
アドレスも同様に命令あるいは命令付随情報として、図
示はしないが書込みアドレス選択回路140に入力され
る。これらの場合も命令によって指定され々い場合には
It 01が入力される。
On the other hand, if the instruction is such that the source vector register number specifies vector register 101 and the destination vector register number specifies vector register 100, the source vector register read start address is specified as the instruction or instruction accompanying information. , read address selection circuit 1
31, and the write start address of the transfer destination vector register is similarly input to the write address selection circuit 140, although not shown, as an instruction or instruction accompanying information. In these cases as well, It 01 is input if it is not specified by the instruction.

なお、これらの開始アドレスの設定経路も図示されてい
ない。
Note that the setting paths for these start addresses are also not shown.

ベクトルレジスタ100および101に保持できる最大
エレメントデータ長をそれぞれ64個とし、ベクトルレ
ジスタ100からベクトルレジスタlotへ32個のエ
レメントデータを移送する場合には、図示していないが
、まずベクトル長指定をl′3211とする。命令によ
って移送元ベクトルレジスタ番号をベクトルレジスタ1
OO1移送先ベクトルレジスタ番号をベクトルレジスタ
lotとそれぞれ指定し、ベクトルレジスタ100の読
出し開始アドレスをIt321Tと指定する。命令によ
って指定された読出し開始アドレスは読出しアドレス選
択回路130に入力され、選択されて読出しアドレスレ
ジスタ110にl+32Nの値が格納される。同時に書
込み開始アドレスは命令で指定されていないため書込み
アドレス選択回路141にてIt□Ifが入力される。
The maximum element data length that can be held in the vector registers 100 and 101 is 64 pieces each, and when transferring 32 pieces of element data from the vector register 100 to the vector register lot, first specify the vector length by l. '3211. The transfer source vector register number is set to vector register 1 by the instruction.
The OO1 transfer destination vector register number is designated as vector register lot, and the read start address of vector register 100 is designated as It321T. The read start address specified by the instruction is input to the read address selection circuit 130, selected, and the value l+32N is stored in the read address register 110. At the same time, since the write start address is not specified by the instruction, It□If is input to the write address selection circuit 141.

これが選択されて書込みアドレスレジスタ121にn0
1が初期設定される。ベクトルレジスタlOOは読出し
アドレスレジスタ110で指定されるロケーションのエ
レメントデータをエレメントデータ入力選択回路200
に出力する。読出しアドレスレジスタ110はエレメン
トデータを順次読出すだめに+1力ウント機能を有し、
ロケーション32の次はロケージョン33、その次はロ
ケーション34とカウントされる。カウントされたロケ
ーションにベクトル長指定分だけベクトルレジスタ10
0内に保持されているエレメントデータが読出され、エ
レメントデータ入力選択回路200に出力される。エレ
メントデータ入力選択回路200はベクトルレジスタ1
00から読出されたエレメントデータをベクトルレジス
タ101に入力するよう選択指示する。
This is selected and the write address register 121 is set to n0.
1 is initialized. The vector register lOO transfers the element data at the location specified by the read address register 110 to the element data input selection circuit 200.
Output to. The read address register 110 has a +1 count function for sequentially reading out element data.
The next location after location 32 is counted as location 33, and the next location is counted as location 34. Vector register 10 is added to the counted location for the specified vector length.
Element data held within 0 is read out and output to element data input selection circuit 200. Element data input selection circuit 200 is vector register 1
A selection instruction is given to input the element data read from 00 into the vector register 101.

一方、ベクトルレジスタ101は書込みアドレスレジス
タ121で指定されるロケーションに、エレメントデー
タ入力選択回路200から第1番目のエレメントデータ
が出力される時点でエレメントデータの書込みを開始す
る。書込みアドレスレジスタ121 も読出しアドレス
レジスタ110と同様にエレメントデータを順次書込む
ために+1力ウント機能を有し、ロケータ=i10の次
はロケーション1、その次はロケータM/2とカウント
される。カウントされたロケーションにベクトル長指定
分だけエレメントデータ入力選択回路200から出力さ
れるエレメントデータが書込まれる。この動作は移送し
たエレメントデータ数が132”に達しだとき、すなわ
ちベクトル長指定に等しくなったとき終了する。
On the other hand, the vector register 101 starts writing element data to the location specified by the write address register 121 at the time when the first element data is output from the element data input selection circuit 200. Like the read address register 110, the write address register 121 also has a +1 count function for sequentially writing element data, and the next one after locator=i10 is counted as location 1, and the next one is counted as locator M/2. Element data output from the element data input selection circuit 200 is written to the counted location by the amount specified by the vector length. This operation ends when the number of transferred element data reaches 132'', that is, when it becomes equal to the vector length specification.

移送元ベクトルレジスタの読出し開始アドレスをmとし
たとき、64−(m−t)以上の値をベクトル長指定で
指定されている場合には次のようになる。すなわち、読
出しアドレスレジスタ110はベクトルレジスタ100
のロケーションカ63に達すると、その次はロケーショ
ン0を指定し、順次ベクトル長指定数分だけカウントし
ていく機能を有している。
When the read start address of the transfer source vector register is defined as m, if a value of 64-(m-t) or more is specified by the vector length specification, the following will occur. That is, the read address register 110 is the vector register 100.
When the location number 63 is reached, the next location is designated 0, and the function is to sequentially count by the designated number of vector lengths.

他の命令で、移送元ベクトルレジスタ番号をベクトルレ
ジスタ100 、移送先ベクトルレジスタ番号をベクト
ルレジスタ101 と指定し、ベクトルレジスタ101
の書込み開始アドレスを32と指定したとする。読出し
開始アドレスは命令で指定されていないため読出しアド
レス選択回路130にてII □ lが入力され、これ
が選択されて読出しアドレスレジスタ110にII□n
が初期設定される。命令で指定された書込み開始アドレ
スは書込みアドレス選択回路141に入力され、選択さ
れて書込みアドレスレジスタ121に32の値が格納さ
れる。読出しアドレスレジスタ110は+1力ウント機
能を有する。このレジスタ110からのアドレスに応答
してベクトルレジスタ100のロケーション0から順次
エレメントデータが読出され、エレメントデータ入力選
択回路200に出力される。書込みアドレスレジスタも
同様に+lカウント機能を有し、エレメントデータ入力
選択回路200から第1番目のエレメントデータすなワ
チベクトルレジスタ100のロケーション0から読出し
だエレメントデータが出力される時点で書込みを開始す
る。この動作は移送したエレメントデータ数がIf 3
21に達したとき、すなわちベクトル長指定に等しくな
ったとき終了する。また移送先の書込み開始アドレスを
mとしたとき、64−(m−1)以上の値をベクトル長
指定で指定されている場合には、書込みアドレスレジス
タ121はベクトルレジスタ101のロケーションが1
163Ifに達するとその次はロケーション0に戻シ、
順次ベクトル長指定数分だけカウントしていく機能を有
している。
In another instruction, specify the transfer source vector register number as vector register 100, the transfer destination vector register number as vector register 101, and specify vector register 101 as the transfer source vector register number.
Assume that the write start address of is specified as 32. Since the read start address is not specified by the instruction, II□l is input to the read address selection circuit 130, which is selected and set to the read address register 110 as II□n.
is initialized. The write start address designated by the instruction is input to the write address selection circuit 141, selected, and a value of 32 is stored in the write address register 121. The read address register 110 has a +1 output count function. In response to the address from register 110, element data is sequentially read from location 0 of vector register 100 and output to element data input selection circuit 200. The write address register similarly has a +l count function, and starts writing when the element data input selection circuit 200 outputs the first element data, that is, the element data read from location 0 of the vector register 100. . In this operation, the number of element data transferred is If 3
It ends when it reaches 21, that is, when it becomes equal to the vector length designation. Furthermore, when the write start address of the transfer destination is m, if a value greater than or equal to 64-(m-1) is specified in the vector length specification, the write address register 121 is set to 1 in the vector register 101.
When it reaches 163If, it returns to location 0.
It has a function of sequentially counting the specified number of vector lengths.

さらに他の命令で、移送元ベクトルレジスタ番号ヲベク
トルレジスタ1001移送先ベクトルレジスタ番号をベ
クトルレジスタ101と指定シ、ベクトルレジスタ10
0の読出し開始アドレスを”32−ベクトルレジスタ1
01の書込み開始アドレスをll 3211と指定した
とする。読出し開始アドレスおよび書込み開始アドレス
はともに命令で指定されているため、読出しアドレス選
択回路130、および書込みアドレス選択回路141に
それぞれ開始アドレス13211が入力され、選択され
て、読出しアドレスレジスタ110および書込みアドレ
スレジスタ121に格納される。読出しアドレスレジス
タ110は+1力ウント機能を有しているためベクトル
レジスタlOOのロケーション32から順次ベクトルデ
ータを読出し、エレメントデータ入力選択回路200に
出力していく。また書込みアドレスレジスタ121 も
+1カウント機能を有し、エレメントデータ入力選択回
路200から出力されるエレメントデータをベクトルレ
ジスタ101のロケーション32から順次書込んでいく
。この動作は移送したエレメントデータ数がN 321
1に達したとき、すなわちベクトル長指定に等しくなっ
たとき終了する。また読出し開始アドレスおよび書込み
開始アドレスをそれぞれm、  nとしたとき、ベクト
ル長指定が64−(m−1)よシ大きいと読出しアドレ
スレジスタの内容は63からOに戻ってカウントを続行
する。ベクトル長指定が64−(n−1)よシ大きいと
書込みアドレスレジスタの内容は63から0に戻ってカ
ウントを続行する。
Furthermore, another instruction specifies the transfer source vector register number as vector register 1001 and the transfer destination vector register number as vector register 101.
Set the read start address of 0 to "32-vector register 1"
Assume that the write start address of 01 is specified as ll3211. Since both the read start address and the write start address are specified by the instruction, the start address 13211 is input to the read address selection circuit 130 and the write address selection circuit 141, respectively, and is selected, and the read address register 110 and the write address register 121. Since the read address register 110 has a +1 output count function, it sequentially reads vector data from the location 32 of the vector register lOO and outputs it to the element data input selection circuit 200. The write address register 121 also has a +1 count function, and sequentially writes the element data output from the element data input selection circuit 200 from the location 32 of the vector register 101. In this operation, the number of element data transferred is N 321
It ends when it reaches 1, that is, when it becomes equal to the vector length specification. Further, when the read start address and write start address are m and n, respectively, if the vector length designation is greater than 64-(m-1), the contents of the read address register return from 63 to O and continue counting. If the vector length designation is greater than 64-(n-1), the contents of the write address register return from 63 to 0 and continue counting.

本実施例では、ベクトルレジスタ数を2としたが、本発
明は2に限定されるものでなく、また、エレメントデー
タの移送元をベクトルレジスタ100、移送先をベクト
ルレジスタ101 としたが、これに限定されるもので
なく命令によって任意に指定できる。
In this embodiment, the number of vector registers is two, but the present invention is not limited to two, and the element data transfer source is the vector register 100, and the transfer destination is the vector register 101. It is not limited and can be specified arbitrarily by command.

発明の効果 本発明にはベクトル格納手段間のエレメントデータ移送
手段と、アドレスが最大アドレスに達すると続くアドレ
スを最小アドレスに設定するアドレス設定手段を設ける
ととKよシ、ベクトル格納手段間のエレメントデータ移
送を高速に実現できるという効果がある。
Effects of the Invention The present invention includes element data transfer means between vector storage means, and address setting means for setting the following address to the minimum address when the address reaches the maximum address. This has the effect of realizing high-speed data transfer.

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

第1図は本発明の一実施例を示す図、および第2図は従
来例を示す図である。 10.11,100,101・・・・・・ベクトルレジ
スタ、20,21・・・・−・読出し/書込みアドレス
レジスタ、20,200・・−・・・エレメントデータ
入力選択回路、40・・・・・・エレメントデータ出力
選択回路、50・・・・・・演算器、110,111・
・・・・・読出しアドレスレジスタ、120,121・
・・・・・書込みアドレスレジスタ、130,131・
・・・・・読出しアドレス選択回路、140,141・
・・・・・書込みアドレス選択回路。 /−一\ 代理人 弁理士  内 原   晋 、′、−1−も□
 争 半1回 十ノ屯す 竿Z旧
FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a conventional example. 10.11, 100, 101...Vector register, 20,21...-Read/write address register, 20,200...Element data input selection circuit, 40... ...Element data output selection circuit, 50... Arithmetic unit, 110, 111.
...Read address register, 120, 121.
...Write address register, 130, 131.
... Read address selection circuit, 140, 141.
...Write address selection circuit. /−1\ Agent Patent Attorney Susumu Uchihara ,′、−1−also□
The old rod Z that takes ten noton once in a half

Claims (1)

【特許請求の範囲】 順序付けられたエレメントデータを保持する第1のベク
トル格納手段と、 この第1のベクトル格納手段の読出しアドレスが最大ア
ドレスとなったとき続くアドレスを最小アドレスと設定
する第1のアドレス設定手段と、この第1のアドレス設
定手段により設定されたアドレスから読出されたエレメ
ントデータを第2のベクトル格納手段へ順次移送する移
送手段と、この移送手段で移送する際第2のベクトル格
納手段の書込みアドレスが最大アドレスとなったとき続
くアドレスを最小アドレスと設定する第2のアドレス設
定手段とを含むことを特徴とするベクトルデータ処理装
置。
[Claims] A first vector storage means for holding ordered element data, and a first vector storage means for setting the next address as the minimum address when the read address of the first vector storage means becomes the maximum address. an address setting means; a transfer means for sequentially transferring the element data read from the address set by the first address setting means to a second vector storage means; A vector data processing device comprising second address setting means for setting a subsequent address as the minimum address when the write address of the means reaches the maximum address.
JP13677684A 1984-07-02 1984-07-02 Vector data processor Granted JPS6116366A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP13677684A JPS6116366A (en) 1984-07-02 1984-07-02 Vector data processor
EP85108148A EP0167959B1 (en) 1984-07-02 1985-07-01 Computer vector register processing
DE8585108148T DE3585972D1 (en) 1984-07-02 1985-07-01 COMPUTER VECTOR REGISTER PROCESSING.
US06/751,112 US5019969A (en) 1984-07-02 1985-07-02 Computer system for directly transferring vactor elements from register to register using a single instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13677684A JPS6116366A (en) 1984-07-02 1984-07-02 Vector data processor

Publications (2)

Publication Number Publication Date
JPS6116366A true JPS6116366A (en) 1986-01-24
JPH0255822B2 JPH0255822B2 (en) 1990-11-28

Family

ID=15183247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13677684A Granted JPS6116366A (en) 1984-07-02 1984-07-02 Vector data processor

Country Status (1)

Country Link
JP (1) JPS6116366A (en)

Also Published As

Publication number Publication date
JPH0255822B2 (en) 1990-11-28

Similar Documents

Publication Publication Date Title
US4884192A (en) Information processor capable of data transfer among plural digital data processing units by using an active transmission line having locally controlled storage of data
US4761754A (en) Vector processor wherein outputs of vector registers are fixedly coupled to inputs of vector calculators
US5019969A (en) Computer system for directly transferring vactor elements from register to register using a single instruction
US6795874B2 (en) Direct memory accessing
JPS6116366A (en) Vector data processor
JPS6211736B2 (en)
JPH0255821B2 (en)
JPS6116364A (en) Vector data processor
JPS6116365A (en) Vector data processor
EP0715252B1 (en) A bit field peripheral
JPH0496172A (en) Data storing system, vector data buffer device, and vector data processor
JPS62232073A (en) Vector data processor
JPS60186964A (en) Vector processor
JPS62232074A (en) Vector data processor
JP3675948B2 (en) Data conversion method and apparatus
JPH01119823A (en) First-in first-out storage device
JP3216148B2 (en) Data transfer device with sorting function
JPS61198351A (en) Direct memory access control circuit
JPH0467661B2 (en)
JPH04321993A (en) Storage control device
JPH05128001A (en) Information processor
JPS58189719A (en) Data transfer control system
JPH04333950A (en) Information processing system
JPS638553B2 (en)
JPH01106138A (en) Associative memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees