JPS62202234A - Advance control system - Google Patents

Advance control system

Info

Publication number
JPS62202234A
JPS62202234A JP61028205A JP2820586A JPS62202234A JP S62202234 A JPS62202234 A JP S62202234A JP 61028205 A JP61028205 A JP 61028205A JP 2820586 A JP2820586 A JP 2820586A JP S62202234 A JPS62202234 A JP S62202234A
Authority
JP
Japan
Prior art keywords
instruction
function
preemption
prefetch
processing device
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
JP61028205A
Other languages
Japanese (ja)
Inventor
Toru Tejima
手島 通
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61028205A priority Critical patent/JPS62202234A/en
Publication of JPS62202234A publication Critical patent/JPS62202234A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To identify whether the instruction prefetch function is stopped or not in the processor side by providing a display means, which outputs a display signal indicating whether the instruction prefetch function is executed or not, in a storage device provided with an instruction prefetch means. CONSTITUTION:A storage device 1 provided with an instruction prefetch means 100 is provided with a display means 200; and when the means 100 executes the instruction prefetch function, a prefetch display signal (p) is outputted from the means 200, and a corresponding message is displayed on a processor 2. Consequently, it is identified whether the instruction prefetch function is stopped or not in the processor 2 side. Since the accuracy of the prefetch display signal is confirmed in the processor side as the result, the prefetch function can be stopped by a prefetch inhibiting signal ih; and a fetch request signal if is outputted from the processor in the prefetch function stop state to release the stop of the instruction prefetch function, thus preventing an information processing system from being left degraded in throughput.

Description

【発明の詳細な説明】 〔概要〕 命令先取機能を有する情報処理システムにおいて、命令
先取機能の実行状態を表示する手段を設け、命令先取機
能を確実に認識可能とする。また必要により命令先取機
能を停止可能とし、命令フェッチ要求信号により停止解
除することにより、機能停止状態で放置されることを防
止する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In an information processing system having an instruction preemption function, a means for displaying the execution state of the instruction preemption function is provided so that the instruction preemption function can be reliably recognized. Further, by making it possible to stop the instruction preemption function if necessary and canceling the stoppage in response to an instruction fetch request signal, it is possible to prevent the function from being left in a stopped state.

〔産業上の利用分野〕[Industrial application field]

本発明は命令先取機能を有する記憶装置における先行制
御方式の改良に関する。
The present invention relates to an improvement in a preemptive control method in a storage device having an instruction prefetch function.

情報処理システムの処理能力向上の一手段として、命令
先取機能が広く採用されている。
An instruction preemption function has been widely adopted as a means of improving the processing capacity of information processing systems.

命令先取機能は、記憶装置内に格納されているプログラ
ムを構成する各命令が、処理装置によりアドレス順に抽
出され実行される場合が多いことを利用し、処理装置か
ら抽出要求されている命令の次アドレス以降の数命令を
予め抽出して置き、処理装置からの要求に対し命令読取
時間を短縮するものである。
The instruction preemption function takes advantage of the fact that each instruction that makes up a program stored in a storage device is often extracted and executed by a processing device in the order of their addresses. Several instructions after the address are extracted and stored in advance to shorten the instruction reading time in response to a request from a processing device.

かかる命令先取機能が停止すると、情報処理システムの
処理能力が大幅に低下する為、命令先取機能が停止して
いるか否かを、処理装置から確実に識別可能とする手段
の実現が要望される。
If such an instruction preemption function stops, the processing capacity of the information processing system will be significantly reduced, so there is a need for a means that allows a processing device to reliably identify whether or not the instruction preemption function has stopped.

〔従来の技術〕[Conventional technology]

第3図はこの種の情報処理システムにおける従来ある先
行制御方式の一例を示す図である。
FIG. 3 is a diagram showing an example of a conventional advance control method in this type of information processing system.

第3図において、記憶装置1と処理装置2とが、バス3
を介して接続されている。
In FIG. 3, a storage device 1 and a processing device 2 are connected to a bus 3.
connected via.

