JPS58140850A - Pre-reading control system of instruction - Google Patents

Pre-reading control system of instruction

Info

Publication number
JPS58140850A
JPS58140850A JP2332982A JP2332982A JPS58140850A JP S58140850 A JPS58140850 A JP S58140850A JP 2332982 A JP2332982 A JP 2332982A JP 2332982 A JP2332982 A JP 2332982A JP S58140850 A JPS58140850 A JP S58140850A
Authority
JP
Japan
Prior art keywords
instruction
address
storage device
executed
buffer
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
JP2332982A
Other languages
Japanese (ja)
Inventor
Misao Miyata
宮田 操
Isamu Yamazaki
勇 山崎
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP2332982A priority Critical patent/JPS58140850A/en
Publication of JPS58140850A publication Critical patent/JPS58140850A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3802Instruction prefetching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To increase the processing speed while maintaining the interchangeability of softwares, by invalidating all contents of an instruction buffer in case the difference is equal to a prescribed value between the instruction address of the instruction buffer and the instruction address of a main storage device. CONSTITUTION:The instructions and data are stored in a main storage device 1, and the instruction following that under execution and its subsequent instructions to be executed are read out and stored in an instruction buffer 2. The address of the instruction to be executed next is stored in a location counter 3, and the address of the next instruction to be stored in the buffer 2 is held at an advanced location counter 4. The address obtained when the writing is carried out to the device 1 is stored in an address register 5 with execution of an instruction. The contents of the counter 3 are subtracted by an arithmetic circuit 6 from the contents of the register 5. The result of the circuit 6 is fed to an output checking circuit 7, and the contents of the buffer 2 are all invalidated if all bits excepting lower 3 bits are all ''0'', the contents of the counter 3 are transferred to the counter 4. Then the instruction is read again to the buffer 2 from the device 1.

Description

【発明の詳細な説明】 〔発明の技櫂分野〕 この尭嘴繻電子計算機などの情報処理*itcおける命
令先読み方式こ関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an instruction prefetching method in information processing*ITC such as this electronic computer.

〔発明の技#IIs背量〕[Inventive technique #IIs weight]

