[go: up one dir, main page]

JPH0255821B2 - - Google Patents

Info

Publication number
JPH0255821B2
JPH0255821B2 JP13677384A JP13677384A JPH0255821B2 JP H0255821 B2 JPH0255821 B2 JP H0255821B2 JP 13677384 A JP13677384 A JP 13677384A JP 13677384 A JP13677384 A JP 13677384A JP H0255821 B2 JPH0255821 B2 JP H0255821B2
Authority
JP
Japan
Prior art keywords
vector
element data
register
address
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.)
Expired
Application number
JP13677384A
Other languages
Japanese (ja)
Other versions
JPS6116363A (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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP13677384A priority Critical patent/JPS6116363A/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 JPS6116363A publication Critical patent/JPS6116363A/en
Publication of JPH0255821B2 publication Critical patent/JPH0255821B2/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)

Description

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

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

ベクトルレジスタ10および11はそれぞれが
複数個のエレメントデータを保持するもので、通
常複数個設けられる。読出し/書込みアドレスレ
ジスタ20および21はベクトルレジスタ10お
よび11内に保持されているエレメントデータの
ロケーシヨンを指定するもので、初期設定で
“0”にクリアされるともに、+1カウント機能を
有する。
Each of the vector registers 10 and 11 holds a plurality of element data, and usually a plurality of vector registers are provided. Read/write address registers 20 and 21 designate the location of element data held in vector registers 10 and 11, are cleared to "0" in initial setting, and have a +1 count function.

1個のベクトルレジスタに保持されているエレ
メントデータの部分ベクトル演算を行なう場合、
このベクトルレジスタに保持されているエレメン
トデータの一部を他のベクトルレジスタに移送し
ておく必要がある。
When performing partial vector operations 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.

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

前者の方法では、ベクトルレジスタ10に保持
されているエレメントデータがストア命令により
ベクトル長指定分だ主メモリに順次ストアされ、
ストアされたエレメントデータの一部がベクトル
レジスタ11にロードされる。まずストア命令に
おける移送元ベクトルレジスタ10と移送するベ
クトル長との指定に応答して、読出し/書込みア
ドレスレジスタ20は“0”に初期設定される。
この初期設定に応答して、ベクトルレジスタ10
に保持されているエレメントデータのロケーシヨ
ン0がエレメントデータ出力選択回路40へ出力
され、読出し/書込みアドレスレジスタ20のカ
ウントアツプにともないエレメントデータが順次
出力される。エレメントデータ出力選択回路40
を介して与えられるベクトルレジスタ10の出力
は主メモリへ順次移送される。
In the former method, the element data held in the vector register 10 is sequentially stored in the main memory by a specified vector length by a store instruction.
A portion of the stored element data is loaded into the vector register 11. First, the read/write address register 20 is initialized to "0" in response to designation of the transfer source vector register 10 and the vector length to be transferred in a store instruction.
In response to this initialization, vector register 10
Location 0 of the element data held in is output to the element data output selection circuit 40, and as the read/write address register 20 counts up, the element data are sequentially output. Element data output selection circuit 40
The outputs of vector register 10 provided through are sequentially transferred to main memory.

次にロード命令における部分ベクトル演算に必
要なエレメントデータのロード開始アドレスと、
ロード先のベクトルレジスタ11およびベクトル
長指定に応答して読出し/書込みアドレスレジス
タ21の指示に従い主メモリからベクトルレジス
タ11にエレメントデータが順次ロードされる 後者の方法ではベクトルレジスタ10に保持さ
れているエレメントデータがシフト命令により1
語ずつシフトされてベクトルレジスタ11に移送
される。
Next, the load start address of the element data necessary for partial vector operation in the load instruction,
Element data is sequentially loaded from the main memory to the vector register 11 according to instructions from the read/write address register 21 in response to the load destination vector register 11 and vector length designation. In the latter method, the elements held in the vector register 10 Data is changed to 1 by shift command
The data is shifted word by word and transferred to the vector register 11.

