[go: up one dir, main page]

JPH0650512B2 - デ−タ処理装置 - Google Patents

デ−タ処理装置

Info

Publication number
JPH0650512B2
JPH0650512B2 JP59143579A JP14357984A JPH0650512B2 JP H0650512 B2 JPH0650512 B2 JP H0650512B2 JP 59143579 A JP59143579 A JP 59143579A JP 14357984 A JP14357984 A JP 14357984A JP H0650512 B2 JPH0650512 B2 JP H0650512B2
Authority
JP
Japan
Prior art keywords
register
instruction
vector
operand
arithmetic circuit
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
JP59143579A
Other languages
English (en)
Other versions
JPS6123276A (ja
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.)
NEC Corp
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP59143579A priority Critical patent/JPH0650512B2/ja
Priority to EP85304956A priority patent/EP0169030A3/en
Publication of JPS6123276A publication Critical patent/JPS6123276A/ja
Priority to US07/177,840 priority patent/US4849926A/en
Publication of JPH0650512B2 publication Critical patent/JPH0650512B2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/50Adding; Subtracting
    • G06F7/505Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination
    • G06F7/509Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination for multiple operands, e.g. digital integrators
    • G06F7/5095Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination for multiple operands, e.g. digital integrators word-serial, i.e. with an accumulator-register
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/52Multiplying; Dividing
    • G06F7/523Multiplying only

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Complex Calculations (AREA)
  • Advance Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はベクトル命令により指定されたベクトルデータ