記憶装置1は、命令およびデータを記憶する記憶部1)
、処理装置2から伝達される書込データを一旦蓄積する
書込レジスタ12、記憶部1)から読出された命令およ
びデータが一旦蓄積される読取レジスタ13、記憶装置
1が具備する命令先取機能により記憶部1)から予め読
出された命令を一旦蓄積する命令先取バッファ14、命
令先取機能を実現する先取制御部15、処理装置2から
伝達される書込み、或いは読出し用のアドレスを蓄積す
るアドレスレジスタ16を具備している。
The storage device 1 is a storage unit 1) that stores instructions and data.
, a write register 12 that temporarily stores write data transmitted from the processing device 2, a read register 13 that temporarily stores instructions and data read from the storage unit 1), and an instruction prefetch function provided by the storage device 1. An instruction prefetch buffer 14 that temporarily stores instructions read out in advance from the storage unit 1), a prefetch control unit 15 that implements an instruction prefetch function, and an address register 16 that stores addresses for writing or reading transmitted from the processing device 2. Equipped with:

処理装置2がバス3を介してアドレスレジスタ16に書
込アドレスを蓄積し、またバス3を介して書込レジスタ
12に書込データを蓄積すると、記憶装置1は記憶部1
)の、アドレスレジスタ16に蓄積された書込アドレス
対応領域に、書込レジスタ12に蓄積された書込データ
を格納する。
When the processing device 2 stores a write address in the address register 16 via the bus 3 and also stores write data in the write register 12 via the bus 3, the storage device 1 stores the write address in the address register 16 via the bus 3.
), the write data stored in the write register 12 is stored in the area corresponding to the write address stored in the address register 16.

また処理語W2がバス3を介してアドレスレジスタ16
に続出アドレスを蓄積すると、記憶装置1は記憶部1)
の、アドレスレジスタ16に蓄積された読出アドレス対
応領域に格納されている命令およびデータを読出して読
取レジスタ13に一旦蓄積した後、バス3を介して処理
装置2に返送する。
Further, the processing word W2 is transferred to the address register 16 via the bus 3.
When successive addresses are accumulated in the storage device 1, the storage unit 1)
The commands and data stored in the read address corresponding area stored in the address register 16 are read out, temporarily stored in the read register 13, and then sent back to the processing device 2 via the bus 3.

なお先取制御部15は、命令読出しの為にアドレスレジ
スタ16に蓄積されたアドレスを更新し、次のアドレス
に格納されている命令を順次読出し、読取レジスタ13
を介して命令先取バッファ14に蓄積して置く。
Note that the prefetch control unit 15 updates the address stored in the address register 16 for instruction reading, sequentially reads out the instructions stored in the next address, and updates the address stored in the address register 16 to read the instruction.
The instructions are stored in the instruction prefetch buffer 14 via the instruction prefetch buffer 14.

かかる状態で、処理装置2から命令を読出す為の命令フ
ェッチ要求信号ifが伝達されると、先取制御部15は
命令先取バッファ14に蓄積されている命令を、バス3
を介して処理装置2に返送する。
In this state, when an instruction fetch request signal if for reading an instruction is transmitted from the processing device 2, the prefetch control unit 15 transfers the instruction stored in the instruction prefetch buffer 14 to the bus 3.
The data is sent back to the processing device 2 via.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上の説明から明らかな如く、従来ある先行制御方式に
おいては、記憶装置1が具備する命令先取機能が実行さ
れ無くなった場合には、記憶装置1からの命令続出時間
が増大し、処理能力が低下するが、記憶装置1からは命
令先取機能の実行状態を表示する手段が無く、処理装置
2は処理能力の低下により命令先取機能が停止したこと
を推定する以外に無かった。
As is clear from the above explanation, in the conventional advance control method, when the instruction preemption function provided in the storage device 1 is no longer executed, the time for successive commands from the storage device 1 increases, and the processing capacity decreases. However, the storage device 1 has no means for displaying the execution status of the instruction preemption function, and the processing device 2 has no choice but to assume that the instruction preemption function has stopped due to a decline in processing performance.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、1および2は、本発明の対象となる情
報処理システムを構成する記憶装置および処理装置であ
る。
In FIG. 1, 1 and 2 are a storage device and a processing device that constitute an information processing system to which the present invention is applied.

100は、命令先取機能を実現する命令先取手段である
Reference numeral 100 denotes an instruction prefetching means that implements an instruction prefetching function.

200は本発明により設けられ、命令先取手段100が
命令先取機能を実行しているか否かを表示する先取表示
信号pを出力する表示手段である。
200 is a display means provided according to the present invention, which outputs a preemption display signal p indicating whether or not the instruction prefetch means 100 is executing the instruction prefetch function.

