JPS60251470A - Vector data processor - Google Patents

Vector data processor

Info

Publication number
JPS60251470A
JPS60251470A JP10773984A JP10773984A JPS60251470A JP S60251470 A JPS60251470 A JP S60251470A JP 10773984 A JP10773984 A JP 10773984A JP 10773984 A JP10773984 A JP 10773984A JP S60251470 A JPS60251470 A JP S60251470A
Authority
JP
Japan
Prior art keywords
vector
register
instruction
arithmetic
data processing
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
JP10773984A
Other languages
Japanese (ja)
Other versions
JPH0330182B2 (en
Inventor
Yuichi Sasaki
裕一 佐々木
Shoji Nakatani
中谷 彰二
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10773984A priority Critical patent/JPS60251470A/en
Publication of JPS60251470A publication Critical patent/JPS60251470A/en
Publication of JPH0330182B2 publication Critical patent/JPH0330182B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To attain plural arithmetic executions by one vector arithmetic instruction by executing an optional arithmetic for a specific element in vector data having a long vector length in accordance with the element. CONSTITUTION:Operators such as modification bits M1-M3 of R1-R3 parts, an instruction conversion code C and a command Ci are added to the R4 part of a vector instruction. In a pipe-line operation stage, respective elements of data A and that of data B are read out from a vector register specified by the R3 part of the vector instruction and a register specified by the R2 part respectively to a stage register 1 for arithmetic stages. Then, the operator is read out from the vector register specified by the R4 part of the vector instruction to the register 1 in accordance with the element and sent to an arithmetic unt 2 and arithmetic specified by the operator is executed in accordance with respective elements.

Description

【発明の詳細な説明】 (a) 産業上の利用分野 本発明は、一つの命令で複数個のエレメントを順次処理
するベクトルデータ処理方式において、各エレメント対
応に、それぞれ任意の演算を施すことのできる機能を備
えたベクトルデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Field of Application The present invention is directed to a vector data processing method in which a plurality of elements are sequentially processed using a single instruction, in which an arbitrary operation can be performed on each element. The present invention relates to a vector data processing device that has functions that can perform the following functions.

一般のベクトルデータ処理装置は、一つのベクトル命令
によって、多量のエレメントデータを処理する、所謂S
IMD(Single In5tractton Mu
ltipleDa ta)形式に属するデータ処理手段
である。
A general vector data processing device processes a large amount of element data using a single vector instruction.
IMD(Single In5tractton Mu
This is data processing means belonging to the ltipleData) format.

このベクトルデータ処理方式においては、処理の高速化
を図る為に、主記憶装置と演算パイプラインとの間にベ
クトルレジスタを設け、該主記憶装置とベクトルレジス
タ間には、アクセスパイプライン(ロード/ストアパイ
プライン)を設け、上記演算パイプラインにおける処理
とは独立に、処理すべきエレメントデータの主記憶装置
からのベクトルレジスタへのロード、或いは処理結果の
主記憶装置へのストアを行っている。
In this vector data processing method, in order to speed up processing, a vector register is provided between the main memory and the arithmetic pipeline, and an access pipeline (load/processor) is provided between the main memory and the vector register. A store pipeline) is provided, and element data to be processed is loaded from the main memory to the vector register, or processing results are stored in the main memory, independently of the processing in the arithmetic pipeline.

そして、実際の演算は、複数個の演算パイプラインによ
って、上記ベクトルレジスタとの間のみで実行できるよ
うにしている。
Actual calculations can be performed only with the vector registers using a plurality of calculation pipelines.

かかるベクトルデータ処理装置において、ベクトル長の
長いベクトルデータに対して、ベクトル演算命令を実行
中に、特定のエレメント群に対して別の演算を実行する
と云う操作の繰り返しを必要とする場合、該エレメント
データを複数個のベクトル命令に分割して実行する必要
があった。
In such a vector data processing device, when it is necessary to repeat an operation such as executing another operation on a specific group of elements while executing a vector operation instruction on vector data with a long vector length, It was necessary to divide the data into multiple vector instructions and execute them.

一方、通常のベクトルデータ処理装置においては、ベク
トルレジスタの各エレメント対応に、マスクレジスタが
設けられており、実際のベクトル演算の実行に際して、
当該エレメントに対するマスクデータによって、該エレ
メントに対する演算の有効/無効を判定する機能がある
On the other hand, in a normal vector data processing device, a mask register is provided for each element of the vector register, and when executing an actual vector operation,
There is a function of determining validity/invalidity of calculations for the element based on mask data for the element.

