JP2741717B2 - Vector processing equipment - Google Patents

Vector processing equipment

Info

Publication number
JP2741717B2
JP2741717B2 JP1055003A JP5500389A JP2741717B2 JP 2741717 B2 JP2741717 B2 JP 2741717B2 JP 1055003 A JP1055003 A JP 1055003A JP 5500389 A JP5500389 A JP 5500389A JP 2741717 B2 JP2741717 B2 JP 2741717B2
Authority
JP
Japan
Prior art keywords
instruction
vector
scalar
load
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.)
Expired - Lifetime
Application number
JP1055003A
Other languages
Japanese (ja)
Other versions
JPH02235175A (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.)
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 JP1055003A priority Critical patent/JP2741717B2/en
Publication of JPH02235175A publication Critical patent/JPH02235175A/en
Application granted granted Critical
Publication of JP2741717B2 publication Critical patent/JP2741717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 〔概 要〕 ベクトルデータ処理装置のベクトルデータロード命令
とスカラデータロード命令の重複処理を可能にするベク
トル処理装置に関し、 ベクトルデータロード命令とスカラデータロード命令
の重複処理により処理速度を向上させることを目的と
し、 ベクトルロードデータをスカラ処理ユニットを経由し
てベクトル処理ユニットのベクトルレジスタに格納する
ベクトル処理装置であって、オペランドアドレス演算の
ための少なくとも2個の加算器と、スカラ処理ユニット
がベクトルロードを前記一方の加算器を用いて実行中に
後続のスカラ命令のアドレス計算を前記他方の加算器に
よって演算されると共に、ベクトルロードの中断による
インタロック中に、前記他方の加算器より後続スカラ命
令のアドレスを発行させる制御部と、を備えるように構
成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a vector processing apparatus that enables a vector data load instruction and a scalar data load instruction to overlap in a vector data processing apparatus. A vector processing device for storing a vector load data in a vector register of a vector processing unit via a scalar processing unit for the purpose of improving processing speed, comprising: at least two adders for operand address operation; While the scalar processing unit performs the vector load using the one adder, the address calculation of the subsequent scalar instruction is calculated by the other adder, and during the interlock due to the interruption of the vector load, Issues the address of the subsequent scalar instruction from the adder A control unit for, configured to include a.

〔産業上の利用分野〕[Industrial applications]

本発明は、ベクトルデータ処理装置のベクトルデータ
ロード命令とスカラデータロード命令の重複処理を可能
にするベクトル処理装置に関する。
The present invention relates to a vector processing apparatus that enables a vector data load instruction and a scalar data load instruction to be overlapped by a vector data processing apparatus.

ベクトルデータ処理装置はベクトル命令のみならずス
カラ命令をも重複処理して処理速度の向上を図ってい
る。上記重複処理の実現はベクトル処理ユニットとスカ
ラ処理ユニットが互いに独立に動作し得る装置において
は従来の技術で可能であるが、ベクトルロード・ストア
をスカラ処理ユニットを介して行う装置においては不可
能で、このベクトル処理装置におけるスカラ命令とベク
トル命令の重複処理が必要となる。本発明はこの分野に
関連するものである。
The vector data processing device processes not only vector instructions but also scalar instructions to improve processing speed. The above-described overlapping processing can be realized by a conventional technique in an apparatus in which the vector processing unit and the scalar processing unit can operate independently of each other, but cannot be realized in an apparatus in which vector load / store is performed via the scalar processing unit. In this case, the scalar instruction and the vector instruction need to be overlapped in this vector processing device. The present invention is related to this field.

〔従来の技術〕[Conventional technology]

従来、ベクトルロード・ストアをスカラ処理ユニット
を介して行う装置においては、後続するスカラロード命
令はベクトルロード・ストアが完了してから実行されて
いた。
Conventionally, in an apparatus that performs a vector load / store through a scalar processing unit, a subsequent scalar load instruction is executed after the vector load / store is completed.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前述したように従来の付加型ベクトル処理装置におい
ては、スカラロード命令またはRX型(レジスタとインデ
ックス修飾した主記憶内アドレスで指定される語との動
作)もしくはRS型(レジスタと主記憶との動作)のスカ
ラ命令とベクトルロード・ストア命令が重複して処理で
きず、処理速度の点で課題があった。
As described above, in the conventional addition-type vector processing device, the scalar load instruction or the RX type (the operation of the register and the word specified by the address in the main storage that is index-modified) or the RS type (the operation of the register and the main storage) 2) The scalar instruction and the vector load / store instruction cannot be processed redundantly, and there is a problem in processing speed.