近年、情報lI&ll1iIlillの応用が広く進む
1二つれて、l&遍遮度Φ扁遮化がますます要求される
ようじなりCきた。こ3cこたえるべ〈従来より様々な
7式が損唱喜れて来ている。その一つこ電子計算機の中
央処理装置1ll(以11cPUと呼ぶ)の命令な先練
みする方式がある。この方式は過電の計算機では、頴次
次の番地の命◆Y夷何すると貴う性質t’sPIするも
ので、CPUが成る命令の貴行を行なっている関C二1
次L−夷行する命令もしくはそれ風神の命◆を前もって
主記憶装置より続出してCPU内部のAi魂な記憶部(
命令バッファ)鑑二貯えておこうとするものである。こ
の方式I:よるとCPUt二よる命令の続出しとその実
行とV並列的に行なえるので。
In recent years, as the application of information lI&ll1iIllill has progressed widely, the demand for l&uniform occlusion Φ has increased. This 3c answerbe is becoming more and more popular than ever before. One of them is a method in which the instructions of the central processing unit 111 (hereinafter referred to as 11cPU) of an electronic computer are prepared in advance. This method is used in an over-powered computer, where the command of the next address is important.
The command to carry out the next command, or the command of Fujin, is sent out one after another from the main memory in advance, and the Ai spirit memory inside the CPU (
(instruction buffer) According to this method I, it is possible to successively issue and execute instructions by CPUt2 in parallel.

旭通通度の同上に非常≦二大きく貢献し得る。It can greatly contribute to the same thing as Asahi Tsutsudo.

〔背′j[−技術の問題点〕[back′j[-problems with technology]

しかしながら上記命令先読み方式Yそのまま既存の情報
処j131Iffiに適用しようとすると以下のような
問題が発生する。すなわち、ある命令の実行によって主
記憶mm内の命令V書換えるような事繻が発生した時、
例えばストア命◆が実行s3だ時、もしその蓄込み番地
にある命令がたまたまCPU内の曾◆Δツファ区二既C
;取込まれていたならば、主記憶装置内の命令と命令バ
ッファ内の命令とが相異ってしまうと買う不具合が生じ
る。41図はこの様子【説明する為のもので、tはCP
U、J#は命令バッファ、J#は主記憶装置【それぞれ
示している。いまCPUm燻主紀憶主記1装のJ11番
目;ある命令V実行しており、命令バッファ2oには久
以鋒に実行する予定の命令、即ち主起tlIi装fiJ
190b a c e一番地に格納されている命令が既
に取込まれているとする。この状膳でa番地の鎗令のC
PUMJCよる実行≦;より主記憶頂11og二対する
畜込みが発生し、C番地の同各が変化したとTる。すな
わち主記憶藷ばJ#g)ζ番地の命令が書換見られたと
する。しかしながらこのとき、命令バッファ20内のC
#地のwtは上記書換えが起る以前C;取込まれたもの
なので、命令バッファ2oと主記憶装置3oの内容との
間C;食違いが生じる。これi二も殉らずCPUMは命
令バッファset”−sh納されたC番地の旧い命◆【
実行してしまうので、!ロダラ7が意図した動作は正し
く行なわれないことC二なってしまう。
However, if the above instruction prefetch method Y is applied as it is to the existing information processing j131Ifi, the following problem will occur. That is, when an event such as rewriting the instruction V in the main memory mm occurs due to the execution of a certain instruction,
For example, when the store instruction ◆ is execution s3, if the instruction at that storage address happens to be in the CPU
;If the instruction has been taken in, a problem will occur if the instruction in the main memory and the instruction in the instruction buffer become different. Figure 41 shows this situation [for illustrative purposes only, t is CP
U and J# are instruction buffers, and J# is a main storage device. The CPU is currently executing a certain instruction V, and the instruction that is scheduled to be executed in the instruction buffer 2o is stored in the instruction buffer 2o, that is, the instruction that is scheduled to be executed by the CPU.
Assume that the instruction stored at location 190b ace has already been taken in. In this situation, the letter C of address a is
Execution by PUMJC≦; Therefore, storage occurs at the top of the main memory 11og2, and the same address C changes. In other words, assume that the instruction at address J#g)ζ in the main memory has been rewritten. However, at this time, C in the instruction buffer 20
Since the wt in # is taken in before the above rewriting occurs, a discrepancy occurs between the contents of the instruction buffer 2o and the main storage device 3o. The CPU did not give up on this, and the old life of the C address stored in the instruction buffer "set"-sh◆[
Because I will execute it! The intended action of Rodala 7 will not be performed correctly.

このような亭Ilv避け、かつ命令先読み方式の採PF
iにより処理iA度の同上V得る手設として、次に示す
様ないくつかの方式が考えられている。
A PF that avoids such problems and uses an instruction prefetch method
As a manual method for obtaining the above-mentioned V of the processing iA degree by i, several methods as shown below have been considered.

まず藺紀の例のような暑番地の命令の実行によって他の
命令をllF換えてしまうことを一切系止する方式があ
る。ところが既存の#@処理装置の処理速度同上のため
に命令先読み方式を採用する場合、一般(二命令の書換
えをたくみC二値ってプログラムが組まれている可能性
があるので。
First, there is a method that completely prevents other instructions from being changed to IIF by executing an instruction at a hot address, as in the example of Aiki. However, if the instruction prefetch method is adopted to improve the processing speed of the existing #@ processing device, there is a possibility that a C binary program is created that rewrites two instructions.

上記命令の蓄換見t’、41止する方式はソフトウェア
互換性の面から好ましくない。
The above-mentioned method of stopping the storage of commands t' and 41 is not preferable from the viewpoint of software compatibility.

s2の方式は、i令の実行により主記憶装置10に対し
て簀込みが発生した場合、命令バッファ20に収込んで
ある命令が1換オ、られる可能性があることt考慮して
無条件で命令バッファ2#の自答全部を無効とし、収め
て命令続出しt最初から行なうものである。この方式に
よれば上述したソフトウェア互換性の問題は解決される
が、館令な蕾換えるようなことは通常のプログラムでは
あまりおこらない事を考えるとせっかく#4N−を先読
みしても主記憶W装置:10への齋込みの度C二無駄C
二なる事膳が多くなる。従って命令先読み方式を採用し
たこと6二よるハードフェアのコストアッグC二比べて
処珈壇度の14上はさほど得られず望ましい方式とは舊
見ない。
The method of s2 is unconditional, taking into account the possibility that the instructions stored in the instruction buffer 20 may be replaced when a buffer is generated in the main memory 10 due to the execution of the i instruction. In this case, all the answers in the instruction buffer 2# are invalidated, and the instructions are successively issued from the beginning. This method solves the above-mentioned software compatibility problem, but considering that such things as changing the buds rarely occur in normal programs, even if #4N- is read ahead, the main memory W Device: 10 times C double waste C
There will be more secondary meals. Therefore, compared to the hardware fair cost increase C2 due to the adoption of the instruction look-ahead method, the result is not much higher than that of 14 points, and I do not consider it to be a desirable method.

このほかの方式として、主紀億mwts−内の命令が書
換えられる1+ls二命令バツフ731)(7)内容t
’mべ、もし命令バッファ20内にその命令が存在した
ら命令Δソファ20内の命令全部ン焦効とする方式や、
主記憶@@10の薔込みと同時砿:対応する命令バッフ
ァ20内の館令も書換える方式などがある。しかしなが
らこれらのいずれの方式も前記’1712の方式C二お
ける欠点は解決しているものの必要とする八−ドクエア
の量はかなり多く、情報処理装置全体としてのコスト・
Δフオーマンス比が相尚愚くなる。
As another method, the instructions in the main memory mwts- are rewritten 1+ls two-instruction buffer 731) (7) Contents t
'mbe, if the instruction exists in the instruction buffer 20, all instructions in the instruction Δ sofa 20 are focused;
There is a method of simultaneously rewriting the main memory @@10 and rewriting the command in the corresponding instruction buffer 20. However, although each of these methods solves the disadvantages of method C2 of '1712, it requires a considerably large amount of 8-domains, which increases the cost and cost of the information processing device as a whole.
The delta performance ratio becomes even worse.

:発明の目的〕 本発明はこのような事情′に考慮してなされたもので、
その目的とするところは、ごくわずかの八−ドクエアの
追加で、既存のソフトウェアとの互換性な保ちながら情
報処理’Arttの処理適度向上を連成できる命令先読
み方式を提供すること1にある。
:Object of the invention] The present invention has been made in consideration of these circumstances.
The purpose is to provide an instruction prefetching method that can simultaneously improve the processing mode of information processing 'Artt while maintaining compatibility with existing software by adding only a small number of 8-domains.

〔発明の概要〕[Summary of the invention]

本発明は命令およびデータV格納した第1の記憶装置と
、実行中の命令の次およびそれ以降6;実行される予定
の命令を上記第1の記憶装置から続出して4@する第2
の記憶*1gと、実行中の命令の次区二実行する予定の
命令の番地な保持する第1の配憶Mmlと、前記第lの
記憶装置6二対して発生する命◆の書込み番地を保持す
る′s4の配惺麺藏と、命令の処理5二使用される演j
Ll鴎と、この演算−路の出力を判定する出力検査−路
とt’Jえた情報処理装置Cおいて、前記第lの記憶1
に命令の普込みを行うとき、s3および第4の記憶装置
C:それぞれ格納された番地のj!シ求め、この番地差
な示す特定部分のビットが金てOであるとき1;だけ、
前記82の配憶W2N置に格納された命令!全て無効≦
ニして、改めて拳1tDid憧藷1殻から次およびそれ
以降に実行する予定の命令を続出して、第2の記憶竣[
(二格納するようにした命◆先続み方式である。
The present invention includes a first storage device that stores instructions and data, and a second storage device that sequentially stores instructions to be executed next and after the instruction being executed from the first storage device.
A memory *1g of the instruction being executed, a first memory Mml that holds the address of the next instruction to be executed, and a write address of the instruction ◆ that occurs to the first storage device 62. The control of 's4 to hold and the operations used for processing instructions.
In the information processing device C having Ll and an output test path for determining the output of this calculation path, the lth memory 1
When disseminating instructions to s3 and fourth storage device C: j! of the respective stored addresses. If the bit in the specific part indicated by this address difference is gold, then only 1;
Instructions stored in the 82 storage locations W2N! All invalid≦
Then, once again, the commands that are scheduled to be executed from the first command to the next and after are completed, and the second memory is completed.
(Two lives are stored ◆ It is a first order method.

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

従って本発明によれば、既に鴫2の記憶装置に先読みさ
れた命令【不本意区二無効とすることなく、第1の配憶
m1alとの間で緒令の異なりが生じるときだけこれを
訂正することが可能となる。故6:ソフトウエアの互換
性l活かした上でW嵩な八−ドクエアC二より、効果的
な命令先読みV夾楓できる。そして、従来の問題を解消
して命令先読みによる処理適度の^適化を図り得る等の
効果を奏する。
Therefore, according to the present invention, the instruction that has already been prefetched into the storage device of the first storage device 2 is not invalidated, but is corrected only when there is a difference in the starting order between the instruction and the first storage device m1al. It becomes possible to do so. Reason 6: By taking advantage of software compatibility, it is possible to read instructions in advance more effectively than the bulky eight-domain C2. Further, the conventional problem can be solved and processing can be appropriately optimized by prefetching instructions.

〔発明の実施例〕[Embodiments of the invention]

次区二図向な#焦して本発明の一実施例〉説明する。第
2図は本発明の説明6二必要な最小部分な示す情報処理
装置のfaツク図である。同図C二おいて1はデータお
よび全て2バイトで構成される命◆【格納する主起W貨
直(第1の記憶Mid)でありバイト単位でアドレスが
付けられている。また2は構在夷行中の命令の次以降C
二順次実行される予定の命◆で、且つ上記主記憶1iK
1から先読み制御回路(図示せず)6二より続出された
命令な格納する*令バッファ($2の記憶MINりであ
る。この命令バッファ2は最大福命令(8バイト)1に
貯えることができるように構成されている。3は次C;
実行する命令の番地ン格納する嬉3の記憶装置としての
ロゲーVIIン・カウンタ、4は主記憶HW1zから読
出して命令バッファ2(二格納すべき次の命令の番地(
アドレス)!保持しているアドバンスト・11配 ロケーVIIlン・カウンタであ6%ケーVWン・カウ
ンタ1は前記命令バッファ2から新たに命令が取出され
て実行直二移る度−二、その保持したアドレスv2づつ
カウント・アップする。また間様−二sI記アトΔンス
ト・ロケーン望ン・カウンタ4を6主記憶装置1から命
令が読み出されて命令バッファ2に格納される度C、そ
の保持したアドレスを2づつカウント・アップされる。
An embodiment of the present invention will be described in detail below. FIG. 2 is a factory diagram of an information processing apparatus showing the minimum parts necessary for explaining the present invention. In C2 of the same figure, 1 is data and a command (first memory Mid) to be stored, which is composed entirely of 2 bytes and is addressed in byte units. 2 is C after the command in progress.
The instructions ◆ are scheduled to be executed sequentially, and the main memory 1iK is
1 to a look-ahead control circuit (not shown) 6 2. A *instruction buffer (minimum memory of $2) that stores instructions issued one after another from a look-ahead control circuit (not shown) 6. This instruction buffer 2 can store the maximum number of instructions (8 bytes) in 1. It is configured so that it can be done. 3 is next C;
The logger VII counter serves as a storage device for storing the address of the instruction to be executed.
address)! The advanced 11 allocation counter 1 holds the 6% address v2 every time a new instruction is taken out from the instruction buffer 2 and moves to the next execution stage. Count up. In addition, each time an instruction is read from the main memory 1 and stored in the instruction buffer 2, the held address is counted up by 2. be done.

メそツ・アドレス・レジスタ5は第4の記憶装置であり
、謔◆の実行≦二より前記主記憶装置1−二対しての続
出し/iil込みが行なわれる時の番地を格納するレジ
スタである。セして6は命令実行i;必要な演算を行な
う演算l&!1ill&、rは演算回路Cの出力のうち
下位3ビツト以外が全て0か否かに@べる出力検査回路
でその出力は先読み制御回路(図示せず)区二人力され
ている。パス8は演算mugへ演算データ!送ったり、
演x411vJl!所望のレノスタ菰;転送するの6二
使用されるものである。尚、CPU+二おける他のレジ
スタ、即ちロケーv望ン・カウンタ4.メモリ・アドレ
ス・レジスタ5以外は省略しである。
The mesotsu address register 5 is a fourth storage device, and is a register that stores the address when the continuation/input to the main storage devices 1-2 is performed since the execution of ◆≦2. be. Then 6 executes the instruction i; the operation l&! that performs the necessary operation. 1ill&, r is an output inspection circuit that checks whether all of the outputs of the arithmetic circuit C other than the lower three bits are 0, and its output is sent to a look-ahead control circuit (not shown). Pass 8 is calculation data to calculation mug! Send or
Performance x411vJl! Desired reno star; 62 used for transfer. Note that other registers in the CPU+2, namely the location counter 4. Components other than memory address register 5 are omitted.

さてs2図に示す慣1処理装置において、主記憶装置1
に対して膏込みが行なわれる時の動作は次の通りである
。即ち、主起tii誠直1への命令の書込みの動作と同
時C二、メモリ・アドレス・レジスタ5の内容(番地)
とコケーレ3ン・レジスタ2の内容(#堆)とが演算回
路61ニパス1経由で送られ、前者から硬#を減する演
算が実行される。その結果である上記各番地の差は出力
検査111jII7に送られ、もし下位3ビツト以外が
全てOならば命令バッファ2の内容は先読み制御回路に
よって全て無効とさnるようf二なっている、そしてこ
のときロクーνヨン・カウンタ1の内容がアドバンスト
・ロケ−νm/・カウンタ4&;移され、主記憶麺#Z
から命令/4ツフア2への命令読みが改めて最初から行
なわれる。向、演算tm1gの出力の下位3ビツト以外
が全て0でないならば、命令バッファ2の内容の無効化
は行なわれないようになっている。
Now, in the processor 1 shown in diagram s2, the main memory 1
The operation when plastering is performed on is as follows. In other words, the contents (address) of memory address register 5 are written simultaneously with the operation of writing the command to master register 1.
and the contents of the code 3 register 2 (#bank) are sent via the arithmetic circuit 61 nipath 1, and an operation to subtract the hard # from the former is executed. The resulting difference between the above addresses is sent to the output check 111jII7, and if all but the lower 3 bits are O, the contents of the instruction buffer 2 are completely invalidated by the look-ahead control circuit. At this time, the contents of the location counter 1 are transferred to the advanced location νm/counter 4 &;
The reading of the command from command/4 to 2 is performed again from the beginning. On the other hand, if all but the lower 3 bits of the output of operation tm1g are not 0, the contents of instruction buffer 2 are not invalidated.

次C二以上の勅作の意味を具体的1;説明する。Explain the meaning of the imperial works in C2 and above in detail.

いまa’t−v*ン・カウンタJの内容は畠であり、メ
モリ・アドレス・レジスタiの値はbであるとすると、
この時命令バッファ2c二は、a、 (a −)−ji
)、 (a +4”l、 (a +6)j地からそnぞ
れ)よじまる2Δイト員の命令が入っている可能性があ
る。一方すは主記憶藷ば1一対する書込み番地であるか
ら。
Now, suppose that the contents of a't-v*n counter J are Hatake, and the value of memory address register i is b.
At this time, the instruction buffer 2c2 is a, (a −) −ji
), (a + 4"l, (a + 6)j, respectively) may contain instructions for 2Δite members starting from location. On the other hand, each space is a write address that corresponds to main memory field 1. from.

暑≦&Iく暑+7    ・・・・・・・・・・・・・
・・・・・(1)なる関係が一足されるとき、w、に命
令Δツファ嵯− 2C:取込れている可Ili性がある番地響;対して主
配憶装置1Jへの命令1込みが行なわれることC二なる
。上記関係(υは O≦b −a (7・・・・・・・・・・・・・・・・
・・・・・L2)で示され、番地差の大小関係として示
すことができる。このことは番地MCb−a)の下位3
ビツト以外が全て0であるか否かt/調べることと等価
であるから、第2図鑑二示した慣報処理貨趙は命令Δソ
フアコC二既に取込まれている可能性がある命令の番地
に命令のd込みが行なわれた時区:だけ、命令バッファ
2の内容を無効にしていること【;なる。
Hot ≦ & I very hot +7 ・・・・・・・・・・・・・・・
...When the relationship (1) is added, the command ΔTsufā- 2C: An address that has a possibility of being captured; and the command 1 to the main storage device 1J. C2. The above relationship (υ is O≦b −a (7・・・・・・・・・・・・・・・・
...L2), and can be shown as a magnitude relationship of address differences. This means that the lower 3 of address MCb-a)
Since this is equivalent to checking whether all bits other than the bits are 0, the customary processing code shown in the second picture book is the address of an instruction that may have already been taken. The contents of the instruction buffer 2 are invalidated only when the instruction is loaded.

以上説明したよう6二本発明方式によれば、CPUが備
えている演算回路6を使用して、命4、eソファ2に格
納された命令の瘉地と、命令書込みが行われる主記憶装
置1の番地との差!求め、この番地差から書込み番地の
内容が職(;命令バッファ2≦二取込まれているか否か
V判断するので、命令先読み方式を採用するC;あたっ
て既存のソフトウェアとの互換性【効率よく維持するた
めC二必要な八−ドクエア量はほとんどない、また出力
検査l路1は上位ビットが全てOか否かv!llべるだ
けなので量率なダート回路で構成できるものである。尚
、本発明方式C二よると、命令バッファ2に入っている
可能性はあるが実*t”−はまだ取込まれていなかった
命令の番地に書込みが行なわれた時も命令バッファ2の
内容を無効i;シてしまうことになるが2通常のソフト
ウェアE:よれば命令の書換え自体があまり生じないこ
とな考えると、これC二よる効率の低下は問題≦二なら
ないと着像し得る。
As explained above, according to the method of the present invention, the arithmetic circuit 6 included in the CPU is used to store instructions stored in the CPU 2 and the main memory where the instructions are written. Difference from number 1! From this address difference, it is determined whether the contents of the write address have been taken into the instruction buffer (2≦2), so the instruction prefetch method is adopted. In order to maintain C2 well, the amount of 8-domains required is almost negligible, and since the output test path 1 only checks whether all upper bits are O, it can be constructed with a dirt circuit with a high rate of operation. According to method C2 of the present invention, even when writing is performed to the address of an instruction that may be in the instruction buffer 2 but the actual *t''- has not yet been captured, the instruction buffer 2 is This would invalidate the contents, but considering that according to normal software E:, instruction rewriting itself does not occur much, the decrease in efficiency due to C2 can be seen as a problem ≦ 2. .

このよう−二本発明は最適なコスト・/4フオーマンス
で既存のソフトウェアの互換性ン保ちながら効果的に命
令先読みを行い、処理速度の同上な連成できる実用性の
高い命令先読み方式を夷構する。
In this way, the present invention provides a highly practical instruction prefetching method that effectively performs instruction prefetching while maintaining compatibility with existing software at an optimal cost/4 performance, and can be linked to the same processing speed. do.

なお上述実施例では命令バッファの大きさ【8バイトと
したが、これC二かぎる必要はないのはもちろんである
。但し命令/ぐツファの大きさ〜 一二応じて出力検査回路1で全てOか調べるビット長が
変るのは容、!1(二理解されよう、要するC二本発明
はその要旨vAaLない範囲で種々変形して実施するこ
とができる。
In the above-described embodiment, the size of the instruction buffer is set to 8 bytes, but it is of course not necessary to limit the size to C2. However, the bit length to check whether all O's are checked by the output inspection circuit 1 changes depending on the size of the instruction/gutufa. 1 (2) As will be understood, the present invention can be implemented in various modifications without departing from its gist.

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

第1図は命令先読み方式ン採用した時の問題点V説明す
る図、′s2図は本発明の一実施例Y示すブロック図で
ある。 j(J・・・cpu、so・・・命令バッファ、Jo川
用記憶am、1・・・主記憶装置、2・・・命令バッフ
ァ、1”−CI ケーνヨン・カウンタ、4・・・アド
バンスト・ロゲーシ3ン・カウンタ、5・・・メモリ・
アドレス・レジスタ、6・・・演算回路、7・・・出力
検査回路、8・・・パス。
FIG. 1 is a diagram illustrating problems V when the instruction prefetching method is adopted, and FIG. 2 is a block diagram showing an embodiment Y of the present invention. j (J...cpu, so...instruction buffer, Jo river memory am, 1...main memory, 2...instruction buffer, 1''-CI key counter, 4... Advanced Logistics 3. Counter, 5. Memory.
Address register, 6... Arithmetic circuit, 7... Output inspection circuit, 8... Pass.

Claims (1)

【特許請求の範囲】[Claims] 命令およびデータV格納する′slの記憶iI置と、実
行中の命◆の次およびそれ以flit、−実行する予電
の命◆Vt*記illの記憶装置より続出して格納する
第意の記憶装置と、前記実行中の命令の次に貴行する予
電の命令の番地&保持する第3@記憶装置と、前記実行
中の命◆こよって生じる1起s1の配憶MiMへの命令
の書込み番地Vt%持する1II4の記憶装置と、命◆
の処[に共通こ使用sf′Lる演算liI回路と、この
演算tat路の出力の特定−分のビットが会てOである
か膏かを4[する出力検査−路とt有し、鍵超第2の配
憶1i[置かbl[次命令を続出して負性する情報J6
11gI&置C−おいて、*上第1の記憶装置に命◆の
書込み會行な5とき、llIrlIr−踏にて前記il
lおよび第4@配憶壊置にそ3でれ保持審れた番地の葺
を求め、繭紀出力検査■路にて上記番地羞の特1!−分
のビットが全てOであると判定Sれた時区;だけ前記第
2の記憶装置に格納されている命令を全て無効とし、改
めて1IIll&!第1の記憶装置か6次およびそれ以
降に貴行する予電の命◆を続出して前記第2の記憶装置
に格納してなるとと會特徴とする命令先読み制御方式。
The memory location of 'sl to store instructions and data V, and the next and subsequent flit of the executing instruction ◆ - the pre-charged instruction to be executed ◆ Vt A storage device, the address of the pre-powering instruction to be executed next to the instruction being executed & a 3rd @storage device, and the instruction being executed ◆The resulting instruction to the storage MiM of s1 1II4 storage device with write address Vt% and life◆
Here, there is an arithmetic circuit commonly used in sf'L, and an output test path and t to determine whether the specified bit of the output of this arithmetic path meets O or not; Key super second storage 1i [place bl [information J6 that continues to be negative by successively issuing the next instruction
11gI&C-, when writing command ◆ to the first storage device, the above ilIrlIr-step is executed.
1 and the 4th@arrangement/disposal to find the address of the address that was retained and examined, and the special 1 of the above address in the 4th @disposal inspection ■ road! All the instructions stored in the second storage device are invalidated only when it is determined that all the bits for - are O, and 1IIll&! The instruction prefetch control system is characterized in that the first storage device sequentially outputs the pre-power commands ◆ to be executed in the sixth order and thereafter and stores them in the second storage device.
JP2332982A 1982-02-16 1982-02-16 Pre-reading control system of instruction Pending JPS58140850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2332982A JPS58140850A (en) 1982-02-16 1982-02-16 Pre-reading control system of instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2332982A JPS58140850A (en) 1982-02-16 1982-02-16 Pre-reading control system of instruction

Publications (1)

Publication Number Publication Date
JPS58140850A true JPS58140850A (en) 1983-08-20

Family

ID=12107536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2332982A Pending JPS58140850A (en) 1982-02-16 1982-02-16 Pre-reading control system of instruction

Country Status (1)

Country Link
JP (1) JPS58140850A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311438A (en) * 1987-06-12 1988-12-20 Fujitsu Ltd Control circuit for discrepancy of store instruction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311438A (en) * 1987-06-12 1988-12-20 Fujitsu Ltd Control circuit for discrepancy of store instruction

Similar Documents

Publication Publication Date Title
EP1050803B1 (en) Guarded computer instruction execution
US20030200394A1 (en) Cache memory arrangement and methods for use in a cache memory system
JPS6324428A (en) Cache memory
JPH05150981A (en) Data processor
US5293602A (en) Multiprocessor computer system with dedicated synchronizing cache
CN100480996C (en) Method and device for managing external memory updates for fault detection in redundant multithreading systems using speculative memory support
DE69618831T2 (en) ECC-protected memory organization with read-change-write pipeline access
JPS58140850A (en) Pre-reading control system of instruction
US20100017183A1 (en) Multiprocessor Development Environment
JPS5991551A (en) Instruction prefetching device forecasting address to be branched
JP2868133B2 (en) Access mask control method
JPS58154043A (en) Information processor
CN115827063B (en) Write storage system and method based on Fill Constant instruction
US6219757B1 (en) Cache flush operation for a stack-based microprocessor
JP3006204B2 (en) Information processing device
JPS615348A (en) Information processor
JPH0217550A (en) Trouble processing system for multiprocessor system
JP2864496B2 (en) Multi-processing computer
JPS6125168B2 (en)
JP2815850B2 (en) Data processing unit
JPS6135583B2 (en)
JPS62115553A (en) Invalidating system for buffer storage
JPS58154044A (en) Information processor
JPH04181343A (en) Cache memory system
JPH01222376A (en) Buffer storage device