そこで、ベクトルデータ処理装置における、上記エレメ
ント対応のマスク機能に着目して、該マスク機能を高度
化する形で、各エレメント対応に任意の演算を施す機能
を付加することにより、単にエレメント対応のベクトル
演算をマスクするだけでなく、所謂MIMD(Mult
、1ple In5truction Multipl
e Data)機能に準じた処理が可能となる。
Therefore, by focusing on the masking function for each element in the vector data processing device and adding a function to perform arbitrary calculations on each element, we can simply add a function to perform arbitrary calculations on each element. In addition to masking operations, so-called MIMD (Mult
, 1ple In5truction Multipl
It becomes possible to process according to the eData) function.

このような機能があると、例えば、多量のエレメントデ
ータを処理する画像処理等において、特定の条件を満た
す画素(エレメント)に対してのみ、互いに異なる複数
種類の特別な処理を施したいような場合に、極めて有用
となる。
With such a function, for example, in image processing that processes a large amount of element data, you may want to perform multiple different types of special processing only on pixels (elements) that meet specific conditions. It is extremely useful.

第4図は、該画像処理を行う場合の、特定の条件を満た
す画素に対する演算の種別(演算子)を画素対応に決め
、その演算子によって各画素対応に特定の演算を施す処
理を流れ図で示したもので、第5図は、第4図の処理に
よって得られた、各画素単位に施す演算子の分布の例を
示した図である。
Figure 4 is a flowchart showing the process of determining the type of operation (operator) for pixels that meet specific conditions when performing image processing, and applying specific operations to each pixel using that operator. FIG. 5 is a diagram showing an example of the distribution of operators applied to each pixel, obtained by the process shown in FIG. 4.

先ず、第4図によって、各ステップの動作を説明する。First, the operation of each step will be explained with reference to FIG.

ステップ10:各画素に対して特定の演算を行い、その
結果が予め定めである常数と比較し、大きいか、小さい
か2等しいかを判定し、大きい場合にはステップ11に
移り、等しい場合にはステップ12に移り、小さい場合
にはステップ13に移るように動作する。
Step 10: Perform a specific operation on each pixel, compare the result with a predetermined constant, and determine whether it is larger, smaller, or equal to 2. If larger, proceed to step 11; if equal, The process moves to step 12, and if it is smaller, the process moves to step 13.

ステップ11:演算子をCOとして、ベクトル演算命令
のR4パートが指定するベクトルレジスタの、当該エレ
メントの位置に格納する。
Step 11: Using CO as the operator, store in the position of the element in the vector register specified by the R4 part of the vector operation instruction.

ステップ12:演算子をCIとして、ベクトル演算命令
のR4バートが指定するベクトルレジスタの、当該エレ
メントの位置に格納する。
Step 12: Using CI as the operator, store in the position of the element in the vector register specified by R4 Bart of the vector operation instruction.

ステップ13:演算子をC1として、ベクトル演算命令
のR4バートが指定するベクトルレジスタの、当該エレ
メントの位置に格納する。
Step 13: Set the operator to C1 and store in the position of the element in the vector register specified by R4 Bart of the vector operation instruction.

ステップ14:総での画素について、上記ステップ10
〜ステツプ13の処理が終了した時点において、該ベク
トル演算命令のR2パートが指定するベクトルレジスタ
の各エレメントと、R3パートが指定するベクトルレジ
スタの各エレメントとの間で、上記R4バートが指定す
るベクトルレジスタの対応するエレメントに格納されて
いる演算子Ciの演算をエレメント対応で行い、演算結
果をR1パートが指定するベクトルレジスタの対応する
エレメントの位置に格納する。
Step 14: For the total pixels, step 10 above
~At the point when the processing in step 13 is completed, the vector specified by the above R4 part is created between each element of the vector register specified by the R2 part of the vector operation instruction and each element of the vector register specified by the R3 part. The operation of the operator Ci stored in the corresponding element of the register is performed on an element-by-element basis, and the operation result is stored in the position of the corresponding element of the vector register specified by the R1 part.