シフト命令でシフトすべきエレメントデータを
保持するベクトルレジスタ10とシフト結果を移
送するベクトルレジスタ11、シフト量およびベ
クトル長を指定すると、読出し/書込みアドレス
レジスタ20のカウントアツプにともないベクト
ルレジスタ10に保持されているエレメントデー
タはロケーシヨン0からエレメントデータ出力選
択回路40に順次出力される。エレメントデータ
出力選択回路40を介して与えられたベクトルレ
ジスタ10の出力は演算器50に送られる。演算
器50はエレメントデータ出力選択回路40の出
力と命令で指定されたシフト量に応答してシフト
動作を行なう。
When a shift command specifies the vector register 10 that holds the element data to be shifted, the vector register 11 that transfers the shift result, the shift amount, and the vector length, the data is stored in the vector register 10 as the read/write address register 20 counts up. The element data stored in the element data output selection circuit 40 is sequentially outputted from location 0 to the element data output selection circuit 40. The output of the vector register 10 provided via the element data output selection circuit 40 is sent 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.

シフト量は通常1語右シフト指定である。エレ
メントデータを1語分右シフトして出力すること
により演算器50の出力はエレメントデータ入力
選択回路30を介してベクトルレジスタ11に1
語分シフトした形式で移送される。
The shift amount is usually specified as a one word shift to the right. By shifting the element data to the right by one word and outputting it, the output of the arithmetic unit 50 is sent to the vector register 11 via the element data input selection circuit 30.
Transported in word-shifted format.

読出し/書込みアドレスレジスタ21も+1カ
ウント機能を有し、エレメントデータ入力選択回
路30から出力されるエレメントデータのロケー
シヨンを順次指定する。
The read/write address register 21 also has a +1 count function and sequentially specifies the location of element data output from the element data input selection circuit 30.

このシフト動作を繰り返すことで所定のエレメ
ントデータ移送が終了する。
By repeating this shift operation, the predetermined element data transfer is completed.

従つて、どちらの方式も主メモリまたは演算器
を必要とするためエレメントデータ移送の性能が
低くしかも後続の命令が主メモリまたは演算器を
必要とするとき競合してしまうという欠点があ
る。
Therefore, both methods require a main memory or an arithmetic unit, resulting in low element data transfer performance, and have the disadvantage that subsequent instructions compete when they require the main memory or arithmetic unit.

(発明の目的) 本発明の目的は、第1のベクトル格納手段の任
意の開始アドレスから第2のベクトル格納手段へ
エレメントデータを直接移送することにより、高
速にベクトル格納手段間のエレメントデータ移送
をできるようにしたベクトルデータ処理装置を提
供することにある。
(Object of the Invention) An object of the present invention is to transfer element data between vector storage means at high speed by directly transferring element data from an arbitrary start address of a first vector storage means to a second vector storage means. An object of the present invention is to provide a vector data processing device that can perform vector data processing.

(発明の構成) 本発明のベクトルデータ処理装置は順序付けら
れたエレメントデータを保持する第1のベクトル
格納手段と該第1のベクトル格納手段の任意の読
出し開始アドレスを設定するアドレス設定手段
と、 該アドレス設定手段により設定されたアドレス
から順次読出されたエレメントデータを第2のベ
クトル格納手段へ移送する手段とを含む。
(Structure of the Invention) A vector data processing device of the present invention comprises: a first vector storage means for holding ordered element data; an address setting means for setting an arbitrary read start address of the first vector storage means; and means for transferring the element data sequentially read from the address set by the address setting means to the second vector storage means.

(発明の実施例) 次に本発明について図面を参照して詳細に説明
する。
(Embodiments of the Invention) Next, the present invention will be described in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例は、ベ
クトルレジスタ100および101、読出しアド
レスレジスタ110および111、書込みアドレ
スレジスタ120および121、読出しアドレス
選択回路130および131、書込みアドレス選
択回路140および141、およびエレメントデ
ータ入力選択回路200を有している。
Referring to FIG. 1, one embodiment of the present invention includes vector registers 100 and 101, read address registers 110 and 111, write address registers 120 and 121, read address selection circuits 130 and 131, and write address selection circuits 140 and 141. , and an element data input selection circuit 200.

本実施例の動作は以下の通りである。 The operation of this embodiment is as follows.

複数個のベクトルレジスタ、本実施例では2個
のベクトルレジスタ100および101はそれぞ
れが順序付けられた複数のエレメントデータを保
持するもので、演算器から出力される演算結果あ
るいは主メモリから出力されるロードデータを格
納する。1個のベクトルレジスタに保持されてい
るエレメントデータの部分ベクトル演算を行なう
場合、このベクトルレジスタに保持されていエレ
メントデータの一部を他のベクトルレジスタに移
送しておく必要がある。
A plurality of vector registers, two vector registers 100 and 101 in this embodiment, each hold a plurality of ordered element data, and each holds a plurality of ordered element data, such as a calculation result output from an arithmetic unit or a load output from the main memory. Store data. 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.

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

