JPH01286033A - Information processor - Google Patents

Information processor

Info

Publication number
JPH01286033A
JPH01286033A JP11664388A JP11664388A JPH01286033A JP H01286033 A JPH01286033 A JP H01286033A JP 11664388 A JP11664388 A JP 11664388A JP 11664388 A JP11664388 A JP 11664388A JP H01286033 A JPH01286033 A JP H01286033A
Authority
JP
Japan
Prior art keywords
arithmetic
instruction
unit
register
pipeline
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.)
Pending
Application number
JP11664388A
Other languages
Japanese (ja)
Inventor
Takeshi Nishikawa
西川 岳
Toshihiko Nakamura
俊彦 中村
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
NEC Computertechno Ltd
Original Assignee
NEC Corp
NEC Computertechno 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 NEC Corp, NEC Computertechno Ltd filed Critical NEC Corp
Priority to JP11664388A priority Critical patent/JPH01286033A/en
Publication of JPH01286033A publication Critical patent/JPH01286033A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To arithmetic performance by properly using the computing element of a pipeline constitution to operate while an arithmetic intermediate result is held at a special time interval and the computing element of the non-pipeline constitution of the same function as it, by an instruction. CONSTITUTION:Computing elements 4 and 5 are of the non-pipeline constitution and the pipeline constitution of the same function respectively, operated data registers 41a and 41b and an arithmetic result register 42 are provided at a computing element 4 and operated data registers 51a and 51b, an arithmetic result register 52 and a pipeline register 53 are provided at a computing element 5. The computing element 5 holds an intermediate result at a fundamental machine cycle or a plural-fold time interval, the instruction of a main storing part 1 is supplied to an instruction control part 2, the operated data are supplied to a general-purpose register 3 respectively, and by the signal from the control part 2, a selector 6 selects either one of the results of the computing elements 4 and 5 and sends it to the register 3.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、命令を解読しリソースの状態を管理しながら
命令起動の制御を行なう命令制御部と該命令制御部から
の制御信号によって命令を実行する命令実行部を含む情
報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention provides an instruction control section that decodes instructions and controls the activation of instructions while managing the state of resources, and a method for executing instructions using control signals from the instruction control section. The present invention relates to an information processing device including an instruction execution unit that executes instructions.

〔従来の技術〕[Conventional technology]

従来、この種の情報処理装置では、命令実行部の演算器
は、被演算データを保持する被演算データレジスタと、
演算機能を実現する演算論理部と、演算結果を保持する
演算結果レジスタとから構成されていた。
Conventionally, in this type of information processing device, an arithmetic unit of an instruction execution unit includes an operand data register that holds operand data;
It consisted of an arithmetic logic section that realized arithmetic functions and an arithmetic result register that held the arithmetic results.

この演算器の場合、演算のために被演算データを被演算
データレジスタにセットしてから、演算結果が演算結果
レジスタにセットされるまでの間は、同一演算器を使用
することができない(この時間を演算サイクルと呼ぶ)
In the case of this arithmetic unit, the same arithmetic unit cannot be used after the operand data is set in the operand data register for operation until the operation result is set in the operation result register (this time is called a computation cycle)
.

そこで、他の情報処理′@置の演算器では、前記演算論
理部の途中に演算中間結果を保持するレジスタを複数段
挿入し、被演算データレジスタの次段の演算中間結果保
持レジスタに演算中間結果が保持されるタイミングで該
演算器に対して次の演算起動をかけることができるよう
いわゆるパイプライン構成にすることで、演算サイクル
を短縮させている。
Therefore, in other information processing arithmetic units, multiple stages of registers that hold the intermediate results of calculations are inserted in the middle of the arithmetic logic section, and the intermediate results of the calculations are stored in the intermediate result holding registers of the next stage of the operand data register. The calculation cycle is shortened by using a so-called pipeline configuration so that the next calculation can be activated for the calculation unit at the timing when the result is held.

(発明が解決しようとする課題) 上述した従来の情報処理装置のうち前者では、演算器が
パイプライン構成になっていないため、同−演算器を使
用する命令が連続するような場合、該演nNの使用リミ
ットとなって命令の処理効率が低下するという欠点があ
る。この傾向は装置の処理効率を向上させるため、前記
命令処理部をパイプライン化しマシンサイクルを短縮し
た場合に顕著になる。
(Problem to be Solved by the Invention) In the former of the above-mentioned conventional information processing devices, the arithmetic units do not have a pipeline configuration, so when instructions that use the same arithmetic unit are consecutive, the processor There is a drawback that the instruction processing efficiency is reduced due to the usage limit of nN. This tendency becomes more noticeable when the instruction processing section is pipelined to shorten the machine cycle in order to improve the processing efficiency of the device.