第5図は、第4図のステップ10〜ステツプ13迄の処
理によって得られた各画素対応の演算子の例を示したも
ので、・は演算子C1を示し、×は演算子COを示し、
○は演算子C2を示している。
FIG. 5 shows an example of the operators corresponding to each pixel obtained by the processing from step 10 to step 13 in FIG. ,
○ indicates operator C2.

このような、各画素対応に演算すべき内容が異なってい
るベクトルデータに対して、一つのベクトル演算命令で
、効果的に実行する方法が要求されていた。
There has been a need for a method for effectively executing such vector data, in which the content to be calculated for each pixel is different, with a single vector calculation instruction.

山)従来の技術 第2図は、従来方式によるベクトルデータ処理を模式的
に示したもので、(イ)は命令形式を示しく口)は演算
回路の構成を示している。
Figure 2 schematically shows vector data processing according to the conventional method, where (a) shows the instruction format and (b) shows the configuration of the arithmetic circuit.

本図において、1は演算パイプラインの演算ステージに
おけるステージレジスタ、2は演算器。
In this figure, 1 is a stage register in the calculation stage of the calculation pipeline, and 2 is a calculation unit.

そして、R1〜R4バートは、ベクトル命令の各フィー
ルドを示しており、この例においては、R3パートで指
定したベクトルレジスタのエレメント (Aデータ)と
、R2パートで指定したベクトルレジスタのエレメント
 (Bデータ)とをステージレジスタ1に読み出して、
演算器2において、該ベクトル命令の命令コード部が指
定する演算を施してステージレジスタ1に格納した後、
R1パートで指定したベクトルレジスタにステージとし
てストアする場合が示されている。
R1 to R4 parts indicate each field of the vector instruction, and in this example, the vector register element (A data) specified in the R3 part and the vector register element (B data) specified in the R2 part. ) to stage register 1,
After the arithmetic unit 2 performs the operation specified by the instruction code part of the vector instruction and stores it in the stage register 1,
A case is shown in which the vector register specified in the R1 part is stored as a stage.

そして、R4パートが前記演算マスクMで、従来方式に
おいては、該エレメントに対する演算をマスクする機能
に限定されていた所に特徴がある。
The R4 part is the calculation mask M, which in the conventional system is characterized in that it is limited to the function of masking calculations for the element.

(C) 発明が解決しようとする問題点従って、一つの
ベクトル命令を実行中におい・では、各エレメントに対
して共通の演算が実行できるのみであり、ベクトル長の
長いベクトルデータに対して、特定のエレメントに任意
の演算を施したい場合には、当該エレメントに対して、
別のベクトル命令で処理する必要があった。
(C) Problems to be Solved by the Invention Therefore, during the execution of one vector instruction, only a common operation can be executed for each element, and a specific operation cannot be performed for vector data with a long vector length. If you want to perform any operation on the element, use
It was necessary to process it with another vector instruction.

本発明は上記従来の欠点に鑑み、ベクトル長の長いベク
トルデータの特定のエレメントに対して、エレメント対
応に任意の演算を施すようにして、従来においては複数
のベクトル命令を起動しなければならなかった場合にも
、一つのベクトル命令で処理することができる方法を提
供することを目的とするものである。
In view of the above-mentioned drawbacks of the conventional art, the present invention performs arbitrary operations on specific elements of vector data having a long vector length, and conventionally requires starting multiple vector instructions. The purpose of this invention is to provide a method that can process such cases with a single vector instruction.

