JPH01286030A - Information processor - Google Patents

Information processor

Info

Publication number
JPH01286030A
JPH01286030A JP11664288A JP11664288A JPH01286030A JP H01286030 A JPH01286030 A JP H01286030A JP 11664288 A JP11664288 A JP 11664288A JP 11664288 A JP11664288 A JP 11664288A JP H01286030 A JPH01286030 A JP H01286030A
Authority
JP
Japan
Prior art keywords
instruction
composite
instructions
register
counter
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
JP11664288A
Other languages
Japanese (ja)
Inventor
Masato Nishida
西田 政人
Makoto Komata
誠 小俣
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 JP11664288A priority Critical patent/JPH01286030A/en
Publication of JPH01286030A publication Critical patent/JPH01286030A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To realize the processing of a composite instruction without preparing a processing sequence for the composite instruction by decomposing the composite instruction to the instruction to execute plural fundamental processings and supplying it to an instruction decoding unit. CONSTITUTION:A composite instruction control circuit 3 is composed of a composite instruction detecting circuit 31 and a counter 32. A detecting circuit 31 detects that an instruction in an instruction register 2 is the composite instruction and the number of decomposing the instruction is set to the counter 32. The composite instruction control circuit 3 holes the contents of the instruction register 2 through a control line 301 at the time of the composite instruction and suppresses the taking-out of the succeeding instruction. An instruction decomposing decoder 4 decomposes from the contents of the register 2 and the contents of the counter 32 to plural instructions. An instruction selector 5 selects the decomposed instruction outputted through a signal line 401 and sends it to an instruction decoding unit 6. The unit 6 decodes the instruction, sends it to an instruction execution unit 7 and executes it.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an information processing device.

(従来の技術) 従来の情報処理装置は、個々の命令に対して命令のデコ
ードを行ない、命令ごとに個別の処理な    行なっ
ていた。すなわち、命令取出しユニットより命令レジス
タに取り出された命令は、個々の命令対応に処理シーケ
ンスを発生する命令解読ユニットによって命令がデコー
ドされ、命令処理ユニットにて命令実行されていた。
(Prior Art) Conventional information processing devices decode individual instructions and perform individual processing for each instruction. That is, an instruction fetched into an instruction register from an instruction fetch unit is decoded by an instruction decoding unit that generates a processing sequence corresponding to each instruction, and then executed by an instruction processing unit.

(発明が解決しようとする課題) 上述した従来の情報処理装置は、個々の命令に対応して
処理シーケンスを生成する命令解読ユニットが必要であ
ったが、命令によっては制御シーケンスの一部を他の命
令と共用できるものがあるし、さらに、他の命令を複数
個組合せることで実現できる複合命令(例えば、複数の
レジスタのロード、ストア命令、四則演算に分解できる
ような演算命令等)も有り得、このような複合命令に対
して個別の命令処理シーケンスを生成することは、命令
解読ユニットを複雑化させてハードウェア量の増加を招
き、また回路の複雑化に伴ない、回路遅延が増大し、装
置の性能を低下させてしまう。
(Problem to be Solved by the Invention) The conventional information processing device described above requires an instruction decoding unit that generates a processing sequence in response to each instruction. There are some instructions that can be shared with other instructions, and there are also compound instructions that can be realized by combining multiple other instructions (for example, load and store instructions for multiple registers, arithmetic instructions that can be broken down into four arithmetic operations, etc.). Possibly, generating separate instruction processing sequences for such complex instructions complicates the instruction decoding unit, increasing the amount of hardware, and increases circuit delay as the circuit becomes more complex. However, this will reduce the performance of the device.