上記問題点を解決するために演算器をパイプライン化し
た後者の情報処i!I!装置では逆に以下に示す欠点が
ある。
In order to solve the above problems, the latter information processing i! I! On the other hand, the device has the following drawbacks.

一般的にレジスタを構成するフリップ70ツブは回路と
しての遅延を持っている。したがって、演算器をパイプ
、ライン化するために、その回路の途中にレジスタを挿
入すると、パイプライン化された演算器は、そうでない
場合に比べ、被演算データを設定してから、演算結果が
確定するまでの時間が長くなる。さらに、演算器をパイ
プライン化するためにレジスタを挿入する場合、その位
置は回路遅延時間的に、マシンサイクルの整数倍になる
位置に挿入するのが効率がよいが、回路構成上必らずし
も最適の位置に置けるとは限らず、これによっても演算
時間が長くなる。
In general, the flip 70 blocks constituting a register have a delay as a circuit. Therefore, if a register is inserted in the middle of the circuit in order to pipe or line the arithmetic unit, the pipelined arithmetic unit will be able to set the operand data and then display the operation result. It will take longer to confirm. Furthermore, when inserting a register to pipeline arithmetic units, it is efficient to insert the register at a position that is an integral multiple of the machine cycle in terms of circuit delay time, but this is not always possible due to the circuit configuration. However, it may not always be possible to place it at the optimal position, and this also increases the calculation time.

(課題を解決するための手段〕 本発明の情報処理装置は、命令実行部は基本マシンサイ
クルあるいは該サイクルの複数倍の時間開隔で演算中間
結果を保持しながら演算処理を進めていくパイプライン
構成の演算器と、該演算器と同一のl111を実現する
非パイプライン構成の演算器とを有し、演算器毎に該演
算器を指定して使用する命令を有し、命令制御部は命令
によって前記演算器を使い分ける制御を行なう。
(Means for Solving the Problems) In the information processing device of the present invention, the instruction execution unit is a pipeline system that advances arithmetic processing while holding intermediate results of arithmetic operations at intervals of a basic machine cycle or multiple times the cycle. It has an arithmetic unit with the same configuration as the arithmetic unit, and an arithmetic unit with a non-pipelined configuration that realizes the same l111 as the arithmetic unit, and has an instruction for specifying and using the arithmetic unit for each arithmetic unit, and an instruction control unit. Control is performed to selectively use the arithmetic units according to instructions.

〔作用〕[Effect]

命令実行部に同一機能を果たすパイプライン構成および
非パイプライン構成の2種の演算器を有し、命令によっ
て両者を使い分けられるようにすることkより、演算サ
イクルが短いというパイプライン構成の演算器の特徴と
、演算時間が短いという非パイプライン構成の演*iの
特徴を柔軟に選択することが可能となり、その結実装置
の演算性能を向上させることができる。
An arithmetic unit with a pipelined structure that has two types of arithmetic units in the instruction execution section, one with a pipelined configuration and one without a pipelined configuration, that perform the same function, and which can be used depending on the instruction.The arithmetic unit has a shorter operation cycle. It becomes possible to flexibly select the characteristics of the non-pipelined operation *i such as short calculation time, and the calculation performance of the fruiting device can be improved.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の情報処理装置の一実施例の要部を示す
ブロック図である。
FIG. 1 is a block diagram showing essential parts of an embodiment of an information processing apparatus of the present invention.

命令、データが格納されている主記憶部1は、命令制御
部2に命令を、汎用レジスタ3に被演算データを供給す
る。命令制御部2は主記憶部1からの命令を受け、解読
し該命令の実行に必要な制御信号を作成する。汎用レジ
スタ3は主記憶部1からの被演算データや演算器4.5
からの演算結果を一時記憶する。演算器4.5は機能と
しては同一であるが、演算器4は非パイプライン構成の
演算器であり、演算器5はパイプライン構成の演算器で
ある。演算器4は被演算データレジスタ41a、41b
、演算結果レジスタ42を含み、演算器5は被演算デー
タレジスタ518.51b。
A main memory section 1 in which instructions and data are stored supplies instructions to an instruction control section 2 and operand data to a general-purpose register 3. The instruction control unit 2 receives an instruction from the main storage unit 1, decodes it, and creates control signals necessary for executing the instruction. The general-purpose register 3 stores operand data from the main memory 1 and the arithmetic unit 4.5.
Temporarily stores the calculation results from. The arithmetic units 4 and 5 have the same functions, but the arithmetic unit 4 is a non-pipelined arithmetic unit, and the arithmetic unit 5 is a pipelined arithmetic unit. The arithmetic unit 4 has operand data registers 41a and 41b.
, an operation result register 42, and the operation unit 5 is an operation data register 518.51b.

演算中間結果を一時保持するパイプラインレジスタ53
、演算結果レジスタ52を含んでおり、演算14では演
算結果が確定するまで、演算器5では演算中間結果が次
段のレジスタに届くまで被演算データを保持する。2人
力の選択器6は、命令制御部2からの制御信号で演算器
4.5の演算結果のいずれか一方を選択し、汎用レジス
タ3へ送出する。
Pipeline register 53 that temporarily holds calculation intermediate results
, an operation result register 52, and the operation unit 5 holds the operated data until the operation result is determined in operation 14, and until the operation intermediate result reaches the register at the next stage. The two-manpower selector 6 selects either one of the calculation results of the calculation unit 4.5 based on the control signal from the instruction control unit 2, and sends it to the general-purpose register 3.

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

命令11tl11部2は主記憶部1から命令を取り出し
解読する。該命令がパイプライン演算85を使用するタ
イプの命令であると、命令制御部2は必要な被演算デー
タ(該データは該命令に先立って主記憶部1から読出し
汎用レジスタ3に記憶しておく)を読出すよう汎用レジ
スタ3に対し制御線21で指示を出す一方、該データを
被演算データレジスタ51a、51bにセットして演算
を開始するよう演算器5に対し、制御線23で指示を送
出する。命令制御部2は前記演算開始信号を演算器パイ
プライン段数相当持ち廻った後1lJIj線24から選
択B6に対し演算器5からの演算結果を選択し汎用レジ
スタ3に送出するよう指示を出す。
The instruction 11tl11 section 2 takes out an instruction from the main storage section 1 and decodes it. If the instruction is a type of instruction that uses pipeline operation 85, the instruction control unit 2 reads necessary operand data (the data is read from the main storage unit 1 and stored in the general-purpose register 3 prior to the instruction). ) is issued to the general-purpose register 3 via the control line 21, and the arithmetic unit 5 is instructed via the control line 23 to set the data in the operand data registers 51a, 51b and start the operation. Send. After the instruction control unit 2 circulates the calculation start signal corresponding to the number of pipeline stages of the calculation units, it instructs the selection B 6 from the 1lJIj line 24 to select the calculation result from the calculation unit 5 and send it to the general-purpose register 3.