((D 問題を解決する為の手段 そしてこの目的は、本発明によれば、ベクトルレジスタ
、或いはマスクレジスフ間の算術演算や、論理演算を実
行する時、一つのベクトル命令の中に、上記ベクトルレ
ジスフ、或いはマスクレジスタの各エレメントに対して
、それぞれ任意の演算を施す命令変換コードとコマンド
コード等の演算子を備えたR4パートを備えるか、或い
はそれぞれのエレメントデータに、該演算子を付加する
方法を提供することによって達成される。
((D) Means for solving the problem and this object is that, according to the present invention, when performing arithmetic operations or logical operations between vector registers or mask registers, the above vector registers are included in one vector instruction. The R4 part is provided with operators such as instruction conversion codes and command codes that perform arbitrary operations on each element of the file or mask register, or the operator is added to each element data. This is achieved by providing a method.

+e) 作用 即ち、本発明においては、例えば従来のR4パートの演
算マスク機能に対して、命令変換コードCと、コマンド
コードCiを付加し、該命令変換コードCが“1゛の時
には当該ベクトル命令コードを、エレメント対応で、該
コマンドコーFCiに変更し、当該エレメントに対して
、該コマンドコードCiの処理を実行するようにして、
一連のへクトルデータに対して、前記MIMD形式(即
ち、ベクトル−命令起動時に複数命令、複数データを処
理する演算形式)のベクトル演算ができる効果がある。
+e) In other words, in the present invention, for example, an instruction conversion code C and a command code Ci are added to the calculation mask function of the conventional R4 part, and when the instruction conversion code C is "1", the vector instruction is Change the code to the command code FCi corresponding to the element, and execute the process of the command code Ci for the element,
There is an advantage that vector operations can be performed on a series of vector data in the MIMD format (that is, an operation format that processes multiple instructions and multiple data when a vector instruction is activated).

(f) 発明の実施例 以下本発明の実施例を図面によって詳述する。(f) Examples of the invention Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明によるベクトルデータ処理を模式的に示
したもので、(イ)は命令形式を示し、(ロ)は演算回
路の一実施例を示している。そして、1.2は第2図で
説明したものと同じものである。
FIG. 1 schematically shows vector data processing according to the present invention, in which (a) shows an instruction format and (b) shows an embodiment of an arithmetic circuit. 1.2 is the same as that explained in FIG.

本発明を適用したベクトル命令のR4パートには、■R
1〜R3パートの修飾ビン)Ml〜M3.■命令変換コ
ードC9及び■コマンドコードn個と言った演算子が付
加されており、単なる演算マスクビットMのみではない
所にポイントがある。
The R4 part of the vector instruction to which the present invention is applied includes ■R
1 to R3 part modification bins) Ml to M3. The key point lies in the fact that n operators such as (1) instruction conversion code C9 and (2) command code are added, and are not just a simple operation mask bit M.

上記各演算子の意味を説明すると、 M:演算マスクビットで、各エレメントに対する演算の
有効/無効を決める。
The meanings of the above operators are as follows: M: Operation mask bit determines validity/invalidity of operation for each element.

M1〜M3:各パートのエレメントに対する修飾ピント
で、各パートのエレメントデータをその侭使用するか/
反転して使用するかを決める。
M1 to M3: Whether to use the element data of each part in the modification focus for each part's element/
Decide whether to use it in reverse.

C,命令変換コードで、各エレメントに対する命令コー
ドとして、ベクトル命令コードをその侭使用するか、コ
マンドコードCiに変換して使用するかを決める。
C. The instruction conversion code determines whether the vector instruction code is used as the instruction code for each element, or whether it is converted into a command code Ci.

C1:コマンドコードn個の中のCL命令を示す。C1: Indicates a CL command among n command codes.

今、ベクトルデータに対して、 Xl−AiOBi、に こで、○は演算記号、Cは演算子を “示す。Now, for vector data, Xl-AiOBi, to Here, ○ indicates an operation symbol, and C indicates an operator.

で示した演算を実行する場合を考えると、先ず、演算パ
イプラインの演算ステージにおいで、データAの各エレ
メントが、ベクトル命令のR3ハートで指定するベクト
ルレジスタから、データBの各エレメントが該ベクトル
命令のR2バートで指定するベクトルレジスタから、そ
れぞれ演算ステージのステージレジスタ1に読み出され
る。
Considering the case of executing the operation shown in , first, in the operation stage of the operation pipeline, each element of data A is transferred from the vector register specified by the R3 heart of the vector instruction, and each element of data B is transferred from the vector register specified by the R3 heart of the vector instruction. The vector registers specified by the R2 part of the instruction are read to the stage register 1 of each calculation stage.

続いて、本発明を実施するのに必要な上記演算子が、該
ベクトル命令のR4バートで指定するベクトルレジスタ
から、上記エレメント対応で上記ステージレジスタ1に
読み出され、演算器2に送出され、上記M1〜M3ビッ
トは演算ゲートGMに対する制御信号として、Mは演算
マスクビットとして、C,Ciは該演算器2に対する制
御信号として機能し、各エレメント対応に、上記演算子
が指定する演算が実行されることになる。
Subsequently, the above-mentioned operators necessary to implement the present invention are read from the vector register specified by the R4 bit of the vector instruction into the stage register 1 in correspondence with the above-mentioned elements, and sent to the arithmetic unit 2, The above M1 to M3 bits function as control signals for the calculation gate GM, M functions as a calculation mask bit, and C and Ci function as control signals for the calculation unit 2, and the calculation specified by the above operator is executed for each element. will be done.