上記のような問題点に対して、近年複合命令のような他
の基本的な命令の組合せによって実現可能な命令等を削
減することによってハードウェアの複雑さを制限し、こ
のことによって回路遅延を小さくし、情報処理装置の性
能向上をはかろうとする縮小命令セット(RlsC)の
考えを用いた情報処理装置があられれてきている。しか
し、RISC計算機においても、命令の種類数の制限に
よって記述性が低下し、ソフトウェアの負荷が増大する
とか、プログラムサイズが大きくなってしまうといフた
欠点がある。
In response to the above problems, in recent years the complexity of hardware has been limited by reducing the number of instructions that can be implemented by combining other basic instructions, such as compound instructions, and this has reduced circuit delay. Information processing devices using the concept of reduced instruction set (RlsC) are becoming available in order to reduce the size and improve the performance of information processing devices. However, RISC computers also have drawbacks, such as a decrease in descriptive performance due to the limited number of types of instructions, an increase in software load, and an increase in program size.

(課題を解決するための手段〕 本発明の情報処理装置は、 命令レジスタ中の命令が他の命令の組合せによって同一
の処理が実現できる複合命令であることを検出する検出
手段と、 該検出手段によって複合命令であると検出された命令を
同一の処理を実現する複数の命令に分解する分解手段と
、 通常は命令レジスタ中の命令を選択し、検出手段の検出
出力により分解された命令を選択し、命令解読手段に出
力する選択手段を有する。
(Means for Solving the Problems) An information processing device of the present invention includes: a detection means for detecting that an instruction in an instruction register is a compound instruction that can realize the same processing by combining other instructions; and the detection means. A disassembly means that disassembles an instruction detected as a compound instruction into multiple instructions that implement the same process, and usually selects an instruction in the instruction register, and selects the disassembled instruction based on the detection output of the detection means. and has selection means for outputting to the instruction decoding means.

(作用〕 したがって、複合命令に対する処理シーケンスを生成す
る回路を有することなく、複合命令の処理を実現でき、
命令解読ユニットの構造が簡単化され、ハードウェア量
が制限されるとともに、回路遅延が小さくなる。
(Operation) Therefore, processing of compound instructions can be realized without having a circuit for generating a processing sequence for compound instructions.
The structure of the instruction decoding unit is simplified, the amount of hardware is limited, and the circuit delay is reduced.

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

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

命令取り出しユニット1は主記憶装置(図示せず)より
、実行すべき命令を信号線101を介して取り出し、命
令レジスタ2に格納する。複合命令制御回路3は複合命
令検出回路31とカウンタ32とからなり、信号線20
1を介して供給される命令レジスタz中の命令が他の命
令の組合せによって同一の処理が実現できる複合命令で
あることを複合命令検出回路31で検出し、またカウン
タ32に命令の分解数をセットする。また、複合命令制
御回路3は、複合命令であわば制御線301を介して命
令レジスタ2の内容を保持し、後続命令の取り出しを抑
制する。命令分解デコーダ4は、複合命令検出回路31
にて複合命令が検出されると、命令レジスタ2の内容と
信号線303を介して供給されるカウンタ32の内容を
もとに同一の処理を実現する複数の命令に分解する。命
令セレクタ5は通常は信号線201により供給される命
令レジスタ2に保持されている命令を選択し、複合命令
検出回路31にて複合命令が検出されたことが信号線3
02で報告されると信号線401を介して出力される分
解された命令を選択し、信号線501により命令解読ユ
ニット6へ送出する。命令解読ユニット6は信号線50
1により送出されてきた命令を解読し、信号線1i01
により命令実行ユニット7に送り、命令が実行される。
The instruction fetching unit 1 fetches an instruction to be executed from a main memory (not shown) via a signal line 101 and stores it in an instruction register 2. The compound instruction control circuit 3 includes a compound instruction detection circuit 31 and a counter 32, and has a signal line 20.
The compound instruction detection circuit 31 detects that the instruction in the instruction register z supplied through the instruction register z is a compound instruction that can realize the same processing by combining other instructions, and also records the number of instruction decompositions in the counter 32. set. Furthermore, the compound instruction control circuit 3 holds the contents of the instruction register 2 via the control line 301 for compound instructions, and suppresses the fetching of subsequent instructions. The instruction disassembly decoder 4 includes a complex instruction detection circuit 31
When a compound instruction is detected, it is decomposed into a plurality of instructions that implement the same process based on the contents of the instruction register 2 and the contents of the counter 32 supplied via the signal line 303. The instruction selector 5 normally selects the instruction held in the instruction register 2 that is supplied via the signal line 201, and the signal line 3 indicates that the compound instruction detection circuit 31 has detected a compound instruction.
02, the disassembled instruction output via the signal line 401 is selected and sent to the instruction decoding unit 6 via the signal line 501. The instruction decoding unit 6 has a signal line 50
1 decodes the command sent by signal line 1i01
The instruction is sent to the instruction execution unit 7, and the instruction is executed.

なお、カウンタ32は分解された命令が命令解読ユニッ
ト6に送出されるたびに減じられる。そして、命令分解
処理の完了はカウンタ32が0になっとことによって検
出され、制御線301を介して命令レジスタ2の保持を
解除し、命令セレクタ5が命令レジスタ2の内容を選択
し、信号線501に送るように動作する。
Note that the counter 32 is decremented each time a disassembled instruction is sent to the instruction decoding unit 6. Completion of the instruction disassembly process is detected when the counter 32 becomes 0, the holding of the instruction register 2 is released via the control line 301, the instruction selector 5 selects the contents of the instruction register 2, and the signal line 501.

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

以上説明したように本発明は、他の複数個の命令によっ
て同一の処理が実現出来るような複合命令を複数の基本
的な処理を行なう命令に分解し、該命令を命令解読ユニ
ットに供給することにより、該複合命令に対する処理シ
ーケンスを生成する回路を有することなく、該複合命令
の処理を実現することができ、このことによって命令解
読ユニットの構造を簡単にすることができハードウェア
量を削減することができ、また構造のM単化により回路
遅延が小さくでき性能向上をはかることができ、また、
逆に少ないハードウェアの追加で命令の種類の追加が可
能であり、プログラムの記述性が向上し゛、ソフトウェ
アの負荷が減じ、プログラムが主記憶に占めるサイズを
小さくさせることができる効果がある。
As explained above, the present invention decomposes a compound instruction in which the same process can be realized by a plurality of other instructions into instructions that perform a plurality of basic processes, and supplies the instructions to an instruction decoding unit. Accordingly, processing of the compound instruction can be realized without having a circuit that generates a processing sequence for the compound instruction, thereby simplifying the structure of the instruction decoding unit and reducing the amount of hardware. In addition, by making the structure M-single, circuit delay can be reduced and performance can be improved.
On the other hand, it is possible to add more types of instructions with the addition of less hardware, which improves the writeability of the program, reduces the software load, and reduces the size that the program occupies in the main memory.

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

第1図は本発明の情報処理装置の一実施例を示すブロッ
ク図である。 1・・・命令取出しユニット、 2・・・命令レジスタ、 3・・・複合命令制御回路、 31−・・複合命令検出回路、 32−・・カウンタ、 4・・・命令分解デコーダ、 5・・・命令セレクタ、 6・・・命令解読ユニット、 7・・・命令実行ユニット。 特許出願人  甲府日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of an information processing apparatus of the present invention. DESCRIPTION OF SYMBOLS 1... Instruction fetch unit, 2... Instruction register, 3... Complex instruction control circuit, 31-... Complex instruction detection circuit, 32-... Counter, 4... Instruction disassembly decoder, 5... - Instruction selector, 6... Instruction decoding unit, 7... Instruction execution unit. Patent applicant Kofu NEC Co., Ltd.

Claims (1)

【特許請求の範囲】 1、情報処理装置において、 命令レジスタ中の命令が他の命令の組合せによって同一
の処理が実現できる複合命令であることを検出する検出
手段と、 該検出手段によって複合命令であると検出された命令を
同一の処理を実現する複数の命令に分解する分解手段と
、 通常は命令レジスタ中の命令を選択し、検出手段により
複合命令であることが検出されると分解された命令を選
択し、命令解読手段に出力する選択手段を有することを
特徴とする情報処理装置。
[Claims] 1. In an information processing device, detecting means for detecting that an instruction in an instruction register is a compound instruction that can realize the same processing by combining other instructions; A disassembly means that disassembles an instruction detected to be a compound instruction into multiple instructions that perform the same process; An information processing device comprising a selection means for selecting an instruction and outputting the selected instruction to an instruction decoding means.
JP11664288A 1988-05-12 1988-05-12 Information processor Pending JPH01286030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11664288A JPH01286030A (en) 1988-05-12 1988-05-12 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11664288A JPH01286030A (en) 1988-05-12 1988-05-12 Information processor

Publications (1)

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

Family

ID=14692262

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH01286030A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260930A (en) * 1991-01-21 1992-09-16 Mitsubishi Electric Corp Data processor
JPH06161778A (en) * 1992-11-26 1994-06-10 Fujitsu Ltd Multi-flow instruction control method and instruction processor
JPH08504977A (en) * 1992-09-29 1996-05-28 セイコーエプソン株式会社 System and method for handling load and / or store operations in a superscalar microprocessor
US5870596A (en) * 1991-01-21 1999-02-09 Mitsubishi Denki Kabushiki Kaisha Data processor allowing multifunctional instruction execution
JP2001142691A (en) * 1999-11-11 2001-05-25 Fujitsu Ltd Processor
US6708289B1 (en) 1998-03-31 2004-03-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870596A (en) * 1991-01-21 1999-02-09 Mitsubishi Denki Kabushiki Kaisha Data processor allowing multifunctional instruction execution
JPH04260930A (en) * 1991-01-21 1992-09-16 Mitsubishi Electric Corp Data processor
JP2000148491A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Microcomputer system
JP2000148490A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Computer system
JP2000148483A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Computer system
JP2000148492A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Computer system
JP2000148481A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Computer system
JP2000148493A (en) * 1992-09-29 2000-05-30 Seiko Epson Corp Computer system
JPH08504977A (en) * 1992-09-29 1996-05-28 セイコーエプソン株式会社 System and method for handling load and / or store operations in a superscalar microprocessor
JPH06161778A (en) * 1992-11-26 1994-06-10 Fujitsu Ltd Multi-flow instruction control method and instruction processor
US6708289B1 (en) 1998-03-31 2004-03-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
WO2004075059A1 (en) * 1998-03-31 2004-09-02 Makoto Kudo Microcomputer, electronic device, and debugging system
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7100086B1 (en) 1998-03-31 2006-08-29 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7114101B2 (en) 1998-03-31 2006-09-26 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
JP2001142691A (en) * 1999-11-11 2001-05-25 Fujitsu Ltd Processor

Similar Documents

Publication Publication Date Title
JP2500036B2 (en) Hybrid pipeline connection processor and processing method thereof
EP0426393A2 (en) Instructing method and execution system
JP2002333978A (en) Vliw type processor
JPH11282679A (en) Arithmetic processor
JPH02226420A (en) Floating point computation execution apparatus
US5095426A (en) Data processing system for effectively handling exceptions during execution of two different types of instructions
US4954947A (en) Instruction processor for processing branch instruction at high speed
JPH03286332A (en) Digital data processor
US7043625B2 (en) Method and apparatus for adding user-defined execution units to a processor using configurable long instruction word (CLIW)
JPH01286030A (en) Information processor
JPH05150979A (en) Immediate operand expansion system
US5253349A (en) Decreasing processing time for type 1 dyadic instructions
JP3212213B2 (en) Data processing device
EP0650612B1 (en) Fast instruction decoding in a pipeline processor
JP2538053B2 (en) Control device
JPS59114677A (en) Vector processor
US20030061468A1 (en) Forwarding the results of operations to dependent instructions quickly
JPH01183737A (en) Information processor
JP3511691B2 (en) Arithmetic processing unit
JP3062892B2 (en) Arithmetic processing unit
JPH05143447A (en) Digital processor and control method for the processor
JPH0241532A (en) Exception processing method for microprocessor
JP2925842B2 (en) Pipeline processing equipment
JP2583614B2 (en) Vector arithmetic unit
EP0862112A2 (en) Data processing system having an instruction pipeline