本発明の目的は、ベクトルデータロード命令とスカラ
データロード命令の重複処理を可能にし、ベクトル処理
装置の処理速度を向上させることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to enable overlapping processing of a vector data load instruction and a scalar data load instruction, thereby improving the processing speed of a vector processing device.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、第1図に例示されたブロック回路図を用い
て説明されるように、ベクトルロードデータをスカラ処
理ユニットを経由してベクトル処理ユニットのベクトル
レジスタに格納するベクトル処理装置であって、オぺラ
ンドアドレス演算のための少なくとも2個の加算器と、
スカラ処理ユニットがベクトルロードを前記一方の加算
器を用いて実行中に後続のスカラ命令のアドレス計算を
前記他方の加算器によって演算させると共に、ベクトル
ロードの中断によるインタロック中に、前記他方の加算
器より後続スカラ命令のアドレスを発行させる制御部
と、を備えるように構成する。
The present invention is a vector processing device that stores vector load data in a vector register of a vector processing unit via a scalar processing unit, as described with reference to the block circuit diagram illustrated in FIG. At least two adders for operand address arithmetic;
The scalar processing unit causes the other adder to calculate the address of a subsequent scalar instruction while executing the vector load using the one adder, and also performs the other addition during the interlock due to the interruption of the vector load. And a control unit for causing the device to issue the address of the subsequent scalar instruction.

〔作 用〕(Operation)

前述の装置を用いれば、2個のオペランドアドレス演
算を行う加算器の他方により、後続するスカラ命令のオ
ペランドアドレスを求めることが可能となり、スカラ命
令を実行できる。このスカラ命令が実行できると、さら
にその次のベクトル演算命令も重複処理可能となる。
When the above-described device is used, the operand address of the succeeding scalar instruction can be obtained by the other of the adders performing the two operand address operations, and the scalar instruction can be executed. If this scalar instruction can be executed, the next vector operation instruction can be overlapped.

〔実施例〕〔Example〕

本発明の一実施例としてのベクトル処理装置の部分ブ
ロック回路図が第1図に示される。
FIG. 1 is a partial block circuit diagram of a vector processing apparatus according to an embodiment of the present invention.

処理装置における命令の処理は、デコード(D)、ア
ドレス計算(A)、演算(E)、割り込みチェック
(C)、およびレジスタ書き込み(W)の順にD,A,E,
C、およびWの5個の状態(スタート)に従って実行さ
れる。まず、命令データが格納された命令バッファ1か
ら例えばベクトルロードの命令がDステート命令バッフ
ァ(DB)2およびAステート命令バッファ(AB)3を経
由してオペランドアドレス加算器6の入力と命令デコー
ダ8に供給され、同時に通常シーケンス命令の起動を指
令する。命令パイプライン制御ユニット10(制御部)
は、SCU(ストーレッジコントロールユニット)インタ
ロック信号、割り込みオペレーション可能信号、ムーブ
インエンド信号、命令デコーダ8および9からの信号を
受けて加算器6,7およびアドレスマルチプレクサ11を制
御する。そして、ベクトルロード時には加算器6を動作
させ、加算器6の出力がアドレスバスマルチプレクサ11
で選択されるように制御する。このようにしてベクトル
ロード時にオペランドアドレスが演算されてベクトルロ
ードの処理、すなわち、スカラ処理ユニットのバッファ
記憶装置からベクトル処理ユニットのベクトルレジスタ
へとデータ転送が実行される。
Instruction processing in the processing device is performed in the order of decode (D), address calculation (A), operation (E), interrupt check (C), and register write (W) in the order of D, A, E,
It is executed according to the five states (start) of C and W. First, a vector load instruction, for example, from an instruction buffer 1 in which instruction data is stored is input to an operand address adder 6 via a D-state instruction buffer (DB) 2 and an A-state instruction buffer (AB) 3 and the instruction decoder 8 And at the same time instructs the activation of the normal sequence instruction. Instruction pipeline control unit 10 (control unit)
Receives the SCU (storage control unit) interlock signal, the interrupt operation enable signal, the move in end signal, and the signals from the instruction decoders 8 and 9, and controls the adders 6, 7 and the address multiplexer 11. When the vector is loaded, the adder 6 is operated, and the output of the adder 6 is supplied to the address bus multiplexer 11.
Is controlled to be selected by. In this way, the operand address is calculated at the time of vector loading, and the vector loading process, that is, data transfer from the buffer storage device of the scalar processing unit to the vector register of the vector processing unit is executed.