本発明を実施する場合には、当該ベクトル命令を実行す
るに先立って、上記R4バートが指定するベクトルレジ
スタに、各エレメントに対応する上記演算子を格納して
おく必要がある。
When implementing the present invention, it is necessary to store the above-mentioned operators corresponding to each element in the vector register designated by the above-mentioned R4 bart before executing the vector instruction.

例えば、上記ベクトル命令を実行するベクトルデータ(
^、B)に対して、前述の第4図で説明したような、各
エレメント対応の上記演算ビットを決定する為のベクト
ルデータ処理を実行することによって、R4バートが指
定するベクトルレジスタに、各エレメントに対応した演
算子を格納することができる。
For example, the vector data (
^, B), by executing the vector data processing to determine the operation bits corresponding to each element, as explained in FIG. Operators corresponding to elements can be stored.

このような演算子を使用して、本発明によるベクトルデ
ータ処理を実行した場合の動作をタイムチャート的に示
したものが第3図(イ)であり、(ロ)はその演算結果
の一例をエレメント対応で示した図である。
Figure 3 (a) is a time chart showing the operation when vector data processing according to the present invention is executed using such an operator, and (b) is an example of the calculation result. It is a diagram shown in correspondence with elements.

(イ)図において、横軸のtO” tj −tmは、各
エレメント対応の演算サイクルを示し、P1〜Pi〜P
nは演算パイプライン2における各ステージを示してい
る。
(a) In the figure, tO'' tj -tm on the horizontal axis indicates the calculation cycle corresponding to each element, and P1~Pi~P
n indicates each stage in the calculation pipeline 2.

具体的には、 P1ステージ:R3バート読み出しステージP2ステー
ジ:R2バート読み出しステージPiステージ:演算ス
テージ Pnステージ;R1パート書き込みステージである。
Specifically, they are: P1 stage: R3 part read stage P2 stage: R2 part read stage Pi stage: calculation stage Pn stage; R1 part write stage.

(ロ)図において、横方向はベクトル長を示し、縦方向
は1演算サイクルで処理されるエレメント数を示してい
る。従って、この縦方向のエレメント数は、並列に演算
が実行される演算パイプラインの数に対応する。
(b) In the figure, the horizontal direction shows the vector length, and the vertical direction shows the number of elements processed in one calculation cycle. Therefore, the number of elements in the vertical direction corresponds to the number of calculation pipelines in which calculations are executed in parallel.

又、本図において、A=論理積 OR=論理和 N−論理否定 EOR−排他的論理和 TRN =移動 を示しており、上記コマンドコードC3の一例である。Also, in this figure, A = logical product OR = logical sum N-logical negation EOR - Exclusive OR TRN = movement This is an example of the above command code C3.

このような演算結果を、それぞれの演算パイプライン毎
に、当該ベクトル命令のR1パートが指定するベクトル
レジスタに書き込むことによって、当該ベクトル命令に
よる一連のベクトルデータ処理が完了する。
By writing such calculation results into the vector register specified by the R1 part of the vector instruction for each calculation pipeline, a series of vector data processing by the vector instruction is completed.

尚、上記実施例においては、各エレメントに対する演算
のコマンドコード等を指定する演算子を、ベクトル演算
命令のR4パートによって、ベクトルデータが格納され
ているベクトルレジスタとは別のベクトルレジスタに設
ける例、即ち、当該演算子をデータとは別のアドレスで
指定する方法で説明したが、演算対象であるベクトルデ
ータを指定するアドレスと同じアドレスで指定して、演
算子を各エレメントデータの中に挿入しても良いことは
云う迄もないことである。
In the above embodiment, an example in which an operator specifying a command code for an operation for each element is provided in a vector register different from the vector register in which vector data is stored by the R4 part of the vector operation instruction; In other words, although we explained how to specify the operator using an address different from the data, it is also possible to insert the operator into each element data by specifying the same address as the vector data that is the object of the operation. Needless to say, it is a good thing.