〔作用〕[Effect]

処理装置2は、表示手段200が出力する先取表示信号
pを読出すことにより、命令先取手段100の命令先取
機能の実行状態を確実に識別することが可能となる。
By reading the prefetching display signal p output by the display means 200, the processing device 2 can reliably identify the execution state of the instruction prefetching function of the instruction prefetching means 100.

また命令先取手段10.0の正常性を確認する為に、命
令先取手段100を停止させることも可能となり、更に
停止させた状態で、処理装置2から命令フェッチ要求信
号ifが伝達されると、命令先取手段100の停止状態
は直ちに解除され、当該情報処理システムの処理能力が
低下した侭で放置される恐れは無くなる。
Furthermore, in order to confirm the normality of the instruction prefetching means 10.0, it is possible to stop the instruction prefetching means 100, and furthermore, when the instruction fetching request signal if is transmitted from the processing device 2 while the instruction prefetching means 100 is stopped, The stopped state of the instruction preemption means 100 is immediately released, and there is no longer a risk that the information processing system will be left unattended with reduced processing capacity.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による先行制御方式を示す図
である。なお、全図を通じて同一符号は同一対象物を示
す。
FIG. 2 is a diagram showing a proactive control method according to an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

第2図においては、フリップフロップ(FF)17が、
表示手段200として設けられている。
In FIG. 2, the flip-flop (FF) 17 is
It is provided as a display means 200.

第2図においても、処理装置2から記憶装置1へのデー
タの格納機能、記憶語W1から命令およびデータの読出
し機能、並びに命令先取機能は、第3図におけると同様
の過程で実行される。
Also in FIG. 2, the function of storing data from the processing device 2 to the storage device 1, the function of reading instructions and data from the memory word W1, and the function of prefetching instructions are executed in the same process as in FIG.

なお先取制御部15は、先取りした命令を命令先取バッ
ファ14に蓄積した場合には、フリップフロップ17を
セント状態に設定する。その結果フリップフロップ17
が出力する先取表示信号pは論理“1”に設定される。
Note that when the prefetched instruction is accumulated in the instruction prefetch buffer 14, the prefetch control unit 15 sets the flip-flop 17 to the cent state. As a result, the flip-flop 17
The pre-emption indication signal p outputted by is set to logic "1".

処理語W2は、バス3を介してフリップフロップ17が
出力する先取表示信号pを読出して論理値を分析し、論
理“1゛に設定されている場合には、先取制御部15が
命令先取機能を実行していることを識別し、また論理“
0”に設定されている場合には、先取制御部15が命令
先取機能を停止していることを識別する。
The processing word W2 reads out the preemption display signal p output by the flip-flop 17 via the bus 3, analyzes the logic value, and if the logic value is set to "1", the preemption control unit 15 performs the instruction prefetch function. Identifies that you are running a logic “
If it is set to 0'', it is determined that the preemption control unit 15 has stopped the instruction preemption function.

更に、先取表示信号pが確実に命令先取機能の実行状態
を表示していることを診断する目的で、処理装置2がバ
ス3を介して記憶装置1に先取禁止信号ihを伝達する
と、先取制御部15内で命令先取機能停止フリップフロ
ップ151がセントされ、命令先取機能が停止させられ
る。かかる場合には、先取制御部15はフリップフロッ
プ17をリセット状態に設定する。その結果フリップフ
ロップ17から出力される先取表示信号pは論理“0”
に設定され、先取表示信号pが命令先取機能の作用状態
を確実に表示していることが診断される。
Furthermore, in order to diagnose whether the preemption display signal p reliably indicates the execution state of the instruction preemption function, when the processing device 2 transmits the preemption prohibition signal ih to the storage device 1 via the bus 3, the preemption control An instruction preemption disabling flip-flop 151 is inserted in section 15 to disable instruction preemption. In such a case, the preemption control unit 15 sets the flip-flop 17 to a reset state. As a result, the preemption display signal p output from the flip-flop 17 is logic "0".
, and it is diagnosed that the preemption display signal p reliably indicates the operating state of the instruction preemption function.