また、移送先ベクトルレジスタへの書込み開始
アドレスも同様に命令あるいは命令付随情報とし
て、書込みアドレス選択回路141に入力される
が、命令によつて指定されない場合には“0”が
入力される。なお、これらの開始アドレスの設定
経路は図示されていない。
Furthermore, the write start address to the transfer destination vector register is similarly input to the write address selection circuit 141 as a command or instruction accompanying information, but if it is not specified by a command, "0" is input. Note that the setting paths for these start addresses are not shown.

一方、移送元ベクトルレジスタ番号がベクトル
レジスタ101を指定し、移送先ベクトルレジス
タ番号がベクトルレジスタ100を指定するよう
な命令である場合には、移送元ベクトルレジスタ
の読出し開始アドレスは命令あるいは命令付随情
報として、読出しアドレス選択回路131に入力
される。移送先ベクトルレジスタの書込み開始ア
ドレスも同様に命令あるいは命令付随情報とし
て、書込みアドレス選択回路140に入力され
る。これらの場合も命令によつて指定されない場
合には“0”が入力される。なお、これらの開始
アドレス設定経路も図示されていない。ベクトル
レジスタ100および101に保持できる最大エ
レメントデータ長をそれぞれ64個とし、ベクトル
レジスタ100からベクトルレジスタ101へ32
個のエレメントデータを移送する場合には、まず
ベクトル長指定を“32”とする。命令によつて移
送元ベクトルレジスタ番号をベクトルレジスタ1
00、移送先ベクトルレジスタ番号をベクトルレ
ジスタ101とそれぞれ指定し、ベクトルレジス
タ100の読出し開始アドレスを“32”と指定す
る。命令によつて指定された読出し開始アドレス
は読出しアドレス選択回路130に入力され、選
択されて読出しアドレスレジスタ110に“32”
の値が格納される。同時に書込み開始アドレスは
命令で指定されていないため書込みアドレス選択
回路141にて“0”が入力される。これが選択
されて書込みアドレスレジスタ121に“0”が
初期設定される。ベクトルレジスタ100は読出
しアドレスレジスタ110で指定されるロケーシ
ヨンのエレメントデータをエレメントデータ入力
選択回路200に出力する。読出しアドレスレジ
スタ110はエレメントデータを順次読出すため
に+1カウント機能を有し、ロケーシヨン32の
次はロケーシヨン33、その次はロケーシヨン3
4とカウントされる。カウントされたロケーシヨ
ンにベクトル長指定分だけベクトルレジスタ10
0内に保持されているエレメントデータが読出さ
れ、エレメントデータ入力選択回路200に出力
される。エレメントデータ入力選択回路200は
ベクトルレジスタ100から読出されたエレメン
トデータをベクトルレジスタ101に入力するよ
う選択指示する。
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 read start address of the source vector register is the instruction or instruction accompanying information. is input to the read address selection circuit 131 as follows. The write start address of the transfer destination vector register is similarly input to the write address selection circuit 140 as an instruction or instruction accompanying information. In these cases as well, "0" is input if it is not specified by the instruction. Note that these start address setting paths are also not shown. The maximum element data length that can be held in vector registers 100 and 101 is 64 each, and 32 elements are stored from vector register 100 to vector register 101.
When transferring element data, first set the vector length to "32". The transfer source vector register number is set to vector register 1 by the instruction.
00, the destination vector register number is designated as vector register 101, and the read start address of vector register 100 is designated as "32". The read start address specified by the instruction is input to the read address selection circuit 130, selected and set as “32” in the read address register 110.
The value of is stored. At the same time, since the write start address is not specified by the instruction, "0" is input to the write address selection circuit 141. This is selected and the write address register 121 is initialized to "0". Vector register 100 outputs element data at a location specified by read address register 110 to element data input selection circuit 200 . The read address register 110 has a +1 count function to sequentially read element data, and the next location is location 32, then location 33, and then location 3.
It counts as 4. The vector register 10 is added to the counted location by the specified vector length.
Element data held within 0 is read out and output to element data input selection circuit 200. The element data input selection circuit 200 selects and instructs the element data read from the vector register 100 to be input to the vector register 101.

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

移送元ベクトルレジスタの読出し開始アドレス
をmとしたとき、64−(m−1)以上の値をベク
トル長指定で指定されている場合には次のように
なる。すなわち、読出しアドレスレジスタ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-1) or more is specified by the vector length specification, the following will occur. That is, read address register 110
has a function of specifying location 0 as the next location when the location in the vector register 100 reaches "63" and sequentially counting by the number of vector lengths specified.