また、命令liI制御部2で解読した命令が非パイプラ
イン演算器4を使用する命令であった場合は前記同様必
要な被演算データを汎用レジスタ3から読出し、該デー
タを被演算データレジスタ418゜41bにセットし、
演算を開始するよう、ll1II11翰22で制御し演
算に必要な時間経過後制御線24で演W器4の演舞結果
を選択し、汎用レジスタ3に送出するよう選択器6を制
御する。
Furthermore, if the instruction decoded by the instruction liI control unit 2 is an instruction that uses the non-pipelined arithmetic unit 4, the necessary operand data is read from the general-purpose register 3 as described above, and the data is stored in the operand data register 418. Set it to 41b,
The control line 22 controls the start of the calculation, and after the time required for the calculation has elapsed, the selector 6 is controlled to select the performance result of the W performer 4 using the control line 24 and send it to the general-purpose register 3.

なお、本実施例では一機能の演算に対するパイプライン
および非パイプライン構成の演算器のみを図示したが、
同様に複数の演算機能に対して同様の構造を持つことは
言うまでもない。
Note that in this embodiment, only pipeline and non-pipeline configuration arithmetic units for arithmetic operations of one function are illustrated;
It goes without saying that similar structures are used for multiple arithmetic functions.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、命令実行部に、同一機能
を果たすパイプライン構成および非パイプライン構成の
2種の演算器を有し、命令によって両名を使い分けられ
るようにすることにより、演算サイクルがりDいという
パイプライン構成の演算器の特徴と演算時間が短いとい
う非パイプライン構成の演算器の特徴を柔軟に選択する
ことが可能となり、その結実装蹟の潰砕性能を向上させ
ることができるという効果がある。
As explained above, the present invention has two types of arithmetic units in the instruction execution unit, one with a pipeline configuration and the other with a non-pipeline configuration, each of which performs the same function, and allows both types to be used depending on the instruction. It is possible to flexibly select the characteristics of a pipeline-configured arithmetic unit such as high cycle length and the characteristic of a non-pipeline-configured arithmetic unit such as short calculation time, and improve the crushing performance of the condensed foot. It has the effect of being able to

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