または指定された複数個の演算回路に対する総和を求め
る演算を行なうデータ処理装置に関する。
〔従来の技術〕
第3図を参照すると、データ処理装置内の命令により指
定された演算処理を行なう従来の演算制御ユニットは、
ソフトウェアがデータを保持するソフトウェア用レジス
タ10と記憶装置からの読出データを一時的に保持する
読出データレジスタ11と、レジスタ10の出力または
レジスタ11の出力を選択する第1オペランドセレクタ
12および第2オペランドセレクタ13と該セレクタ1
2および13の出力をそれぞれ一時的に保持する第1オ
ペランドレジスタ14および第2オペランドレジスタ1
5と、それぞれのレジスタの出力を入力し、命令により
指定された演算を行なう演算回路16とからなる。該演
算回路16の出力である演算結果は命令の指定に従いソ
フトウェアレジスタ10または記憶装置への書込データ
を保持する書込データレジスタ17にセットされる。こ
の例の演算制御ユニットではソフトウェアレジスタ10
または読出データレジスタ11の内を第1オペランドセ
レクタ12または第2オペランドセレクタ13を介して
第1オペランドレジスタ14または第2オペランドレジ
スタ15にセットするまでに1マシンサイクルを要す
る。第1オペランドレジスタ14と第2オペランドレジ
スタ15との内容の演算回路16において命令で指定さ
れた種類に従い行なわれ、その演算結果がソフトウェア
レジスタ10または書込データレジスタ17にセットさ
れるまでに1マシンサイクルを要する。ここでソフトウ
ェア用レジスタ10の内容をRとし、記憶装置のベクト
ルデータの内容をVi(i=1,2……)とする。iが
異なれば該データの記憶アドレスが異なることを表わし
ている。
第4図の上部に示すようないわゆるスカラ命令の命令シ
ーケンスである命令1,2,3…を実行する場合には第
4図下部に示したタイムチャートのように各命令の実行
サイクルを1マシンサイクルとできる。すなわちいわゆ
るパイプライン処理が可能である。
〔発明が解決しようとする問題点〕
しかし、第5図の上部に示すようにn個の要素V1,V2
Vnの総和を求めてその結果をRとするベクトル命令を実
行する場合には、ある要素の演算結果がソフトウェア用
レジスタ10を介して次の要素に対する演算入力とな
る。このため第5図の下部に示したタイムチャートのよ
うに各要素に対する演算の実行サイクルは2マシンサイ
クルを要してしまうためパイプライン処理の特徴である
高速性を発揮できないという欠点がある。
本発明の目的は上述の欠点を解決し、上述の総和を求め
るベクトル命令でも各要素に対する演算の実行サイクル
を1マシンサイクルでできるようにしたデータ処理装置
を提供することにある。
〔問題点を解決するための手段〕
そのために本発明では、命令及びデータを記憶する記憶
装置と、データを前記記憶装置より読出し、該データあ
るいはソフトウェア用レジスタの内容に対して命令によ
り指定された演算を行なうデータ処理装置とからなるデ
ータ処理システムに、演算の中間結果を保持する複数個
のレジスタと該複数個のレジスタの1個を順にサイクリ
ックに指定できるレジスタ指定回路を設けている。
〔作用〕
すなわち、第5図の上部に示したベクトル命令の処理は
R+V1+V2+V3+V4+…+Vn→Rであるが、これを例え
ばV1+V3+…+Vn′→WR1,V2+V4+…+Vn″→WR2,R
+WR1+WR2→Rとしても同一の結果が得られることを利
用している。ここでnが偶数の時n′=n−1,n″=
nであり、nが寄数の時n′=n,n″=n−1であ
る。
〔実施例〕
次に本発明について図面を参照して詳細に説明する。
第1図を参照すると、本発明の一実施例は、ソフトウェ
アの指示によりデータを保持するソフトウェア用レジス
タ10と、記憶装置からの読出データを一時的に保持す
る読出データレジスタ11と、それらレジスタ10およ
び11とタイミング的に同位置にある演算回路16の出
力を一時的に保持する第1ワークレジスタ18および第
2ワークレジスタ19と、このワークレジスタ群18お
よび19の出力を選択するワークレジスタセレクタ20
と前記ソフトウェア用レジスタ10,読出データレジス
タ11,および該ワークレジスタセレクタ20の出力を
選択する第1オペランドセレクタ12および第2オペラ
ンドセレクタ13と、該セレクタの出力をそれぞれ一時
的に保持する第1オペランドレジスタ14および第2オ
ペランドレジスタ15と、これらレジスタ14および1
5のそれぞれの出力を受け命令により指定された演算を
行なう演算回路16とを含む。該演算回路16の出力で
ある演算結果は命令の指定に従いソフトウェアレジスタ
10または記憶装置への書込データを保持する書込デー
タレジスタ17にセットされる。本発明の重要な部分で
あるワークレジスタサイクリック指定回路21は、前記
演算回路16の出力である演算結果を1マシンサイクル
毎に、第1ワークレジスタ18および第2ワークレジス
タ19に、順にサイクリックにセット指示を行なうとと
もに、ワークレジスタセレクタ20を交互に選択指示す
る。
ここで第2図の上部に示すようにn個の要素V1,V2…Vn
の総和を求めてその結果をRとするベクトル命令につい
て説明する。第2図のマイシンサイクル2Tでは、ソフ
トウェア用レジスタ10にセットされたデータRおよび
記憶装置から読出され読出データレジスタ11にセット
されたデータV1とが第1および第2オペランドセレクタ
12および13のそれぞれを介して第1および第2のオ
ペランドレジスタ14および15のそれぞれにセットさ
れ、それと同じマシンサイクル2Tで読出データレジス
タ11に次のベクトルデータV2がセットされる。次のマ
シンサイクル3Tでは、演算回路16での演算結果(こ
こではR+V1であるR1)が第1のワークレジスタ18に
セットされ、同じマシンサイクル3Tで読出データレジ
スタ11にデータV3がセットされるとともにオペランド
レジスタ14および15にそれぞれ第2のワークレジス
タ19の出力(R2=0),読出データレジスタ11の出
力(V2)がセットされる。次のマシンサイクル4Tでは
読出データレジスタ11にデータV4がセットされ第1お
よび第2オペランドレジスタ14および15にそれぞれ
演算結果R1,およびデータV3がセットされるとともにR2
+V2の演算結果が第2ワークレジスタ19にR2としてセ
ットされる。すなわち、 R+V1→R1 R2+V2→R2 R1+V3→R1 の演算が1マシンサイクル毎に行なわれる。ベクトルデ
ータの最終要素の演算終了後R1+R2→Rの演算が行なわ
れると、 が行なわれたことになり、ベクトルデータの総和が1マ
シンサイクルのパイプラインで実行されたことになる。
〔発明の効果〕
本発明には、演算の中間結果を保持するワークレジスタ
をソフトウェア用レジスタと同一の位置に複数個設け、
このワークレジスタ群をサイクリックに使用することに
より、総和を求めるベクトル命令でも各要素に対する演
算の実行サイクルを1マシンサイクルでできるという効
果がある。
【図面の簡単な説明】
第1図は、本発明の一実施例を示す図、第2図は、本発
明でのベクトル命令時の各レジスタの状態を示すタイム
チャート、第3図は、従来技術の一例を示す図、第4図
は、従来技術でのスカラー命令時の各レジスタのタイム
チャート、および第5図は従来技術でのベクトル命令時
の各レジスタのタイムチャート。 10……ソフトウェア用レジスタ、11……読出データ
レジスタ、12……第1オペランドセレクタ、13……
第2オペランドセレクタ、14……第1オペランドレジ
スタ、15……第2オペランドレジスタ、16……演算
回路、17……書込データレジスタ、18……第1ワー
クレジスタ、19……第2ワークレジスタ、20……ワ
ークレジスタセレクタ、21……ワークレジスタサイク
リック指定回路。