かかる状態で、処理装置2が命令を抽出する為に、記憶
装置1に命令フェッチ要求信号ifを伝達すると、先取
制御部15内で命令先取機能停止フリップフロップ15
1がリセットされて命令先取機能の停止状態が解除され
、再び前述の過程で、命令先取機能の実行が開始される
。従って、先取制御部15が機能停止状態で放置され、
情報処理システムの処理能力が低下した優となることが
防止される。
In this state, when the processing device 2 transmits an instruction fetch request signal if to the storage device 1 in order to extract an instruction, the instruction preemption function stop flip-flop 15 is activated in the prefetch control unit 15.
1 is reset, the stopped state of the instruction preemption function is released, and execution of the instruction preemption function is started again through the above-described process. Therefore, the pre-emption control unit 15 is left in a non-functional state,
This prevents the processing capacity of the information processing system from becoming degraded.

以上の説明から明らかな如く、本実施例によれば、記憶
装置1における先取制御部15の命令先取機能の実行状
態はフリップフロップ17に設定され、フリップフロッ
プ17が出力する先取表示信号pを監視することにより
処理装置2から識別可能となる。
As is clear from the above description, according to the present embodiment, the execution state of the instruction preemption function of the preemption control unit 15 in the storage device 1 is set to the flip-flop 17, and the preemption display signal p output from the flip-flop 17 is monitored. By doing so, it becomes possible to identify it from the processing device 2.

また先取表示信号pの正常性を診断する為に、命令先取
機能を停止させることが可能となり、且つ機能停止状態
に置かれた先取制御部15は、処理装置2から命令フェ
ッチ要求信号ifが伝達されると直ちに作用停止状態か
ら解除される為、先取制御部15が機能停止状態で放置
され、情報処理システムの処理能力が低下した侭となる
ことが防止される。
In addition, in order to diagnose the normality of the pre-fetch display signal p, it is possible to stop the instruction pre-fetch function, and the pre-fetch control unit 15 in the stopped state receives the instruction fetch request signal if from the processing device 2. As soon as the operation is stopped, the preemption control unit 15 is released from the stopped state, so that the preemption control unit 15 is prevented from being left in the stopped state, and the processing capacity of the information processing system is prevented from being degraded.

なお、第2図はあく迄本発明の一実施例に過ぎず、例え
ば表示手段200はフリップフロップ17に限定される
ことは無く、他に幾多の変形が考慮されるが、何れの場
合にも本発明の効果は変わらない。
Note that FIG. 2 is only one embodiment of the present invention, and for example, the display means 200 is not limited to the flip-flop 17, and many other modifications may be considered; The effects of the present invention remain unchanged.

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

以上、本発明によれば、前記情報処理システムにおいて
、処理装置は、表示手段が出力する先取表示信号を監視
すことにより、命令先取機能の実行状態を確実に識別す
ることが可能となる。
As described above, according to the present invention, in the information processing system, the processing device can reliably identify the execution state of the instruction preemption function by monitoring the preemption display signal outputted by the display means.

