[go: up one dir, main page]

JPH03209522A - Instruction code decoder - Google Patents

Instruction code decoder

Info

Publication number
JPH03209522A
JPH03209522A JP527190A JP527190A JPH03209522A JP H03209522 A JPH03209522 A JP H03209522A JP 527190 A JP527190 A JP 527190A JP 527190 A JP527190 A JP 527190A JP H03209522 A JPH03209522 A JP H03209522A
Authority
JP
Japan
Prior art keywords
instruction
register
instruction code
map
data
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
JP527190A
Other languages
Japanese (ja)
Inventor
Mikio Ogisu
荻須 幹雄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP527190A priority Critical patent/JPH03209522A/en
Publication of JPH03209522A publication Critical patent/JPH03209522A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To improve the response in a high speed by optionally selecting an optimum map (instruction set) out of plural instruction maps (instruction sets) and limiting the number of instructions available to each instruction map (instruction set). CONSTITUTION:An instruction code register 1 selects one of plural instruction maps 5 (1 - n) based on the value of the register 1. The value of the register 1 is inputted to an instruction decoding part 4 together with the data 3 which is received from software as a part of an instruction code. This data 3 has the shortest word length and therefore the queuing frequency is reduced through the width of data supplied from the software is limited. Consequently, the throughput of a system is improved and the response in the high speed is also attained.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数の命令マツプ(命令セット)を備え、任
意に命令マツプ(命令セット)を選択できることにより
、実質的な命令コード語長を短くし、命令コード待ち(
以下キュー待ち)を少な(することによりスループット
(稼動率)を向上させることができる命令コード解読装
置に関するものである。
Detailed Description of the Invention [Industrial Application Field] The present invention has a plurality of instruction maps (instruction sets) and can select any instruction map (instruction set), thereby reducing the actual instruction code word length. Shorten it and wait for the instruction code (
The present invention relates to an instruction code decoding device that can improve throughput (operating rate) by reducing (hereinafter referred to as queue waiting).

[従来の技術] 従来、数多くの種類の命令を持つプロセッサに於いて、
命令コードを全命令に割り当てる場合、プロセッサ個有
の単一命令語長では全命令に命令コードを割り当てられ
ないため、第1マツプ以外に、第2マツプを形成し、短
語長命令と長語長命令に命令を割り振っていた。即ち、
任用頻度の比較的高い命令は短語長に、任用頻度の低い
命令は長語長としていた。
[Prior Art] Conventionally, in a processor that has many types of instructions,
When assigning instruction codes to all instructions, it is not possible to assign instruction codes to all instructions with a single instruction word length unique to the processor. Therefore, in addition to the first map, a second map is formed to assign short and long instructions. Commands were assigned to long commands. That is,
Instructions that were used relatively frequently were given short word lengths, and orders that were used less frequently were given long word lengths.

[発明が解決しようとする課題] しかしながら、長語長命令に割当てられた命令は、頻度
は低いが、長語長になるとキュー待ちが発生する確率が
高くなり、その命令だけでなく他の命令実行に影響を及
ぼし、システムのスループットが低下をしていた。
[Problems to be Solved by the Invention] However, although the frequency of instructions assigned to long word length instructions is low, when the word length becomes long, the probability of waiting in a queue increases, and not only that instruction but also other instructions This affected execution and reduced system throughput.

本発明は上記従来の課題を解決するもので、短語長命令
のみで命令セットを形成することにより、キュー待ちを
なくシ、システムのスループットを向上できる命令解読
装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and aims to provide an instruction decoding device that can eliminate queue waiting and improve system throughput by forming an instruction set using only short word length instructions. .

[課題を解決するための手段] 前記目的を達成するため、本発明は下記の構成からなる
。すなわち本発明の命令コード解読装置は複数の命令マ
ツプから任意に命令マツプを選択できる命令コードレジ
スタと、前記選択された命令マツプのデータをソフトウ
ェアから入力される短語長データとともに命令解読部に
入力する手段を備えたことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention has the following configuration. That is, the instruction code decoding device of the present invention includes an instruction code register that can arbitrarily select an instruction map from a plurality of instruction maps, and inputs data of the selected instruction map to an instruction decoding section together with short word length data input from software. It is characterized by having a means to do so.

前記本発明の構成においては、命令コードが命令コード
レジスター内データとソフトウェアにより形成され、該
命令コードにより、複数の命令マツプから任意に命令マ
ツプを選択するようにすることが好ましい。
In the configuration of the present invention, it is preferable that the instruction code is formed by data in the instruction code register and software, and that an instruction map is arbitrarily selected from a plurality of instruction maps using the instruction code.

また、前記本発明の構成においては、マルチレジスター
ファイルシステムに於いて、各レジスタファイル毎に命
令コードの一部を形成するデータレジスタを持ち、該命
令コードにより、複数の命令マツプから任意に命令マツ
プを選択できることにより、各レジスタファイルによっ
て命令マツプを切替えるようにすることが好ましい。
Further, in the configuration of the present invention, in the multi-register file system, each register file has a data register that forms a part of the instruction code, and the instruction code is used to arbitrarily select an instruction map from a plurality of instruction maps. It is preferable to switch the instruction map depending on each register file by being able to select the instruction map.

[作用] 前記した本発明の構成によれば、複数の命令マツプ(命
令セット)から任意に最適な命令マツプ(命令セット)
を選択でき、各命令マツプ(命令セット)で使用できる
命令数を制限できることから、各命令を短語長で形成で
き、キュー待ち頻度を少な(できる。したがって、シス
テムのスループットを向上させ、高速応答性を実現する
ことができる。
[Operation] According to the configuration of the present invention described above, an optimal instruction map (instruction set) is arbitrarily selected from a plurality of instruction maps (instruction sets).
Since the number of instructions that can be used in each instruction map (instruction set) can be limited, each instruction can be formed with a short word length, reducing the frequency of queue waiting. You can realize your sexuality.

また、本発明の好ましい態様によれば、命令コードが命
令レジスター内データとソフトウェアにより形成され、
該命令コードにより、複数の命令マツプから任意に命令
マツプを選択するようにしたので、命令を短語長で構成
でき、メモリアクセス待ちの状態を減らすことができる
Further, according to a preferred aspect of the present invention, the instruction code is formed by data in the instruction register and software,
Since the instruction code allows an arbitrary instruction map to be selected from a plurality of instruction maps, instructions can be configured with a short word length, and the number of memory access wait states can be reduced.

さらに、本発明の好ましい態様によれば、マルチレジス
ターファイルシステムに於いて、各レジスタファイル毎
に命令コードの一部を形成するデータレジスタを持ち、
該命令コードにより、複数の命令マツプから任意に命令
マツプを選択できることにより、各レジスタファイルに
よって命令マツプを切替えるようにしたので、マルチタ
スク実行時に、命令コードレジスタの書き替えを不要と
することができる。
Further, according to a preferred aspect of the invention, in a multi-register file system, each register file has a data register forming part of an instruction code;
By using the instruction code, it is possible to arbitrarily select an instruction map from a plurality of instruction maps, and since the instruction map is switched according to each register file, there is no need to rewrite the instruction code register when executing multitasking. .

[実施例コ 以下本発明の一実施例について、図面を用いてさらに具
体的に説明する。
[Example 1] An example of the present invention will be described in more detail below with reference to the drawings.

第1図は、本発明の一実施例の命令コード解読装置の構
成を示した図である。命令コードレジスタ1は命令マツ
プ5を選択するレジスタであり、該レジスタの値により
命令マツプ1からnまでのうち一つの命令マツプを選択
できる。該命令コードレジスタ1の値は、命令コードの
一部としてソフトウェアから入力されるデータ3ととも
に命令解読部4に入力される。ソフトウェアから入力さ
れるデータ3は短語長データであり、ソフトウェアから
入力されるデータ巾は制限があるが、短語長であるため
、キュー待ちの頻度は削減される。
FIG. 1 is a diagram showing the configuration of an instruction code decoding device according to an embodiment of the present invention. Instruction code register 1 is a register for selecting instruction map 5, and one of instruction maps 1 to n can be selected depending on the value of this register. The value of the instruction code register 1 is input to the instruction decoder 4 together with data 3 input from software as part of the instruction code. The data 3 inputted from the software is short word length data, and although the data width inputted from the software is limited, since it is short word length, the frequency of waiting in the queue is reduced.

ソフトウェアからの入力データ3のビット巾は短語長で
あるので、数多くの種類の命令にコードを割り当てるた
め、命令コードレジスタ1のデータを命令コードの一部
に充て、命令解読部4に入力されるときは長語長の命令
にする。しかしながら、1枚の命令マツプに短語長の命
令を割当てるには制限があるため、各命令マツプには様
々なアプリケーションに対応できる様にチェーンした命
令を備える。
Since the bit width of the input data 3 from the software is short word length, in order to assign codes to many types of instructions, the data in the instruction code register 1 is used as part of the instruction code, and the data is input to the instruction decoder 4. When doing so, use long word length commands. However, since there is a limit to allocating short length instructions to one instruction map, each instruction map is provided with chained instructions so as to be compatible with various applications.

第2図は、各命令マツプ(命令セット)を構成する命令
群を示した図である命令マツプ1(命令セット1)はオ
ペレーティングシステム用にチェーンされたものである
。データ転送命令は高級言語まで対応できる様なスタッ
クフレーム形成命令まで含むフルセットである。論理演
算、算術演算、シフトローライト命令はフルセットで持
っているが、データー内のビット操作命令や、条件分岐
を主とする分岐命令は、オペレーティングシステム運用
ではフルセットは必要ないと考えられるため、サブセッ
トとなっている。代わりに、システム制御命令などの特
権命令が使用できる。命令マツプ2(命令セット2)と
命令マツプ3(命令セット3)はユーザーアプリケーシ
ョン用にチェーンされた命令セットであり、単純な転送
命令しか備えていない半面、ビット操作が強力となって
いるが、算術演算では扱える演算中を制限したり、或い
は割愛したりするとともに特権命令は存在せず、各命令
マツプ(命令セット)の構成命令を短語長に押さえてい
る。使用したい命令がなければ命令コードレジスタ1の
書き替えにより、命令マツプを変更することができ、必
要な命令を実行することができる。メモリを一度に読み
出すビット中には制限があり、オペコードやオペランド
が長ければ使用するメモリデータ量は多くなり、メモリ
の読みしか追いつかなくなる場合がある。
FIG. 2 is a diagram showing a group of instructions constituting each instruction map (instruction set). Instruction map 1 (instruction set 1) is chained for the operating system. The data transfer instructions are a full set including stack frame formation instructions that can support up to high-level languages. A full set of logical operations, arithmetic operations, and shift low write instructions is provided, but a full set of bit manipulation instructions in data and branch instructions, mainly conditional branches, are not considered necessary for operating system operation. , a subset. Instead, privileged instructions such as system control instructions can be used. Instruction map 2 (instruction set 2) and instruction map 3 (instruction set 3) are chained instruction sets for user applications, and while they only have simple transfer instructions, they have powerful bit operations. In arithmetic operations, the operations that can be handled are limited or omitted, there are no privileged instructions, and the constituent instructions of each instruction map (instruction set) are kept short. If the desired instruction is not available, the instruction map can be changed by rewriting the instruction code register 1, and the necessary instruction can be executed. There is a limit to the number of bits that can be read from memory at one time, and the longer the opcode or operand is, the more memory data will be used, and there may be cases where only memory reading can keep up.

従って短語長で命令を構成することにより、メモリアク
セス待ちの状態を減らすことができる。
Therefore, by configuring instructions with short word lengths, the number of memory access wait states can be reduced.

第3図は、マルチレジスタファテルシステムに於いて、
各レジスタファイルが命令マツプを選択できる例である
。各レジスタファイル6には命令コードレジスタ1が準
備されており、該命令コードレジスタ1により命令マツ
プ5が選択される。
Figure 3 shows that in the multi-register fatel system,
This is an example in which each register file can select an instruction map. Each register file 6 is provided with an instruction code register 1, and an instruction map 5 is selected by the instruction code register 1.

命令コードレジスタ1はレジスタファイル6に対応して
いるのでレジスタファイル6を使用するアプリケーショ
ンソフト或いはオペレーティングシステムにより、命令
マツプ5が選択される。命令コードレジスタ1の値は命
令解読の際にソフトウェアからのデータと共に解読され
、命令マ・ツブが選択される。マルチレジスタ構成に本
発明を適用することにより、マルチタスク実行時に、命
令コードレジスタ1の書き替えが不要となる。
Since the instruction code register 1 corresponds to the register file 6, the instruction map 5 is selected by the application software or operating system that uses the register file 6. The value of the instruction code register 1 is decoded together with data from the software during instruction decoding, and the instruction code register 1 is selected. By applying the present invention to a multi-register configuration, there is no need to rewrite the instruction code register 1 during multi-task execution.

[発明の効果コ 以上説明した通り本発明によれば、複数の命令マツプ(
命令セット)から任意に最適な命令マツプ(命令セット
)を選択でき、各命令マツプ(命令セット)で使用でき
る命令数を制限できることから、各命令を短語長で形成
でき、キュー待ち頻度を少なくできる。したがって、シ
ステムのスループットを向上させ、高速応答性を実現す
ることができるという効果を達成することができる。
[Effects of the Invention] As explained above, according to the present invention, a plurality of instruction maps (
Since the optimal instruction map (instruction set) can be arbitrarily selected from the instruction set (instruction set) and the number of instructions that can be used in each instruction map (instruction set) can be limited, each instruction can be formed with a short word length, reducing the frequency of queue waiting. can. Therefore, it is possible to achieve the effects of improving system throughput and realizing high-speed response.

また、本発明の好ましい態様によれば、命令コードが命
令レジスター内データとソフトウェアにより形成され、
該命令コードにより、複数の命令マツプから任意に命令
マツプを選択するようにしたので、命令を短語長で構成
でき、メモリアクセス待ちの状態を減らすことができる
という効果を有する。
Further, according to a preferred aspect of the present invention, the instruction code is formed by data in the instruction register and software,
Since an instruction map is arbitrarily selected from a plurality of instruction maps using the instruction code, the instruction can be configured with a short word length, and the memory access waiting state can be reduced.

さらに、本発明の好ましい態様によれば、マルチレジス
ターファイルシステムに於いて、各レジスタファイル毎
に命令コードの一部を形成するデータレジスタを持ち、
該命令コードにより、複数の命令マツプから任意に命令
マツプを選択できることにより、各レジスタファイルに
よって命令マツプを切替えるようにしたので、マルチタ
スク実行時に、命令コードレジスタの書き替えを不要と
することができるという効果を有する。
Further, according to a preferred aspect of the invention, in a multi-register file system, each register file has a data register forming part of an instruction code;
By using the instruction code, it is possible to arbitrarily select an instruction map from a plurality of instruction maps, and since the instruction map is switched according to each register file, there is no need to rewrite the instruction code register when executing multitasking. It has this effect.

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

第1図は本発明の一実施例の命令コード解読装置の構成
を示した図、第2図は同各命令マツプ(命令セット)を
構成する命令群を示した図、第3図は同マルチレジスタ
ファイルシステムに於いて、各レジスタファイルが命令
マツプを選択できる例を示した図である。 1・−・命令コードレジスタ、2・・・命令コード中の
命令コードレジスタにより構成されるデータ、3・・・
命令コード中のソフトウェアにより構成されるデータ、
4・・・命令解読部、5・・・命令マツプ、6・・・レ
ジスタファイル。 2 ?
FIG. 1 is a diagram showing the configuration of an instruction code decoding device according to an embodiment of the present invention, FIG. 2 is a diagram showing a group of instructions constituting each instruction map (instruction set), and FIG. FIG. 3 is a diagram showing an example in which each register file can select an instruction map in a register file system. 1... Instruction code register, 2... Data constituted by the instruction code register in the instruction code, 3...
Data configured by software in instruction code,
4...Instruction decoding unit, 5...Instruction map, 6...Register file. 2?

Claims (3)

【特許請求の範囲】[Claims] (1)複数の命令マップから任意に命令マップを選択で
きる命令コードレジスタと、前記選択された命令マップ
のデータをソフトウェアから入力される短語長データと
ともに命令解読部に入力する手段を備えたことを特徴と
する命令コード解読装置。
(1) An instruction code register capable of arbitrarily selecting an instruction map from a plurality of instruction maps, and means for inputting the data of the selected instruction map to an instruction decoding section together with short word length data input from software. An instruction code decoding device featuring:
(2)命令コードが命令コードレジスター内データとソ
フトウェアにより形成され、該命令コードにより複数の
命令マップから任意に命令マップを選択する手段を備え
た請求項1記載の命令コード解読装置。
(2) The instruction code decoding device according to claim 1, wherein the instruction code is formed by data in an instruction code register and software, and further comprising means for arbitrarily selecting an instruction map from a plurality of instruction maps based on the instruction code.
(3)マルチレジスターファイルシステムを用い、各レ
ジスタファイル毎に命令コードの一部を形成するデータ
レジスタを持ち、該命令コードにより、複数の命令マッ
プから任意に命令マップを選択することにより、各レジ
スタファイルによって命令マップを切替える手段を備え
た請求項1記載の命令コード解読装置。
(3) Using a multi-register file system, each register file has a data register that forms part of the instruction code, and by arbitrarily selecting an instruction map from multiple instruction maps according to the instruction code, each register 2. The instruction code decoding device according to claim 1, further comprising means for switching instruction maps depending on the file.
JP527190A 1990-01-11 1990-01-11 Instruction code decoder Pending JPH03209522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP527190A JPH03209522A (en) 1990-01-11 1990-01-11 Instruction code decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP527190A JPH03209522A (en) 1990-01-11 1990-01-11 Instruction code decoder

Publications (1)

Publication Number Publication Date
JPH03209522A true JPH03209522A (en) 1991-09-12

Family

ID=11606570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP527190A Pending JPH03209522A (en) 1990-01-11 1990-01-11 Instruction code decoder

Country Status (1)

Country Link
JP (1) JPH03209522A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010522904A (en) * 2006-09-28 2010-07-08 3ディーラブス インク., エルティーディー. Processing architecture using a set of classified instructions
JP2011518447A (en) * 2007-12-13 2011-06-23 イセラ・インコーポレーテッド Wireless access technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5741741A (en) * 1980-08-26 1982-03-09 Nec Corp Central arithmetic processor
JPS61208133A (en) * 1985-03-12 1986-09-16 Hitachi Ltd State register controller in virtual computer system
JPS61264437A (en) * 1985-05-20 1986-11-22 Fujitsu Ltd Computer architecture control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5741741A (en) * 1980-08-26 1982-03-09 Nec Corp Central arithmetic processor
JPS61208133A (en) * 1985-03-12 1986-09-16 Hitachi Ltd State register controller in virtual computer system
JPS61264437A (en) * 1985-05-20 1986-11-22 Fujitsu Ltd Computer architecture control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010522904A (en) * 2006-09-28 2010-07-08 3ディーラブス インク., エルティーディー. Processing architecture using a set of classified instructions
JP2011518447A (en) * 2007-12-13 2011-06-23 イセラ・インコーポレーテッド Wireless access technology

Similar Documents

Publication Publication Date Title
JP3916680B2 (en) Processor
US4435758A (en) Method for conditional branch execution in SIMD vector processors
KR100972160B1 (en) Data access program command encoding
JP2006527435A (en) Instruction encoding in a data processing apparatus having multiple instruction sets
CA2284772A1 (en) Computer processor and method for data streaming
US6542989B2 (en) Single instruction having op code and stack control field
JPH03209522A (en) Instruction code decoder
JPH03171231A (en) Micro computer system
KR20010007093A (en) Hardware device for executing programmable instructions based upon micro-instructions
JPH0619711B2 (en) Data processing system with priority branch mechanism
JP4451010B2 (en) Programmable controller
US6564312B1 (en) Data processor comprising an arithmetic logic unit
JPH1091430A (en) Instruction decoding device
JPS5920049A (en) Arithmetic processor
JPS6346855B2 (en)
JPS6391739A (en) Decoder for variable length instruction
JP2853647B2 (en) Function addition method to interpreter with debugger
JP2985244B2 (en) Information processing device
JPS638938A (en) Microprogram control device
JPH052481A (en) Arithmetic control circuit
JPH03204029A (en) Information processor
JP2002140192A (en) Arithmetic processing unit
JPH02110631A (en) Microprogram control method
JPH1074190A (en) Parallel processor
JPH02272654A (en) Cache memory device