Claims (1)

    【特許請求の範囲】
  1. 【請求項1】命令により指定された種類の演算を行なう
    演算回路と、前記演算回路への入力データを保持する入
    力データ保持手段と、前記演算回路からの出力結果を保
    持する演算結果保持手段とを有し、 前記演算回路を用いるベクトル命令が指定された場合に
    複数のベクトル要素を記憶装置より順次読み出して共通
    な演算処理を繰り返し実行し、パイプライン制御される
    データ処理装置であって、 前記指定されたベクトル命令が前のベクトル要素の演算
    回路を次のベクトル要素の演算の入力オペランドとして
    用いる帰還オペランドを有するベクトル命令の場合には
    前記演算結果保持手段から前記入力データ保持手段にオ
    ペランドを順次帰還させながら、前記帰還オペランドを
    有するベクトル命令を実行するデータ処理装置におい
    て、 前記演算回路からの出力結果を一時的に順次保持できる
    複数のワークレジスタ機能を有する手段と、前記複数の
    ワークレジスタ機能を有する手段の出力のうちの一つを
    選択する選択手段と、予め定められた帰還オペランドを
    有するベクトル命令に応答し応答出力がある場合には前
    記複数のワークレジスタ機能を有する手段のうちの1個
    に対して、前記演算回路からの出力結果を格納するため
    の指令および前記選択手段へ所望のワークレジスタを選
    択して前記演算回路へ与える指令を順次サイクリックに
    発生するワークレジスタ機能制御手段と、全ベクトル要
    素の演算終了時に前記複数のワークレジスタ機能を有す
    る手段に保持されている最終的に確定した複数の中間結
    果により命令によって指定された演算結果を算出する手
    段と、該演算結果を命令による指定によって格納する演
    算レジスタとを含むことを特徴とするデータ処理装置。
JP59143579A 1984-07-11 1984-07-11 デ−タ処理装置 Expired - Lifetime JPH0650512B2 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59143579A JPH0650512B2 (ja) 1984-07-11 1984-07-11 デ−タ処理装置
EP85304956A EP0169030A3 (en) 1984-07-11 1985-07-11 Data processing circuit for calculating either a total sum or a total product of a series of data at a high speed
US07/177,840 US4849926A (en) 1984-07-11 1988-03-28 Data processing circuit for calculating either a total sum or a total product of a series of data at a high speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59143579A JPH0650512B2 (ja) 1984-07-11 1984-07-11 デ−タ処理装置

Publications (2)

Publication Number Publication Date
JPS6123276A JPS6123276A (ja) 1986-01-31
JPH0650512B2 true JPH0650512B2 (ja) 1994-06-29

Family

ID=15342015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59143579A Expired - Lifetime JPH0650512B2 (ja) 1984-07-11 1984-07-11 デ−タ処理装置

Country Status (3)