また先取表示信号の正常性を確認する為に、先取機能を
停止させることも可能となり、更に命令先取機能を停止
させた状態で、処理装置から命令フェッチ要求信号が伝
達されると、命令先取機能の停止状態は直ちに解除され
、当該情報処理システムの処理能力が低下した侭で放置
される恐れは無くなる。
In addition, in order to confirm the normality of the pre-fetch display signal, it is possible to stop the pre-fetch function.Furthermore, when an instruction fetch request signal is transmitted from the processing device with the instruction pre-fetch function stopped, the instruction pre-fetch function The stopped state of the information processing system is immediately released, and there is no longer a risk that the information processing system will be left unattended with reduced processing capacity.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による先行制御方式を示す図、第3図は従来ある先
行制御方式の一例を示す図である。 図において、1は記憶装置、2は処理装置、3はバス、
1)は記憶部、12は書込レジスタ、13は読取レジス
タ、14は命令先取バッファ、15は先取制御部、16
はアドレスレジスタ、17はフリップフロップ(FF)
、100は命令先取手段、151は命令先取機能停止フ
リップフロップ、200は表示手段、ifは命令フヱッ
チ要求信号、ihは先取禁止信号、pは先取表示信号、
厚\浴θ月グ9呼E砧P圀 手 1 日 小45判り(二Jろ先村九りbrp展y)(夢 2 ロ イL乎ある先行制御方式゛ 茅 3 趨
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a advance control method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of a conventional advance control method. In the figure, 1 is a storage device, 2 is a processing device, 3 is a bus,
1) is a storage unit, 12 is a write register, 13 is a read register, 14 is an instruction prefetch buffer, 15 is a prefetch control unit, 16
is an address register, 17 is a flip-flop (FF)
, 100 is an instruction preemption means, 151 is an instruction preemption function stop flip-flop, 200 is a display means, if is an instruction fetch request signal, ih is a preemption prohibition signal, p is a preemption display signal,
Thick \ bath θ month 9th call E Kinuta P Kunite 1 day elementary school 45 understanding (2 J Romura Kuri brp exhibition y) (dream 2 Roy L's advance control method ゛茅 3 trends

Claims (2)

【特許請求の範囲】[Claims] (1)命令先取手段(100)を具備する記憶装置(1
)と、該記憶装置(1)から命令を抽出する処理装置(
2)とを具備する情報処理システムにおいて、 前記命令先取手段(100)が命令先取機能を実行して
いるか否かを表示する表示手段(200)を前記記憶装
置(1)に設け、 該表示手段(200)が出力する先取表示信号(p)を
前記処理装置(2)から読出し可能とすることを特徴と
する先行制御方式。
(1) Storage device (1) equipped with instruction prefetching means (100)
) and a processing device (
2) An information processing system comprising: a display means (200) for displaying whether or not the instruction preemption means (100) is executing an instruction preemption function; provided in the storage device (1); A preemptive control system characterized in that a preemption display signal (p) outputted by the processor (200) can be read out from the processing device (2).
(2)前記命令先取手段(100)は、前記処理装置(
2)から先取禁止信号(ih)が伝達された場合に命令
先取機能を停止し、且つ該命令先取機能が停止された状
態で、前記処理装置(2)から命令フェッチ要求信号(
if)が伝達された場合に機能停止状態を解除すること
を特徴とする特許請求の範囲第1項記載の先行制御方式
(2) The instruction prefetching means (100) includes the processing device (
When the instruction preemption function (ih) is transmitted from the processing device (2), the instruction prefetch function is stopped, and in a state where the instruction prefetch function is stopped, the instruction fetch request signal (ih) is transmitted from the processing device (2).
2. The advance control method according to claim 1, wherein the function stop state is canceled when the signal if) is transmitted.
JP61028205A 1986-02-12 1986-02-12 Advance control system Pending JPS62202234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61028205A JPS62202234A (en) 1986-02-12 1986-02-12 Advance control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61028205A JPS62202234A (en) 1986-02-12 1986-02-12 Advance control system

Publications (1)

Publication Number Publication Date
JPS62202234A true JPS62202234A (en) 1987-09-05

Family

ID=12242156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61028205A Pending JPS62202234A (en) 1986-02-12 1986-02-12 Advance control system

Country Status (1)

Country Link
JP (1) JPS62202234A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789187B2 (en) * 2000-12-15 2004-09-07 Intel Corporation Processor reset and instruction fetches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789187B2 (en) * 2000-12-15 2004-09-07 Intel Corporation Processor reset and instruction fetches

Similar Documents

Publication Publication Date Title
US5742822A (en) Multithreaded processor which dynamically discriminates a parallel execution and a sequential execution of threads
KR970012145A (en) How to work with the data processor, how to run its debugging operations, and how to modify its breakpoint values
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
JP3590075B2 (en) Virtual storage data processing apparatus and method
JP3970609B2 (en) Processor system
JPS58197553A (en) Program monitor
JPS62202234A (en) Advance control system
JPS6319058A (en) Memory device
JP2006039874A (en) Information processor
JPS6312030A (en) Error processing mechanism for information processor
JPS6051947A (en) Instruction prefetching system in virtual storage computer
JPH0447350A (en) Main storage read/response control
JPH0330022A (en) Information processor
CA1317384C (en) Buffer control circuit for data processor
EP0382529A2 (en) Microprocessor having store buffer
JP3715505B2 (en) Computer having operation instructions for specific applications and calculation method of the computer
JP2825589B2 (en) Bus control method
JPH02183342A (en) Interruption controller
JPH0258648B2 (en)
JPH02110744A (en) Information processor
JPH06266630A (en) Input/output controller with trace function
JPS62108333A (en) Semiconductor device
JPH1027153A (en) Bus transfer device
JPH0321941B2 (en)
JPS6249443A (en) Bank switching circuit for microcomputer