他の命令で、移送元ベクトルレジスタ番号をベ
クトルレジスタ100、移送先ベクトルレジスタ
番号をベクトルレジスタ101と指定し、ベクト
ルレジスタ101の書込み開始アドレスを“32”
と指定したとする。読出し開始アドレスは、命令
で指定されていないため読出しアドレス選択回路
130にて“0”が入力され、これが選択されて
読出しアドレスレジスタ110に“0”が初期設
定される。命令で指定された書込み開始アドレス
は書込みアドレス選択回路141に入力され、選
択されて書込みアドレスレジスタ121に“32”
の値が格納される。
In another instruction, specify the source vector register number as vector register 100, the destination vector register number as vector register 101, and set the write start address of vector register 101 to "32".
Suppose we specify Since the read start address is not specified by the instruction, "0" is input to the read address selection circuit 130, and this is selected and the read address register 110 is initialized to "0". The write start address specified by the instruction is input to the write address selection circuit 141, and is selected and set to “32” in the write address register 121.
The value of is stored.

読出しアドレスレジスタ110は+1カウント
機能を有する。このレジスタ110からのアドレ
スに応答して、ベクトルレジスタ100のロケー
シヨン0から順次エレメントデータが読出され、
エレメントデータ入力選択回路200に出力され
る。書込みアドレスレジスタも同様に+1カウン
ト機能を有し、エレメントデータ入力選択回路2
00から第1番目のエレメントデータすなわちベ
クトルレジスタ100のロケーシヨン0から読出
したエレメントデータが出力される時点で書込み
を開始する。この動作は移送したエレメントデー
タ数が“32”に達したとき、すなわちベクトル長
指定に等しくなつたとき終了する。また、移送先
の書込み開始アドレスをmとしたとき、64−(m
−1)以上の値をベクトル長指定で指定されてい
る場合には、書込みアドレスレジスタ121はベ
クトルレジスタ101のロケーシヨンが“63”に
達するとその次はロケーシヨン0に戻り、順次ベ
クトル長指定数分だけカウントしていく機能を有
している。
Read address register 110 has a +1 count function. In response to the address from this register 110, element data is sequentially read from location 0 of the vector register 100,
It is output to the element data input selection circuit 200. The write address register also has a +1 count function, and the element data input selection circuit 2
Writing starts when the first element data from 00, that is, the element data read from location 0 of the vector register 100, is output. This operation ends when the number of transferred element data reaches "32", that is, when it becomes equal to the vector length designation. Also, when the write start address of the transfer destination is m, 64-(m
-1) If a value above is specified by the vector length specification, the write address register 121 will return to location 0 when the location of the vector register 101 reaches "63", and will sequentially write the number of vector length specifications. It has a function to count only

さらに他の命令で、移送元ベクトルレジスタ番
号をベクトルレジスタ100、移送先ベクトルレ
ジスタ番号をベクトルレジスタ101と指定し、
ベクトルレジスタ100の読出し開始アドレスを
“32”、ベクトルレジスタ101の書込み開始アド
レスを“32”と指定したとする。読出し開始アド
レスおよび書込み開始アドレスはともに命令で指
定されているため読出しアドレス選択回路130
および書込みアドレス選択回路141にそれぞれ
開始アドレス“32”が入力され、選択されて、読
出しアドレスレジスタ110および書込みアドレ
スレジスタ121に格納される。読出しアドレス
レジスタ110は+1カウント機能を有している
ためベクトルレジスタ100のロケーシヨン32
から順次ベクトルデータを読出し、エレメントデ
ータ入力選択回路200に出力していく。また書
込みアドレスレジスタ121も+1カウント機能
を有し、エレメントデータ入力選択回路200か
ら出力されるエレメントデータをベクトルレジス
タ101のロケーシヨン32から順次書込んでい
く。この動作は移送したエレメントデータ数が
“32”に達したとき、すなわちベクトル長指定に
等しくなつたとき終了する。また読出し開始アド
レスおよび書込み開始アドレスをそれぞれm,n
としたとき、ベクトル長指定が64−(m−1)よ
り大きいと読出しアドレスレジスタの内容は63か
ら0に戻つてカウントを続行する。ベクトル長指
定が64−(n−1)より大きいと書込みアドレス
レジスタの内容は63から0に戻つてカウントを続
行する。
Furthermore, in another instruction, the source vector register number is specified as vector register 100, the destination vector register number is specified as vector register 101,
Assume that the read start address of the vector register 100 is specified as "32", and the write start address of the vector register 101 is specified as "32". Since both the read start address and the write start address are specified by the instruction, the read address selection circuit 130
Start address “32” is input to write address selection circuit 141 and selected, and stored in read address register 110 and write address register 121. Since the read address register 110 has a +1 count function, the location 32 of the vector register 100
The vector data is sequentially read from the element data input selection circuit 200 and output 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. This operation ends when the number of transferred element data reaches "32", that is, when it becomes equal to the vector length designation. Also, 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 0 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 to , and can be arbitrarily specified by a command.