第1図は本発明の情報処理装置の一実施例の要部の構成
を示すブロック図である。 1・・・主記憶部、2・・・命令制御部、3・・・汎用
レジスタ、 4・・・非パイプライン演算器、 5・・・パイプライン演算器、 6・・・選択器。
FIG. 1 is a block diagram showing the configuration of essential parts of an embodiment of an information processing apparatus of the present invention. DESCRIPTION OF SYMBOLS 1...Main storage unit, 2...Instruction control unit, 3...General-purpose register, 4...Non-pipelined arithmetic unit, 5...Pipeline arithmetic unit, 6...Selector.

Claims (1)

【特許請求の範囲】 命令を解読し、リソースの状態を管理しながら命令起動
の制御を行なう命令制御部と、該命令制御部からの制御
信号によって命令を実行する命令実行部を含む情報処理
装置において、 前記命令実行部は基本マシンサイクルあるいは該サイク
ルの複数倍の時間間隔で演算中間結果を保持しながら演
算処理を進めていくパイプライン構成の演算器と、該演
算器と同一の機能を実現する非パイプライン構成の演算
器とを有し、 演算器毎に該演算器を指定して使用する命令を有し、命
令制御部は命令によって前記演算器を使い分ける制御を
行なうことを特徴とする情報処理装置。
[Scope of Claims] An information processing device that includes an instruction control unit that decodes instructions and controls activation of instructions while managing the state of resources, and an instruction execution unit that executes instructions in accordance with control signals from the instruction control unit. In the above, the instruction execution unit is a pipeline-configured arithmetic unit that carries out arithmetic processing while holding arithmetic intermediate results at time intervals of a basic machine cycle or multiple times the cycle, and realizes the same function as the arithmetic unit. an arithmetic unit with a non-pipelined configuration, each arithmetic unit having an instruction to specify and use the arithmetic unit, and an instruction control unit controlling the use of the arithmetic unit according to the instruction. Information processing device.
JP11664388A 1988-05-12 1988-05-12 Information processor Pending JPH01286033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11664388A JPH01286033A (en) 1988-05-12 1988-05-12 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11664388A JPH01286033A (en) 1988-05-12 1988-05-12 Information processor

Publications (1)

Publication Number Publication Date
JPH01286033A true JPH01286033A (en) 1989-11-17

Family

ID=14692290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11664388A Pending JPH01286033A (en) 1988-05-12 1988-05-12 Information processor

Country Status (1)

Country Link
JP (1) JPH01286033A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292926B1 (en) 1997-07-03 2001-09-18 Matsushita Electric Industrial Co., Ltd. Functional module model, pipelined circuit synthesis and pipelined circuit device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292926B1 (en) 1997-07-03 2001-09-18 Matsushita Electric Industrial Co., Ltd. Functional module model, pipelined circuit synthesis and pipelined circuit device

Similar Documents

Publication Publication Date Title
KR100571322B1 (en) Exception handling methods, devices, and systems in pipelined processors
US5404552A (en) Pipeline risc processing unit with improved efficiency when handling data dependency
JP2003005958A (en) Data processor and method for controlling the same
JPH01310441A (en) Data processor
JPH03233630A (en) Information processor
JPH1185513A (en) Processor
JP2538053B2 (en) Control device
US6775762B1 (en) Processor and processor system
JPH01286033A (en) Information processor
KR100188374B1 (en) Central processing unit and an arithmetic operation processing unit
US6266764B1 (en) Program controller for switching between first program and second program
JP2584156B2 (en) Program-controlled processor
JPH01286034A (en) Information processor
JP2009054032A (en) Parallel processor
JPS60247743A (en) Pipeline arithmetic controller
JPS60247742A (en) Pipeline arithmetic controller
JP2825315B2 (en) Information processing device
JP2853458B2 (en) Instruction string switching method and arithmetic processor using the same
JPH0218732B2 (en)
JPH05197543A (en) Instruction decoding system of information processor
JP2982129B2 (en) Micro program controller
JPH0269826A (en) System for controlling instruction with condition
JPS622363A (en) Arithmetic unit
JPH0431134B2 (en)
JPH07210384A (en) Floating point arithmetic unit