ベクトルロード中に、もし、バッファミスが生じた
時、すなわち、スカラ処理ユニットのバッファ記憶装置
に供給を受けるデータが転送されていない等の状態が発
生した時には、SCUインタロック信号が出され、ベクト
ルロードの次のスカラ命令が先行Dステート命令バッフ
ァ(PDB)4および先行Aステート命令バッファ(PAB)
5を介してオペランドアドレス加算器7と命令デコーダ
9に供給され、同時に先行シーケンス命令起動を指令す
る。命令パイプライン制御ユニット10はこの場合、加算
器7を動作させ、アドレスバスマルチプレクサ11を加算
器7の出力を選択するよう制御する。このようにして、
通常シーケンス命令であるベクトルロードが中断された
時、ベクトルロードが終了して後行われるべきスカラロ
ード命令が先行命令バッファを介して起動され、加算器
7によってオペランドアドレスが計算され、スカラロー
ド処理が実行される。さらに、スカラロードに続くベク
トル演算命令も引き続いて実行可能となる。前記のムー
ブインエンド信号はSCUインタロック時における割り込
みオペレーションの受付または非受付を決定するために
供給される信号である。前記オペランドアドレス演算の
ための2個の加算器は命令アドレス加算器(図示せず)
を流用することも回路構成によっては可能である。
During a vector load, if a buffer miss occurs, that is, if data supplied to the buffer storage unit of the scalar processing unit is not transferred, an SCU interlock signal is output and the vector The scalar instruction following the load is the preceding D-state instruction buffer (PDB) 4 and the preceding A-state instruction buffer (PAB)
5, the instruction is supplied to the operand address adder 7 and the instruction decoder 9, and simultaneously instructs the start of the preceding sequence instruction. In this case, the instruction pipeline control unit 10 operates the adder 7 and controls the address bus multiplexer 11 to select the output of the adder 7. In this way,
When the vector load, which is a normal sequence instruction, is interrupted, a scalar load instruction to be executed after the vector load is completed is started via the preceding instruction buffer, the operand address is calculated by the adder 7, and the scalar load processing is performed. Be executed. Further, the vector operation instruction following the scalar load can be continuously executed. The move-in-end signal is a signal supplied to determine acceptance or non-acceptance of an interrupt operation during SCU interlock. The two adders for the operand address operation are an instruction address adder (not shown)
Can also be used depending on the circuit configuration.

第2図は本発明の実施例における命令処理の流れを説
明する図であり、第3図に比較のため、従来方式を用い
た命令処理の同様な図が示される。
FIG. 2 is a diagram for explaining the flow of instruction processing in the embodiment of the present invention, and FIG. 3 shows a similar diagram of instruction processing using a conventional method for comparison.

第2図において、一例として、ベクトルロード(VL
D)命令は各要素e1からe12が図示のように処理される。
ここに要素e5の処理時にバッファミス等が発生して、SC
Uインタロックが出力されたとすると、割り込み可能状
態であれば割り込みが行われ、スカラロード(LD)命令
が先行起動され、LD命令の処理が完了される(ブロック
にて表示)。すると、それに続くベクトル演算(VAD)
命令(要素1から12迄)も先行起動され実行される。こ
のようにして、VLD,LD,VAD命令が重複して処理される。
In FIG. 2, as an example, a vector load (VL
D) The instruction is processed as shown in each element e1 to e12.
Here, when a buffer error occurs during processing of element e5, SC
Assuming that the U interlock is output, if an interrupt is possible, an interrupt is performed, a scalar load (LD) instruction is activated in advance, and processing of the LD instruction is completed (indicated by a block). Then, the following vector operation (VAD)
Instructions (elements 1 to 12) are also pre-activated and executed. In this way, the VLD, LD, and VAD instructions are processed redundantly.

第3図における従来方式では、SCUインタロックが発
生してもVLD命令が完了する迄、LD命令が処理できず、V
LD,LD,VAD命令の順にシーケンシャル処理される。
In the conventional method shown in FIG. 3, even if an SCU interlock occurs, the LD instruction cannot be processed until the VLD instruction is completed.
Sequential processing is performed in the order of LD, LD, and VAD instructions.

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