(発明の効果) 本発明には、第1のベクトル格納手段の任意の
読出し開始アドレスを設定できる手段と、ベクト
ル格納手段間のエレメントデータ移送手段を設け
ることにより、ベクトル格納手段間のエレメント
データ移送を任意の開始アドレスから高速に実現
できるという効果がある。
(Effects of the Invention) The present invention includes a means for setting an arbitrary read start address of the first vector storage means and a means for transferring element data between the vector storage means. This has the advantage that it can be realized at high speed from any starting address.

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

第1図は本発明の一実施例を示す図および第2
図は従来例を示す図である。 10,11,100,101……ベクトルレジ
スタ、20,21……読出し/書込みアドレスレ
ジスタ、30,200……エレメントデータ入力
選択回路、40……エレメントデータ出力選択回
路、50……演算器、110,111……読出し
アドレスレジスタ、120,121……書込みア
ドレスレジスタ、130,131……読出しアド
レス選択回路、140,141……書込みアドレ
ス選択回路。
FIG. 1 is a diagram showing one embodiment of the present invention, and FIG.
The figure shows a conventional example. 10, 11, 100, 101... Vector register, 20, 21... Read/write address register, 30, 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.

Claims (1)

【特許請求の範囲】 1 順序付けられたエレメントデータを保持する
第1のベクトル格納手段と、この第1のベクトル
格納手段の任意の読出し開始アドレスを設定する
アドレス設定手段と、 このアドレス設定手段により設定されたアドレ
スから読出されたエレメントデータを第2のベク
トル格納手段へ順次移送する移送手段とを含むこ
とを特徴とするベクトルデータ処理装置。
[Scope of Claims] 1. A first vector storage means for holding ordered element data, an address setting means for setting an arbitrary read start address of the first vector storage means, and a method set by the address setting means. 1. A vector data processing apparatus, comprising: a transfer means for sequentially transferring element data read from a given address to a second vector storage means.
JP13677384A 1984-07-02 1984-07-02 Vector data processor Granted JPS6116363A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP13677384A JPS6116363A (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
JP13677384A JPS6116363A (en) 1984-07-02 1984-07-02 Vector data processor

Publications (2)

Publication Number Publication Date
JPS6116363A JPS6116363A (en) 1986-01-24
JPH0255821B2 true JPH0255821B2 (en) 1990-11-28

Family

ID=15183174

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS6116363A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63172367A (en) * 1987-01-09 1988-07-16 Nec Corp Vector data processor

Also Published As

Publication number Publication date
JPS6116363A (en) 1986-01-24

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
US5019969A (en) Computer system for directly transferring vactor elements from register to register using a single instruction
JPH0433029A (en) Memory device and driving method thereof
US6795874B2 (en) Direct memory accessing
JPH0255821B2 (en)
JPH06103225A (en) Chain type DMA system and DMA controller therefor
JPS6211736B2 (en)
JPH0255822B2 (en)
JPS6116364A (en) Vector data processor
JPS6116365A (en) Vector data processor
JPS62232073A (en) Vector data processor
JPS62232074A (en) Vector data processor
KR0134461B1 (en) First-in/first-out memory device
JPH07182849A (en) FIFO memory
JPH01119823A (en) First-in first-out storage device
JP2699482B2 (en) Data transfer control device
JPH04321993A (en) storage controller
JPH0567035A (en) Data alignment method in DMA transfer
JPS638553B2 (en)
JP3033334B2 (en) Data storage device
JPS6052448B2 (en) microprogram controller
JPH04333950A (en) Information processing system
JPH0332829B2 (en)
JPS61198351A (en) Direct memory access control circuit
JPH05128001A (en) Information processor

Legal Events

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