JPH03282928A - Address control type information processor - Google Patents
Address control type information processorInfo
- Publication number
- JPH03282928A JPH03282928A JP8562790A JP8562790A JPH03282928A JP H03282928 A JPH03282928 A JP H03282928A JP 8562790 A JP8562790 A JP 8562790A JP 8562790 A JP8562790 A JP 8562790A JP H03282928 A JPH03282928 A JP H03282928A
- Authority
- JP
- Japan
- Prior art keywords
- address
- processing
- register
- data
- stored
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 60
- 238000003780 insertion Methods 0.000 claims abstract description 4
- 230000037431 insertion Effects 0.000 claims abstract description 4
- 230000010365 information processing Effects 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、情報処理装置に関し、特に大量の処理対象に
対し、何等かの処理を行ってこれを格納するにあたり、
処理結果を格納すべきアドレスを計算する手間とバスの
設計及び動作時の負担を著しく軽減する新規なアドレス
計算機構を備えた情報処理装置に係わる。DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an information processing device, and particularly when processing a large amount of processing objects and storing them.
The present invention relates to an information processing device equipped with a novel address calculation mechanism that significantly reduces the effort required to calculate addresses for storing processing results and the burden of bus design and operation.
(従来の技術及び発明が解決しようとする課題)従来の
情報処理装置は、第3図にブロック図が示され、第4図
にその動作が示されたコンピュータのように、命令アド
レスレジスタ(プログラムカウンタ)310、データア
ドレスレジスタ304を有している。この情報処理装置
では、まず命令をフェッチし、続いてオペランドをフェ
ッチあるいは処理結果を格納するに際し、命令が格納さ
れているアドレスやオペランドが格納されているアドレ
スそして処理結果を格納するアドレスは、いずれも、ソ
フトウェア(プログラム)による指示に従って、そのつ
ど計算を行っていた。すなわち、命令のフェッチに際し
ては、まずステップ433で命令が格納されているアド
レスを計算して命令アドレスレジスタ310にこれをセ
ットしてから命令フェッチを行い、この命令がオペラン
ドフェッチの命令であれば、ステップ437でそのアド
レスを計算してデータアドレスレジスタ304にこれを
セットしてデータ(オペランド)をデータレジスタ30
8にフェッチし、計算結果格納の命令であれば、格納す
べきアドレスを、ステップ439で計算してデータアド
レスレジスタ、304にこれをセットし、データレジス
タ308に格納されている最新の内容をデータバス30
3を介して主記憶装置301に格納するという動作を行
っていた。(Prior Art and Problems to be Solved by the Invention) A conventional information processing device, like a computer whose block diagram is shown in FIG. 3 and whose operation is shown in FIG. counter) 310 and a data address register 304. In this information processing device, when an instruction is first fetched, and then an operand is fetched or a processing result is stored, the address where the instruction is stored, the address where the operand is stored, and the address where the processing result is stored are all In addition, calculations were performed each time according to instructions provided by software (programs). That is, when fetching an instruction, first calculate the address where the instruction is stored in step 433, set it in the instruction address register 310, and then perform the instruction fetch.If this instruction is an operand fetch instruction, In step 437, calculate the address, set it in the data address register 304, and transfer the data (operand) to the data register 304.
8 and stores the calculation result, the address to be stored is calculated in step 439 and set in the data address register 304, and the latest contents stored in the data register 308 are stored as data. bus 30
3 to the main storage device 301.
従来技術において、上述の動作の類似し、よりアドレス
の計算が単純な場合でも、計算手段は機械語命令のひと
つとして提供されているにすぎなかった。すなわち2オ
ペランド命令で、その一方のオペランドが格納されてい
たアドレスに、処理。In the prior art, even in cases where the operation is similar to that described above and the address calculation is simpler, the calculation means is only provided as one of the machine language instructions. In other words, in a two-operand instruction, processing is performed at the address where one of the operands was stored.
たとえば2つのオペランドの加真の結果を重ねて格納す
るという機械語命令の場合、あらためて処理結果を格納
するアドレスを計算する手間はないが、この命令自体の
読みだしは前記のような命令フェッチによって行われ、
しかも、この命令実行のあとは通常側の命令を実行する
から、全体としては、アドレス計算の手間が特に軽減さ
れているとはいえなかった。For example, in the case of a machine language instruction that stores the summation results of two operands in an overlapping manner, there is no need to calculate the address where the processing results are stored, but the instruction itself can be read by fetching the instruction as described above. carried out,
Moreover, since the normal instruction is executed after this instruction is executed, it cannot be said that the effort of address calculation is particularly reduced overall.
上述したように、従来の情報処理装置においては、中央
処理装置の貴重なCPU時間の多くが、アドレスの計算
、第4図では433,437゜439のステップに費や
され、しかも、中央処理装置から外部に出ているアドレ
スバスの内容が、命令が格納されているアドレス、オペ
ランドが格納されているアドレス、処理結果を格納する
アドレスと大きく変化するから、この変化を実現するた
めのハードウェア量が増加し、消費電力も多くなるとい
う問題があった。As mentioned above, in conventional information processing devices, much of the valuable CPU time of the central processing unit is spent calculating addresses, steps 433,437°439 in FIG. The contents of the address bus that is externally output from the . There was a problem that the amount of power consumed increased.
従って、たとえば通信ネットワーク内などにおいて、大
量のデータを対象に処理を行って大量の結果を得、それ
をできれば各処理時間程度かそれ未満のきわめて短い時
間で、逐次処理とほぼ並行して格納したいという要求が
ある場合、従来技術はまったく不十分といわざるを得な
かった。Therefore, for example, in a communication network, we want to process a large amount of data, obtain a large amount of results, and store it almost in parallel with sequential processing, preferably in an extremely short time of about the time required for each processing time or less. If there is such a requirement, the conventional technology has no choice but to be completely inadequate.
処理対象と処理結果それぞれを格納するアドレスを異な
るバスを用いて出力できる、あるいは極端な場合、これ
らが異なる記憶装置に格納されている場合ならば、ハー
ドウェアの増加を考慮しないという前提で、単に、アド
レス計算機構を、読みだしと格納で別にもてば、並列化
は可能である。If the addresses for storing the processing target and the processing result can be output using different buses, or in extreme cases, they are stored in different storage devices, then simply Parallelization is possible by having separate address calculation mechanisms for reading and storing.
しかし、特にLSIによる実現を考えた場合、バスのビ
ット幅を倍以上に広げることは現実的ではないし、同一
のバスを用い、同一の記憶装置に結果を格納したいとい
う制約はしばしば生しる。However, especially when considering implementation using LSI, it is not realistic to more than double the bit width of the bus, and there are often constraints such as wanting to use the same bus and store the results in the same storage device.
本発明の目的は、前述したようなアドレス計算の負担を
可能なかぎり軽減し、大量のデータに対する大量の処理
結果を、逐次処理をすすめるのとほぼ同時に、並行して
格納し、しかも、アドレスバスも主記憶装置も単一のま
まにとどめおくことを可能ならしめるアドレス計算機構
を備えた情報処理装置を提供することにある。It is an object of the present invention to reduce the burden of address calculation as much as possible, to store a large amount of processing results for a large amount of data in parallel almost at the same time as sequential processing, and to An object of the present invention is to provide an information processing device equipped with an address calculation mechanism that allows both a single main memory and a single main memory.
(課題を解決するための手段)
上記の課題を解決する。ために、本発明は下記のように
構成される。(Means for solving the problem) Solve the above problem. Therefore, the present invention is configured as follows.
すなわち、本発明は、処理対象および処理結果を格納す
る主記憶装置と前記処理対象について所要の処理を行う
中央処理装置とから構成され、各処理対象が格納されて
いるアドレスを、全く修正しない場合を含めて、
(1)単純なシフト、
(2)上位、中位若しくは下位ビットの挿入または修正
、
(3)全ビットまたはその一部の反転、(4ン 前記(
1)、(2)、(3)の組合せという単純な制約を施し
て得られる結果をもって、処理結果を格納するアドレス
とすることを特徴とすることで構成される。That is, the present invention is composed of a main storage device that stores processing targets and processing results, and a central processing unit that performs necessary processing on the processing targets, and when the address where each processing target is stored is not modified at all. (1) simple shifts; (2) insertion or modification of upper, middle, or lower bits; (3) inversion of all or part of bits;
The present invention is characterized in that the result obtained by applying simple constraints such as combinations of 1), (2), and (3) is used as an address for storing the processing result.
(実施例)
第1図は本発明の一実施例の構成を示すブロック図、第
2図はその動作を示すフローチャートである。(Embodiment) FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing its operation.
この実施例では、処理の内容は予め適当な手段で中央処
理装置内の命令レジスタ106に伝達されている、ある
いは処理対象自身が、その特定のフィールドの内容など
によって処理内容を定めていることを前提としている。In this embodiment, the content of the process is transmitted in advance to the instruction register 106 in the central processing unit by an appropriate means, or the process target itself determines the process content based on the content of a specific field. It is a premise.
処理を行いながら結果を格納してゆくという動作は以下
のように行われる。まず第2図のステップ231におい
て処理対象が格納されているアドレスを計算してアドレ
スレジスタ104にこれをセットして処理対象をデータ
レジスタ108にフェッチする。これに対しては、同図
の演算回路107によって処理が施された後、ステップ
233に示され、命令レジスタ106からの信号線10
9からの指示に従い、演算回路105によって実現され
るアドレスの制御、すなわち、本発明の(1)単純なシ
フトあるいは(2)上位、中位若しくは下位ビットの挿
入または修正、(3)全ビットまたはその一部の反転、
(4)前記(1)、(2)、(3)の組合せという単純
な制御を行ってアドレスバス102上のアドレスをつく
り、データバス103を介して、データレジスタ108
に格納されている処理結果を主記憶装置101に格納す
ることになる。The operation of storing results while processing is performed as follows. First, in step 231 of FIG. 2, the address where the processing target is stored is calculated, this is set in the address register 104, and the processing target is fetched into the data register 108. After processing is performed by the arithmetic circuit 107 in the figure, this is shown in step 233, and the signal line 10 from the instruction register 106 is processed.
9, address control realized by the arithmetic circuit 105, i.e., (1) simple shift or (2) insertion or modification of upper, middle or lower bits, (3) all bits or Inversion of part of it,
(4) Create an address on the address bus 102 by performing simple control by combining the above (1), (2), and (3), and send it to the data register 108 via the data bus 103.
The processing results stored in are stored in the main storage device 101.
上記アドレスの制御として具体的に、たとえば、再下位
のビット反転を行うと処理対象、処理結果が偶数番地、
奇数番地に格納されることになり、再上位ビットの反転
を行うと、処理対象、処理結果は主記憶の空間の前半、
後半に格納されることになる。これらの場合は、制御は
きわめて単純なため、命令レジスタ106からの信号線
109は特に用いずに済ませることができる。Specifically, to control the above address, for example, if the lower bits are inverted again, the processing target and processing result will be an even address,
It will be stored at an odd address, and if the upper bits are inverted again, the processing target and processing result will be stored in the first half of the main memory space,
It will be stored in the second half. In these cases, since the control is extremely simple, the signal line 109 from the instruction register 106 can be omitted.
処理対象と処理結果のサイズの相違は、この制御の内容
で調整することができる。この場合には、第2図の処理
対象のフェッチや処理結果の格納が、適宜数ステップに
わたって繰り返されるのが自然だが、バスバンド幅が十
分ならば、フェッチ、格納をいずれも一回で済ませるこ
ともできる。The difference in size between the processing target and the processing result can be adjusted by the content of this control. In this case, it is natural that the fetching of the processing target and the storage of the processing results shown in Figure 2 are repeated over several steps as appropriate, but if the bus bandwidth is sufficient, both the fetching and storing can be done only once. You can also do it.
本発明は、極端な場合として、処理対象が失われてよく
、処理結果のサイズが処理対象のそれ以下であるならば
、格納されていたアドレスにそのまま処理結果を格納す
ることで、いかなる制御も行わないという場合を含む。In an extreme case, if the processing target is lost and the size of the processing result is smaller than the processing target, the present invention stores the processing result as it is at the address where it was stored, without any control. This includes cases where it is not carried out.
本発明をLSIで実現する場合は、第1図の破線120
が自然な境界になる。レジスタ104から出力されてい
るアドレスはひとつの処理対象の読み込みが行われ処理
結果の格納が行われるまでの間固定されたままで良いか
ら、信号値変化による消費電力の増加をおさえることが
できることはもちろん、アドレス制御用の信号線109
は多くの場合ビット幅がきわめて少なくて済むために、
チップから外に出る、アドレス関連のバスの幅も小さく
抑えることができる。When the present invention is implemented using an LSI, the dashed line 120 in FIG.
becomes a natural boundary. Since the address output from the register 104 can remain fixed until one processing target is read and the processing result is stored, it is possible to suppress an increase in power consumption due to changes in signal values. , address control signal line 109
often requires a very small bit width, so
The width of the address-related bus that exits the chip can also be kept small.
本発明の変形として、アドレスの制御を2度行い、上記
実施例のように命令を予め与えておくのではなく、命令
のフェッチと、処理対象のフェッチ、処理結果の格納と
いう3段階に分けた動作を行い、同様な効果を期待する
ことが可能なことは容易に類推できる。As a modification of the present invention, the address is controlled twice, and instead of giving instructions in advance as in the above embodiment, it is divided into three stages: fetching the instruction, fetching the processing target, and storing the processing result. It can be easily inferred that it is possible to perform these actions and expect similar effects.
(発明の効果)
以上に説明したように本発明には、
アドレス計算のための、ハードウェア量と時間的な負担
が軽減され、大量のデータに対する大量の処理結果を、
逐次処理をすすめるのとほぼ同時に、並行して格納し、
しかも、アドレスバスも主記憶装置も単一のままにとど
めおくことを可能ならしめるアドレス計算機構を備えた
情報処理装置を提供可能ならしめるという効果がある。(Effects of the Invention) As explained above, the present invention reduces the amount of hardware and time burden for address calculation, and allows processing results for a large amount of data to be processed easily.
Almost at the same time as sequential processing, store in parallel,
Moreover, it is possible to provide an information processing apparatus equipped with an address calculation mechanism that allows both the address bus and the main memory to remain single.
第1図は本発明の一実施例を示すブロック図、第2図は
その動作を示すフローチャート、第3図は従来技術を示
すブロック図、第4図はその動作を示すフローチャート
である。
100・・・処理内容伝達手段、101,301・・・
主記憶装置、102,302・・・アドレスバス、10
3.303・・・データバス、104・・・アドレスレ
ジスタ、105・・・アドレス制御回路、106゜30
6・・・ 命令レジスタ、107,307・・・演算回
路、108,308・・・データレジスタ、109・・
・アドレス制御用信号線、120,320・・・主記憶
装置と中央処理装置の境界、304・・・データアドレ
スレジスタ、310・・・命令アドレスレジスタ、31
1・・・命令アドレス計算回路、312・・・データア
ドレス計算回路。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing its operation, FIG. 3 is a block diagram showing the prior art, and FIG. 4 is a flowchart showing its operation. 100... Processing content transmission means, 101, 301...
Main storage device, 102, 302 . . . address bus, 10
3.303...Data bus, 104...Address register, 105...Address control circuit, 106°30
6... Instruction register, 107, 307... Arithmetic circuit, 108, 308... Data register, 109...
- Address control signal line, 120, 320... Boundary between main memory and central processing unit, 304... Data address register, 310... Instruction address register, 31
1... Instruction address calculation circuit, 312... Data address calculation circuit.
Claims (1)
理対象について所要の処理を行う中央処理装置とから構
成され、各処理対象が格納されているアドレスを、全く
修正しない場合を含めて、(1)単純なシフト、 (2)上位、中位若しくは下位ビットの挿入または修正
、 (3)全ビットまたはその一部の反転、または(4)前
記(1)、(2)、(3)の組合せという単純な制御を
施して得られる結果をもって処理結果を格納するアドレ
スとすることを特徴とするアドレス制御型情報処理装置
。[Scope of Claims] A case in which a main storage device that stores processing targets and processing results and a central processing unit that performs necessary processing on the processing targets and does not modify the addresses where each processing target is stored at all. (1) simple shifts; (2) insertion or modification of upper, middle, or lower bits; (3) inversion of all or part of bits; or (4) (1) and (2) above. An address control type information processing device characterized in that the result obtained by performing simple control such as a combination of (3) and (3) is used as an address for storing a processing result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8562790A JPH03282928A (en) | 1990-03-30 | 1990-03-30 | Address control type information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8562790A JPH03282928A (en) | 1990-03-30 | 1990-03-30 | Address control type information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03282928A true JPH03282928A (en) | 1991-12-13 |
Family
ID=13864074
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8562790A Pending JPH03282928A (en) | 1990-03-30 | 1990-03-30 | Address control type information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03282928A (en) |
-
1990
- 1990-03-30 JP JP8562790A patent/JPH03282928A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59174948A (en) | Information processing device | |
| JP3237858B2 (en) | Arithmetic unit | |
| KR100765567B1 (en) | Data processor, multimedia device and computer readable recording medium having arithmetic logic unit and stack | |
| JP2617974B2 (en) | Data processing device | |
| JPH03282928A (en) | Address control type information processor | |
| JPS59201144A (en) | Decimal arithmetic circuit | |
| JP2842930B2 (en) | Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment | |
| JPH036735A (en) | Data processor | |
| JPH0228828A (en) | Maximum value and minimum value detecting circuit | |
| JP2542120B2 (en) | Information processing device | |
| JP3271713B2 (en) | Micro instruction controller | |
| JPH037971B2 (en) | ||
| JPS6028014B2 (en) | microprocessor | |
| JPH01147723A (en) | Pipe line processing system for information processor | |
| JPH0820947B2 (en) | Data processing device | |
| JPH01162941A (en) | Data saving system | |
| JPH031234A (en) | Information processor | |
| JPH05204638A (en) | Pipeline processor | |
| JPS62194543A (en) | Microprogram controller | |
| JPH05108852A (en) | Data driving type data processor | |
| JPH0792902A (en) | Programmable controller | |
| JPH04128344U (en) | signal processing device | |
| JPH0823849B2 (en) | Memory read register controller | |
| JP2004303058A (en) | Vector processor and data processing method thereof | |
| JPH08235135A (en) | Parallel computer with communication register |