又、上記実施例においては、ベクトルレジスタ間の演算
を例として説明したが、本発明の主旨から考えて、ベク
トルレジスタ間の演算に限定する必要はなく、例えばベ
クトルレジスタとマスクレジスタ間、或いはマスクレジ
スタ相互間でベクトルデータ処理を実行する場合にも適
用できることは云う迄もないことである。
Furthermore, in the above embodiments, operations between vector registers have been explained as an example, but considering the gist of the present invention, there is no need to limit operations to operations between vector registers. For example, operations between vector registers and mask registers, or operations between vector registers, Needless to say, the present invention can also be applied when vector data processing is performed between registers.

更に、コマンドコードCiが指定する演算命令として、
1演算サイクルで処理が完了する論理演算命令(A、 
OR,N、 EOR,等)で示したが、繰り返し演算を
必要とする命令にも適用できることは明らかなことであ
る。
Furthermore, as an operation instruction specified by command code Ci,
Logical operation instructions (A,
OR, N, EOR, etc.), but it is obvious that it can also be applied to instructions that require repeated operations.

(gl 発明の効果 以上、詳細に説明したように、本発明のへクトルデーク
処理装置は、例えばベクトル演算命令のR4バー1−に
、従来からの演算マスクビットMの他に、R1〜R3バ
ートの修飾ビット旧〜旧、命令変換コードC,コマンド
コードCiと言った演算子を備え、ベクトルデ〜りの各
エレメント対応に、該演算子に対応する処理を実行する
ようにしたものであるので、一連のベクトル長を有する
ベクトルデータに対して、一つのベクトル演算命令で、
複数の演算を実行することが可能となり、極め細かいベ
クトルデータ処理が実行できる効果がある。
(gl) Effects of the Invention As explained in detail above, the hector data processing device of the present invention adds R1 to R3 bits to R4 bar 1- of a vector operation instruction in addition to the conventional operation mask bit M. It is equipped with operators such as modification bit old to old, instruction conversion code C, and command code Ci, and the processing corresponding to the operator is executed for each element of the vector derivation. With one vector operation instruction, for vector data with a vector length of
It becomes possible to perform multiple operations, and has the effect of allowing extremely detailed vector data processing to be performed.

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

第1図は、本発明によるベクトルデータ処理の例を模式
的に示した図。 第2図は従来方式によるベクトルデータ処理の例を模式
的に示した図。 第3図は本発明によってベクトルデータ処理を・実行し
た時の動作を、タイムチャート的に示した図。 第4図、第5図は本発明の利用分野の一例を説明した図
、である。 図面において、 1は演算パイプラインのステージレジスタ。 2は演算器。 Mは演算マスクビット。 M1〜M3はR1〜R3バートの修飾ビットCは命令変
換コード、C1はコマンドコード。 P1〜Pnはパイプラインステージ。 八、 OR,N、 EOR,TRNはコマンドコマンド
の一伊L10〜14は動作ステップ、をそれぞれ示す。 嘉 1 詔 寥 2 図 茶 3 図 ♀ 5 程 1 l 1 1 j l 1 1111111 oooooo。 lθ Q−−−0・、C! 0−−−○X:Cθ o−−−o o:cz C)−−−Q −−−0 −−−0 −−−0 0−m=〇 1に
FIG. 1 is a diagram schematically showing an example of vector data processing according to the present invention. FIG. 2 is a diagram schematically showing an example of vector data processing using a conventional method. FIG. 3 is a time chart showing the operation when vector data processing is executed according to the present invention. FIGS. 4 and 5 are diagrams illustrating an example of the field of application of the present invention. In the drawing, 1 is a stage register of the calculation pipeline. 2 is a computing unit. M is an operation mask bit. M1-M3 are R1-R3 bit modification bit C is an instruction conversion code, and C1 is a command code. P1 to Pn are pipeline stages. 8. OR, N, EOR, TRN are commands; L10-14 are operation steps, respectively. Jia 1 Edict 2 Zucha 3 Diagram ♀ 5 Degree 1 l 1 1 j l 1 1111111 ooooooo. lθ Q---0・,C! 0---○X:Cθ o---o o:cz C)---Q ---0 ---0 ---0 0-m=〇1

Claims (1)