本発明によれば、ベクトルロード命令とスカラデータ
ロード命令の重複処理を可能にし、ベクトル処理装置の
処理速度を向上させることができる。
According to the present invention, overlapping processing of a vector load instruction and a scalar data load instruction is enabled, and the processing speed of the vector processing device can be improved.

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

第1図は本発明の一実施例を行う処理装置の部分ブロッ
ク回路図、 第2図は実施例の命令処理の流れを説明する図、および 第3図は従来例における第2図と同様な図である。 図において、 1……命令バッファ、2……Dステート命令バッファ、 3……Aステート命令バッファ、4……先行Dステート
命令バッファ、 5……先行Aステート命令バッファ、6,7……オペラン
ドアドレス加算器、 8,9……命令デコーダ、10……命令パイプライン制御ユ
ニット、 11……アドレスバスマルチプレクサ、 である。
FIG. 1 is a partial block circuit diagram of a processing device for carrying out an embodiment of the present invention, FIG. 2 is a diagram for explaining the flow of instruction processing of the embodiment, and FIG. 3 is the same as FIG. FIG. In the figure, 1... Instruction buffer, 2... D-state instruction buffer, 3... A-state instruction buffer, 4... Preceding D-state instruction buffer, 5... Preceding A-state instruction buffer, 6, 7. Adder, 8, 9 ... instruction decoder, 10 ... instruction pipeline control unit, 11 ... address bus multiplexer.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ベクトルロードデータをスカラ処理ユニッ
トを経由してベクトル処理ユニットのベクトルレジスタ
に格納するベクトル処理装置であって、 オぺランドアドレス演算のための少なくとも2個の加算
器と、 スカラ処理ユニットがベクトルロードを前記一方の加算
器を用いて実行中に後続のスカラ命令のアドレス計算を
前記他方の加算器によって演算させると共に、ベクトル
ロードの中断によるインタロック中に、前記他方の加算
器より後続スカラ命令のアドレスを発行させる制御部
と、 を備えることを特徴とするベクトル処理装置。
1. A vector processing device for storing vector load data in a vector register of a vector processing unit via a scalar processing unit, comprising: at least two adders for an operand address operation; The unit causes the other adder to calculate the address of a subsequent scalar instruction while the vector load is being executed using the one adder. A control unit for issuing an address of a subsequent scalar instruction.
JP1055003A 1989-03-09 1989-03-09 Vector processing equipment Expired - Lifetime JP2741717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1055003A JP2741717B2 (en) 1989-03-09 1989-03-09 Vector processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1055003A JP2741717B2 (en) 1989-03-09 1989-03-09 Vector processing equipment

Publications (2)

Publication Number Publication Date
JPH02235175A JPH02235175A (en) 1990-09-18
JP2741717B2 true JP2741717B2 (en) 1998-04-22

Family

ID=12986479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1055003A Expired - Lifetime JP2741717B2 (en) 1989-03-09 1989-03-09 Vector processing equipment

Country Status (1)

Country Link
JP (1) JP2741717B2 (en)

Also Published As

Publication number Publication date
JPH02235175A (en) 1990-09-18

Similar Documents

Publication Publication Date Title
CA1256216A (en) Program switching with vector registers
US4745547A (en) Vector processing
JPS633337B2 (en)
JPH01224840A (en) By-pass line control system for information processor
JP2741717B2 (en) Vector processing equipment
JPS622363A (en) Arithmetic unit
JPS61173345A (en) Computer system
JP2689914B2 (en) Information processing device
JP2925842B2 (en) Pipeline processing equipment
JPH01271842A (en) Information processor
JP2583614B2 (en) Vector arithmetic unit
JP2825315B2 (en) Information processing device
JPH07210384A (en) Floating point arithmetic unit
JPH052485A (en) Pipeline control system
JPH04276827A (en) Pipe line processor
JPH0311430A (en) Abnormality processing method at time of fetch access
JPH0517589B2 (en)
JPH0228724A (en) System for controlling branching instruction
JPH01224870A (en) Main memory access instruction execution control system for information processor
JPH01147723A (en) Pipe line processing system for information processor
JPS6293734A (en) Information processor
JPH0431134B2 (en)
JPH0266628A (en) Information processor
JPH0227429A (en) Pipeline control system
JPS6116111B2 (en)