JP2968321B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2968321B2
JP2968321B2 JP21907490A JP21907490A JP2968321B2 JP 2968321 B2 JP2968321 B2 JP 2968321B2 JP 21907490 A JP21907490 A JP 21907490A JP 21907490 A JP21907490 A JP 21907490A JP 2968321 B2 JP2968321 B2 JP 2968321B2
Authority
JP
Japan
Prior art keywords
instruction
processor
vector
selection circuit
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.)
Expired - Fee Related
Application number
JP21907490A
Other languages
Japanese (ja)
Other versions
JPH04102161A (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 JP21907490A priority Critical patent/JP2968321B2/en
Publication of JPH04102161A publication Critical patent/JPH04102161A/en
Application granted granted Critical
Publication of JP2968321B2 publication Critical patent/JP2968321B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 ベクトル処理機構を有するデータ処理装置に関し、 CPUの動作試験と並行してベクトルユニットの動作試
験を行なうことによってデータ処理装置全体の動作試験
期間を短縮することを目的とし、 ベクトルユニットはCPUおよび外部装置の出力の一方
を選択する選択回路と、この選択回路の出力を格納する
バッファレジスタを具備する。
DETAILED DESCRIPTION OF THE INVENTION [Overview] Regarding a data processing device having a vector processing mechanism, an operation test of a vector unit is performed in parallel with an operation test of a CPU to shorten the operation test period of the entire data processing device. For the purpose, the vector unit includes a selection circuit for selecting one of the outputs of the CPU and the external device, and a buffer register for storing the output of the selection circuit.

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

本発明はデータ処理装置に関する。 The present invention relates to a data processing device.

〔従来の技術〕[Conventional technology]

最近のスーパーコンピュータと称されるデータ処理装
置においては、従来のCPUの他にあらたなプロセッサ、
例えばベクトルユニット等が設けられる。このようなス
ーパーコンピュータにおいては、CPUは命令の解読を行
ない、その命令がベクトル命令である場合には、その命
令をベクトルユニットに送出する。この時、そのベクト
ル命令のオペランドがCPU内にある汎用レジスタあるい
は浮動小数点レジスタ等のデータを必要とする場合それ
も合わせてベクトルユニットに送出される。
In recent data processing devices called supercomputers, in addition to the conventional CPU, a new processor,
For example, a vector unit or the like is provided. In such a supercomputer, the CPU decodes the instruction, and if the instruction is a vector instruction, sends the instruction to the vector unit. At this time, if the operand of the vector instruction requires data of a general-purpose register or a floating-point register in the CPU, it is also sent to the vector unit.

従来、スーパーコンピュータの動作試験において、ベ
クトルユニットの動作試験はCPUの動作試験完了後でな
ければできなかった。それは、CPUによる、ベクトル命
令等の命令フェッチ、命令のデコードおよびベクトルユ
ニットへの命令の転送などが確実に実行されることによ
ってはじめてベクトル命令の動作が可能となるためであ
る。従って、CPUが動作してからベクトルユニットの動
作試験を行なうため、スーパーコンピュータ全体の動作
試験には長い期間が必要であった。
Conventionally, in the operation test of the supercomputer, the operation test of the vector unit can be performed only after the operation test of the CPU is completed. This is because the operation of a vector instruction can be performed only when the CPU fetches an instruction such as a vector instruction and the like, decodes the instruction, and transfers the instruction to the vector unit. Therefore, since the operation test of the vector unit is performed after the operation of the CPU, the operation test of the entire supercomputer requires a long period of time.

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

本発明は上記従来技術の欠点を除去し、CPUと並行に
ベクトルユニットの動作試験を行なうことが可能で、従
ってベクトル処理機構を含むデータ処理システム全体の
全動作試験期間が短いデータ処理装置を提供することを
目的とする。
The present invention eliminates the above-mentioned disadvantages of the prior art, and provides a data processing apparatus capable of performing an operation test of a vector unit in parallel with a CPU, and thus having a short entire operation test period of the entire data processing system including a vector processing mechanism. The purpose is to do.

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

本発明によるデータ処理装置は、第1の種類の命令は
自己が処理し、第2の種類の命令は他へ転送する第1の
プロセサと、第1のプロセサから転送される第2の種類
の命令を処理する第2のプロセサと、第2のプロセサに
第2の種類の命令を供給する外部装置とを有し、第2の
プロセサは第1のプロセサおよび外部装置の出力のうち
一方を選択する選択回路と、選択回路の出力を格納する
バッファレジスタを具備するように構成される。
The data processing apparatus according to the present invention processes a first type of instruction by itself, and transfers a second type of instruction to a first processor and a second type of instruction transferred from the first processor. A second processor for processing the instructions; and an external device for supplying a second type of instruction to the second processor, wherein the second processor selects one of the outputs of the first processor and the external device. And a buffer register for storing the output of the selection circuit.

本発明によるデータ処理装置においては更に、選択回
路の選択動作は外部装置からコマンドによって制御可能
なように構成される。
The data processing device according to the present invention is further configured such that the selection operation of the selection circuit can be controlled by a command from an external device.

〔作用〕[Action]

第2のプロセサの動作試験において、外部装置からテ
ストモードに設定するためのコマンドが第2のプロセサ
に送られる。第2のプロセサにおいては、選択回路は外
部装置の出力を選択するように切替えられる。外部装置
から動作試験用の第2の種類の命令が送出され、選択回
路を介してバッファレジスタに格納される。
In the operation test of the second processor, a command for setting the test mode from the external device is sent to the second processor. In the second processor, the selection circuit is switched to select the output of the external device. A second type of operation test instruction is sent from the external device and stored in the buffer register via the selection circuit.

バッファレジスタに格納された命令に対して所定の処
理が行なわれる。
Predetermined processing is performed on the instruction stored in the buffer register.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明によるデータ処理装置を構成を示す。 FIG. 1 shows the configuration of a data processing device according to the present invention.

第1図において、1は通常のCPUであって、メモリ2
に記憶されている命令およびデータを読み出し、命令を
デコードし、その命令の実行を制御する。点線で囲まれ
た部分3はベクトルユニットを示す。ベクトルユニット
3はCPU1でデコードされた命令がベクトル演算に関する
ものである場合、その命令(オペランドを含む)をCPU1
から供給されベクトル演算を実行するプロセッサであ
る。
In FIG. 1, reference numeral 1 denotes a normal CPU;
The instruction and data stored in the instruction are read, the instruction is decoded, and the execution of the instruction is controlled. A portion 3 surrounded by a dotted line indicates a vector unit. If the instruction decoded by the CPU 1 relates to a vector operation, the vector unit 3 sends the instruction (including the operand) to the CPU 1
And a processor that executes the vector operation.

サービスプロセッサ(SVP)4は独立して操作される
外部装置であり、本発明においては、ベクトルユニット
の動作モードの選択およびテストモードの際のベクトル
命令の供給等を行なう。
The service processor (SVP) 4 is an external device that is operated independently. In the present invention, the service processor (SVP) 4 selects an operation mode of the vector unit and supplies a vector instruction in the test mode.

ベクトルユニット3は複数の選択回路6を有し、各選
択回路6にはCPU1およびSVP4の出力が入力される。
The vector unit 3 has a plurality of selection circuits 6, and the outputs of the CPU 1 and SVP4 are input to each selection circuit 6.

SVPコマンド制御回路7はSVP4からコマンドを与えら
れ、これをコードし、その結果に基づき各選択回路6に
対して制御信号を送る。各選択回路6はこの制御信号に
よってCPU1およびSVP4からの2つの入力のうちの1つを
選択し出力する。
The SVP command control circuit 7 receives a command from SVP4, codes the command, and sends a control signal to each selection circuit 6 based on the result. Each selection circuit 6 selects one of the two inputs from the CPU 1 and SVP 4 according to this control signal and outputs it.

各選択回路6の出力には、それぞれ、ベクトル命令を
格納するための命令バッファ8と、スカラオペランドを
格納するためのオペランドバッファ9が接続される。選
択回路6は、SVP4の出力を選択した場合、SVP4の出力デ
ータを命令バッファ8およびオペランドバッファ9のう
ちのいずれに格納させるかを、SVPコマンド制御回路7
からの制御信号によって決定する。
An output of each selection circuit 6 is connected to an instruction buffer 8 for storing a vector instruction and an operand buffer 9 for storing a scalar operand. When the output of the SVP4 is selected, the selection circuit 6 determines which of the instruction buffer 8 and the operand buffer 9 should store the output data of the SVP4 by the SVP command control circuit 7
Is determined by the control signal from.

各命令バッファ8および各オペランドバッファ9の出
力は、ベクトル命令発信制御回路10に入力される。ベク
トル命令発信制御回路10は、SVPコマンド制御回路7か
らの制御信号により、全ての命令バッファ8およびオペ
ランドバッファ9にそれぞれ命令およびオペランドが格
納され終わるとSVP4よりSVPコマンド制御回路7に対し
命令バッファ8およびオペランドバッファ9に格納され
ているベクトル命令を起動するためのコマンドを与え
る。これによって、ベクトル命令の起動を行なう。
The output of each instruction buffer 8 and each operand buffer 9 is input to a vector instruction transmission control circuit 10. When the instruction and the operand have been stored in all the instruction buffers 8 and the operand buffers 9 respectively according to the control signal from the SVP command control circuit 7, the vector instruction transmission control circuit 10 sends the instruction buffer 8 to the SVP command control circuit 7 from the SVP4. And a command for activating the vector instruction stored in the operand buffer 9. Thus, the vector instruction is activated.

命令およびオペランドはベクトル演算ユニット12の各
演算パイプラインに送られ処理される。ベクトル命令管
理部11は演算処理を管理し、演算の終了をSVPコマンド
制御回路7を介してSVP4に伝える。
Instructions and operands are sent to each operation pipeline of the vector operation unit 12 and processed. The vector instruction management unit 11 manages the operation processing, and notifies the end of the operation to the SVP 4 via the SVP command control circuit 7.

なお、メモリアクセス制御ユニット5はベクトルユニ
ット3がプロセサとして機能を果すためメモリ2に対す
るアクセスを制御する。
The memory access control unit 5 controls access to the memory 2 so that the vector unit 3 functions as a processor.

以下、第1図に示す回路の動作について説明する。 Hereinafter, the operation of the circuit shown in FIG. 1 will be described.

ベクトルユニット3の動作試験において、まずSVP4か
らSVPコマンド制御回路7に対してテストモードを設定
するためのSVPコマンドを送る。SVPコマンド制御回路7
はSVPコマンドをデコードし、テストモードであること
を知り、各選択回路6に対してCPU1およびSVP4の2つの
出力のうちSVP4の出力を選択させるための制御信号を送
る。全選択回路6は、SVP4からのテストデータの入力準
備が整う。
In the operation test of the vector unit 3, first, the SVP4 sends an SVP command to the SVP command control circuit 7 for setting the test mode. SVP command control circuit 7
Decodes the SVP command, finds out that the test mode is set, and sends a control signal to each selection circuit 6 to select the output of SVP4 from the two outputs of CPU1 and SVP4. The all-selection circuit 6 is ready to input test data from SVP4.

SVP4から命令およびオペランドが選択回路6へ送出さ
れると共に、命令かオペランドかを示すSVPコマンドがS
VPコマンド制御回路7へ送られる。SVPコマンド制御回
路7はこのSVPコマンドをデコードし、選択回路6への
入力が命令およびオペランドである場合に、それぞれ、
命令バッファ8およびオペランドバッファ9へ出力する
ように指示する制御信号を送出する。このようにして、
命令とオペランドがそれぞれ命令バッファ8およびオペ
ランドバッファ9に格納される。
The instruction and the operand are sent from the SVP 4 to the selection circuit 6, and the SVP command indicating whether the instruction or the operand
It is sent to the VP command control circuit 7. The SVP command control circuit 7 decodes this SVP command, and when the input to the selection circuit 6 is an instruction and an operand,
A control signal instructing output to instruction buffer 8 and operand buffer 9 is sent out. In this way,
Instructions and operands are stored in an instruction buffer 8 and an operand buffer 9, respectively.

命令バッファ8およびオペランドバッファ9への命令
およびオペランドの格納が終了すると、SVP4からSVPコ
マンド制御回路7に対し、起動するためのコマンドによ
り送出され、SVPコマンド制御回路7からベクトル命令
発信制御回路10へベクトル命令の実行の起動が指示され
て、ベクトル演算が行なわれる。
When the storage of the instruction and the operand in the instruction buffer 8 and the operand buffer 9 is completed, a command for starting is sent from the SVP4 to the SVP command control circuit 7, and the SVP command control circuit 7 sends the vector instruction transmission control circuit 10 to the vector instruction transmission control circuit 10. Activation of the execution of the vector instruction is instructed, and the vector operation is performed.

ベクトル命令管理部11はベクトル演算の実行状況を管
理し、命令バッファに格納されている全ての命令が実行
され終わったならば、SVPコマンド制御回路7を介してS
VP4に命令実行の完了を伝達する。
The vector instruction management unit 11 manages the execution state of the vector operation. When all the instructions stored in the instruction buffer have been executed, the S
Signals the completion of instruction execution to VP4.

SVP4は新たな命令群の設定を行なう。 SVP4 sets a new instruction group.

以上のベクトルユニット3の動作は、CPU1とは独立に
SVP4の操作によって制御される。
The operation of the above vector unit 3 is independent of CPU1.
It is controlled by the operation of SVP4.

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

本発明によれば、CPUの動作試験とは独立にベクトル
ユニットの内部動作試験が可能となるため、スーパーコ
ンピュータシステム全体の動作試験期間を短縮すること
が可能になり、製造から製品出荷までの試験工程を大幅
に短縮することが可能となる。
According to the present invention, since the internal operation test of the vector unit can be performed independently of the operation test of the CPU, the operation test period of the entire supercomputer system can be shortened, and the test from manufacturing to product shipment can be performed. The process can be significantly reduced.

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

第1図は本発明の構成を示す図である。 1……CPU、2……メモリ、3……ベクトルユニット、
4……SVP、5……メモリアクセス制御ユニット、6…
…選択回路、7……SVPコマンド制御回路、8……命令
バッファ、9……オペランドバッファ、10……ベクトル
命令発信制御回路、1……ベクトル命令管理部、12……
ベクトル演算ユニット
FIG. 1 is a diagram showing the configuration of the present invention. 1 ... CPU, 2 ... Memory, 3 ... Vector unit,
4 ... SVP, 5 ... Memory access control unit, 6 ...
... Selection circuit, 7 ... SVP command control circuit, 8 ... Instruction buffer, 9 ... Operand buffer, 10 ... Vector instruction transmission control circuit, 1 ... Vector instruction management unit, 12 ...
Vector operation unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−297736(JP,A) 特開 昭62−211742(JP,A) 特開 平1−319854(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 15/177 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-1-297736 (JP, A) JP-A-62-121742 (JP, A) JP-A-1-319854 (JP, A) (58) Survey Field (Int.Cl. 6 , DB name) G06F 15/177

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】第1の種類の命令は自己が処理し、第2の
種類の命令は他へ転送する第1のプロセサと、 前記第1のプロセサから転送された第2の種類の命令を
処理する第2のプロセサと、 前記第2のプロセサに第2の種類の命令を供給する外部
装置とを有し、 前記第2のプロセサは、前記第1のプロセサの出力およ
び前記外部装置の出力のうち一方を選択する選択回路手
段と、 前記選択回路手段の出力を格納するバッファレジスタ手
段を具備することを特徴とするデータ処理装置。
A first type of instruction is processed by itself, a second type of instruction is a first processor for transferring to another, and a second type of instruction transferred from the first processor is provided for the first type of instruction. A second processor for processing; and an external device for supplying a second type of instruction to the second processor, wherein the second processor has an output of the first processor and an output of the external device. And a buffer register for storing an output of the selection circuit.
【請求項2】前記選択回路手段による選択動作を前記外
部装置からコマンドによって制御可能にする手段を具備
する請求項1記載のデータ処理装置。
2. A data processing apparatus according to claim 1, further comprising means for enabling a selection operation by said selection circuit means to be controlled by a command from said external device.
【請求項3】前記選択回路手段は少なくとも1つの選択
回路を有し、前記バッファレジスタ手段は各選択回路の
出力にそれぞれ接続される少なくとも1つの命令用およ
びオペランド用バッファレジスタ対を有することを特徴
とする請求項2記載のデータ処理装置。
3. The selection circuit means has at least one selection circuit, and the buffer register means has at least one instruction and operand buffer register pair respectively connected to the output of each selection circuit. The data processing device according to claim 2, wherein
【請求項4】前記少なくとも1つの選択回路の各々の選
択動作を前記外部装置からのコマンドによって一斉に行
なわせるように制御する手段と、各前記選択回路の出力
を前記命令用バッファレジスタおよび前記オペランド用
バッファレジスタのいずれに格納するかを前記外部装置
から制御する手段を具備する請求項3記載のデータ処理
装置。
4. A means for controlling a selection operation of each of said at least one selection circuit so as to be simultaneously performed by a command from said external device, and an output of each of said selection circuits to said instruction buffer register and said operand. 4. The data processing apparatus according to claim 3, further comprising means for controlling which of the external buffer registers is to be stored from the external device.
【請求項5】前記バッファレジスタ手段に格納された命
令群の処理を前記外部装置からのコマンドによって起動
する手段を具備する請求項3記載のデータ処理装置。
5. The data processing apparatus according to claim 3, further comprising: means for starting processing of the instruction group stored in said buffer register means by a command from said external device.
【請求項6】前記バッファレジスタ手段に格納された命
令群の処理が完了したことを前記第2のプロセサから前
記外部装置に通知する手段を具備する請求項5記載のデ
ータ処理装置。
6. A data processing apparatus according to claim 5, further comprising means for notifying said external device from said second processor that the processing of the instruction group stored in said buffer register means has been completed.
JP21907490A 1990-08-22 1990-08-22 Data processing device Expired - Fee Related JP2968321B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21907490A JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21907490A JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Publications (2)

Publication Number Publication Date
JPH04102161A JPH04102161A (en) 1992-04-03
JP2968321B2 true JP2968321B2 (en) 1999-10-25

Family

ID=16729856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21907490A Expired - Fee Related JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Country Status (1)

Country Link
JP (1) JP2968321B2 (en)

Also Published As

Publication number Publication date
JPH04102161A (en) 1992-04-03

Similar Documents

Publication Publication Date Title
JPH0766329B2 (en) Information processing equipment
JPH0517588B2 (en)
EP0212637B1 (en) Mircrocomputer
JPS60171558A (en) Data processing system
JPH02156334A (en) Information processor
JPH0232659B2 (en)
JP2968321B2 (en) Data processing device
JPH04149658A (en) Information processor
JPS6134188B2 (en)
JP2906958B2 (en) User program loading method
JP3139310B2 (en) Digital signal processor
JP2744152B2 (en) Data driven data processor
JP2583614B2 (en) Vector arithmetic unit
JP3168845B2 (en) Digital signal processor
JPH03257665A (en) Information processor
JP3127737B2 (en) Digital signal processor
JPS59225454A (en) Operand fetch control system
KR100194263B1 (en) High speed data processing system
JPH0495135A (en) External transmission signal control system
JP2503318B2 (en) Character I / O control method
JPH01255037A (en) Electronic computer
JPS6223894B2 (en)
JPS6365528A (en) Coprocessor
JPH05108697A (en) Processing system/method for vector instruction with scalar operand
JPS6079468A (en) Data processor

Legal Events

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