【特許請求の範囲】 (11一つ乃至複数個のバンクを同時にアクセス可能と
するベクトルレジスタ、及び、又はマスクレジスタと、
ベクトルレジスタ、或いはマスクレジスタ間で演算を実
行する一つ乃至複数本の演算パイプラインを備えたベク
トルデータ処理方式において、該演算パイプラインでの
実行に当たって9、一つの命令でベクトルレジスタ、或
いはマスクレジスタの各エレメントに対して順次演算を
施すのに際して、各エレメントに対して、それぞれ任意
の演算を施す為の演算子を上記ベクトルレジスタ内、又
はマスクレジスタ内に設け、N(≧1)個のエレメント
を一つの単位として処理できるようにしたことを特徴と
するベクトルデータ処理装置。 (2) 上記各エレメントに任意の演算を施す為、の演
算子を、ベクトルレジスタ、又はマスクレジスタに対し
て、データとは別のアドレスで指定して該ベクトルレジ
スタ、又はマスクレジスタの一部分に持つか、或いはデ
ータと同じアドレスで指定して、エレメント対応に持つ
ようにしたことを特徴とする特許請求の範囲第1項に記
載のベクトルデータ処理装置。 (3) 上記演算子として、一つ乃至複数種のコードを
指定できるようにしたことを特徴とする特許請求の範囲
第1項に記載のベクトルデータ処理装置。
[Claims] (11) A vector register and/or a mask register that allows one or more banks to be accessed simultaneously;
In a vector data processing system equipped with one or more arithmetic pipelines that execute arithmetic operations between vector registers or mask registers, when executing in the arithmetic pipeline, 9. When sequentially performing operations on each element, an operator for performing arbitrary operations on each element is provided in the vector register or mask register, and N (≧1) elements are provided. A vector data processing device characterized by being able to process data as a single unit. (2) In order to perform arbitrary operations on each of the above elements, specify the operator in a vector register or mask register with an address different from the data and store it in a part of the vector register or mask register. 2. The vector data processing device according to claim 1, wherein the vector data processing device is configured to have a vector data processing device corresponding to an element by specifying the same address as the data. (3) The vector data processing device according to claim 1, wherein one or more types of codes can be specified as the operator.
JP10773984A 1984-05-28 1984-05-28 Vector data processor Granted JPS60251470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10773984A JPS60251470A (en) 1984-05-28 1984-05-28 Vector data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10773984A JPS60251470A (en) 1984-05-28 1984-05-28 Vector data processor

Publications (2)

Publication Number Publication Date
JPS60251470A true JPS60251470A (en) 1985-12-12
JPH0330182B2 JPH0330182B2 (en) 1991-04-26

Family

ID=14466726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10773984A Granted JPS60251470A (en) 1984-05-28 1984-05-28 Vector data processor

Country Status (1)

Country Link
JP (1) JPS60251470A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697173A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Operation processing system by mask

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697173A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Operation processing system by mask

Also Published As

Publication number Publication date
JPH0330182B2 (en) 1991-04-26

Similar Documents

Publication Publication Date Title
US5487159A (en) System for processing shift, mask, and merge operations in one instruction
JPS59174948A (en) Information processing device
US5307300A (en) High speed processing unit
EP0201833A2 (en) Instruction processor
EP3329363B1 (en) Vector arithmethic instruction
JPH03286332A (en) Digital data processor
EP0164418B1 (en) Microprogram control system
US5768172A (en) Graphic software functions without branch instructions
JPS60251470A (en) Vector data processor
JP2565495B2 (en) Data processing system
JP2553200B2 (en) Information processing device
RU2066067C1 (en) Central processor for multiple-processor computer system
JPH0616287B2 (en) Vector arithmetic processor with mask
US5854919A (en) Processor and its operation processing method for processing operation having bit width exceeding data width of bit storage unit
US5838297A (en) Method for color image scaling and other geometrical transformations
JPH0619712B2 (en) Address generation control method
KR940007692A (en) Data processing device and data processing method
JPH06162067A (en) Device and method for controlling vector instruction
CA1155232A (en) Pipelined digital signal processor using a common data and control bus
JPH09223009A (en) Device and method for processing data
KR100246465B1 (en) Apparatus and method for reducing cycle of microprocessor stack order
JPS60258647A (en) Conditional branch control circuit
JP2667810B2 (en) Vector processing equipment
JPH0348365A (en) Exception processing system
JPH0338613B2 (en)