Country Link
US (1) US4849926A (ja)
EP (1) EP0169030A3 (ja)
JP (1) JPH0650512B2 (ja)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920004772B1 (ko) * 1987-05-14 1992-06-15 후지쓰 가부시끼가이샤 순환 방정식을 고속으로 처리하는 벡터 프로세서
JP2806524B2 (ja) * 1988-03-04 1998-09-30 日本電気株式会社 ベクトル演算命令発行制御方法
DE68926183T2 (de) * 1988-06-23 1996-10-10 Ibm Ergebnisverfügbarkeit einer Rechensequenz
JPH0527970A (ja) * 1991-07-18 1993-02-05 Seikosha Co Ltd 演算装置
EP0606674B1 (en) * 1992-12-04 1999-07-28 Koninklijke Philips Electronics N.V. Processor for uniform operations on respective series of successive data in respective parallel data streams
US6128721A (en) * 1993-11-17 2000-10-03 Sun Microsystems, Inc. Temporary pipeline register file for a superpipelined superscalar processor
US5619664A (en) * 1994-01-04 1997-04-08 Intel Corporation Processor with architecture for improved pipelining of arithmetic instructions by forwarding redundant intermediate data forms
EP1162547A3 (en) * 2000-06-05 2003-09-03 DSP Group Ltd. In-Place Memory Management for FFT

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3673399A (en) * 1970-05-28 1972-06-27 Ibm Fft processor with unique addressing
US3875391A (en) * 1973-11-02 1975-04-01 Raytheon Co Pipeline signal processor
US3900723A (en) * 1974-05-28 1975-08-19 Control Data Corp Apparatus for controlling computer pipelines for arithmetic operations on vectors
US4128880A (en) * 1976-06-30 1978-12-05 Cray Research, Inc. Computer vector register processing
JPS5532161A (en) * 1978-08-29 1980-03-06 Fujitsu Ltd Integration processing unit
US4298936A (en) * 1979-11-15 1981-11-03 Analogic Corporation Array Processor
US4484259A (en) * 1980-02-13 1984-11-20 Intel Corporation Fraction bus for use in a numeric data processor
JPS5725069A (en) * 1980-07-21 1982-02-09 Hitachi Ltd Vector data processing equipment
JPS57141753A (en) * 1981-02-25 1982-09-02 Nec Corp Multiplication circuit
US4405992A (en) * 1981-04-23 1983-09-20 Data General Corporation Arithmetic unit for use in data processing systems
JPS57209570A (en) * 1981-06-19 1982-12-22 Fujitsu Ltd Vector processing device
JPS58181165A (ja) * 1982-04-16 1983-10-22 Hitachi Ltd ベクトル演算プロセツサ
US4589067A (en) * 1983-05-27 1986-05-13 Analogic Corporation Full floating point vector processor with dynamically configurable multifunction pipelined ALU

Also Published As

Publication number Publication date
EP0169030A2 (en) 1986-01-22
US4849926A (en) 1989-07-18
EP0169030A3 (en) 1988-07-06
JPS6123276A (ja) 1986-01-31

Similar Documents

Publication Publication Date Title
US4228498A (en) Multibus processor for increasing execution speed using a pipeline effect
JP3237858B2 (ja) 演算装置
JPS61160176A (ja) ベクトル処理装置
JPH0650512B2 (ja) デ−タ処理装置
JPH0528431B2 (ja)
JP2885197B2 (ja) 演算処理装置及び演算処理方法
JP2793357B2 (ja) 並列演算装置
JPH06309349A (ja) プログラム制御のプロセッサ
JPS6162174A (ja) 情報婦理装置
JPH07110769A (ja) Vliw型計算機
Thomas Fundamentals of digital computer programming
JPS595941B2 (ja) デ−タアレイエンザンシヨリソウチ
JP2989830B2 (ja) ベクトル処理方法
CA1155232A (en) Pipelined digital signal processor using a common data and control bus
JP2989829B2 (ja) ベクトル処理方法
JPS60144874A (ja) ベクトルデ−タ処理装置
JPH0218732B2 (ja)
JP2982129B2 (ja) マイクロプログラム制御装置
JP2555124B2 (ja) 画像処理装置
JPH05165875A (ja) ベクトル演算処理装置
JPH0810432B2 (ja) 情報処理装置
JPH02181821A (ja) 演算装置
JPH0260020B2 (ja)
JPH02126322A (ja) 情報処理装置
JPH04330519A (ja) 乗算回路