JP2007164354A - Information processor and method of controlling same - Google Patents

Information processor and method of controlling same Download PDF

Info

Publication number
JP2007164354A
JP2007164354A JP2005357922A JP2005357922A JP2007164354A JP 2007164354 A JP2007164354 A JP 2007164354A JP 2005357922 A JP2005357922 A JP 2005357922A JP 2005357922 A JP2005357922 A JP 2005357922A JP 2007164354 A JP2007164354 A JP 2007164354A
Authority
JP
Japan
Prior art keywords
instruction
processor
operation mode
notification
bit
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.)
Granted
Application number
JP2005357922A
Other languages
Japanese (ja)
Other versions
JP5194360B2 (en
Inventor
Koichi Takayama
浩一 高山
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP2005357922A priority Critical patent/JP5194360B2/en
Publication of JP2007164354A publication Critical patent/JP2007164354A/en
Application granted granted Critical
Publication of JP5194360B2 publication Critical patent/JP5194360B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor for changing the operation mode of hardware while maintaining a system operation. <P>SOLUTION: The information processor includes a processor 100 for performing various arithmetic processing according to an applied instruction S1 and a console 600 having a plurality of operation modes for specifying the operating state of the processor 100 for monitoring the operating state of the processor 100. The console 600 outputs an operation mode change request S2 to change the operation mode according to the operating state of the processor 100, and the processor 100 outputs instruction completion notification S3 when the arithmetic processing which is processed at present ends. This information processor is provided with an instruction management part 170 for, when the operation mode change request S2 is output from the console 600, instructing the processor 100 to change the operation mode after the instruction notification S3 is output from the processor 100. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報処理装置に係り、特にプロセッサの動作モードを動的に変更可能な制御に関する。   The present invention relates to an information processing apparatus, and more particularly to control capable of dynamically changing an operation mode of a processor.

従来使用されている情報処理装置においては、一般的に処理に適した動作モードを複数備えており、必要に応じてこの動作モードの中から適切な動作モードを選択して、動作させている。   Conventionally used information processing apparatuses are provided with a plurality of operation modes suitable for processing in general, and an appropriate operation mode is selected from these operation modes as required.

このような情報処理装置では、従来オペレーションシステム、ユーザプロセスが動作した状態において、ハードウェア的に実現したハードウェア動作モードを動的に変更することは行っていなかった。   In such an information processing apparatus, a hardware operation mode realized in hardware has not been dynamically changed in a state where a conventional operation system and a user process are operating.

この理由は、情報処理装置内の動作状態によっては動的に動作モードを変更したときに誤動作を生じる可能性があったためである。   This is because malfunction may occur when the operation mode is dynamically changed depending on the operation state in the information processing apparatus.

また、動的に情報処理装置の動作モードを変更することが困難であったため、ハードウェアの動作モード変更時には、一旦情報処理装置を動作させているオペレーションシステムをシャットダウンし、情報処理装置全体の運用を停止した上でハードウェアの動作モードを変更していた。   In addition, because it was difficult to dynamically change the operation mode of the information processing device, when the hardware operation mode was changed, the operation system that once operated the information processing device was shut down to operate the entire information processing device. The operation mode of the hardware was changed after stopping.

また、ソフトウェア的に動作モードの変更を行う場合は、オペレーションシステムが実行中のプロセスの状況を監視し、タスク間に割り込みを入れ、ハードウェアモードの変更ルーチンを挿入するなどの処理が必要であった。このため、特にマルチプロセッサで動作するような大規模なプログラム実行中において、ソフトウェア的に動作モードの変更を行うことは影響が非常に大きかった。   Also, when changing the operating mode in software, it is necessary to monitor the status of the process being executed by the operating system, interrupt the task, and insert a hardware mode changing routine. It was. For this reason, changing the operation mode in software during execution of a large-scale program that operates on a multiprocessor has a great influence.

このような情報処理装置の従来例として、スイッチを切り替えるかシステムリセットが発生することにより、外部インタフェイスを介してアドレス発生部の内容に従ってデータ発生部の内容を動作モードに設定するレジスタ設定方式が開示されている(特許文献1参照)。   As a conventional example of such an information processing apparatus, there is a register setting method in which the contents of the data generation unit are set to the operation mode in accordance with the contents of the address generation unit via an external interface when a switch is switched or a system reset occurs. It is disclosed (see Patent Document 1).

また、2つ以上の動作モードで動的に切り換えてそれぞれの動作モード上でアプリケーションを動作させる情報処理装置において、動作モードの切り換えを意識しないデバイスドライバや常駐プログラムを正常動作させる情報処理装置が開示されている(特許文献2参照)。
特開平11−098213号公報 特開平06−236286号公報
Also disclosed is an information processing apparatus that operates dynamically in two or more operation modes and operates an application in each operation mode, and that normally operates device drivers and resident programs that are unaware of the operation mode switching. (See Patent Document 2).
Japanese Patent Laid-Open No. 11-098213 Japanese Patent Laid-Open No. 06-236286

このように、従来の情報処理装置のシステムにおけるハードウェアの動作モード変更時には、システム動作中にハードウェアレベルの動作モードを誤動作することなくダイナミックに変更することができないため、システムを停止しハードウェアの再初期化をしないと動作モードを変更することができないという問題があった。   As described above, when changing the hardware operation mode in the conventional information processing apparatus system, the hardware level operation mode cannot be changed dynamically without malfunction during the system operation. There was a problem that the operation mode could not be changed without re-initialization.

また、ソフトウェア的に動作モードの変更を行う場合は、複雑なプロセッサの動作状態をソフトウェア側で全て把握することが不可能なため、ハードウェアの動作モード変更タイミングをソフトウェア的に容易に生成することができないという問題があった。   In addition, when changing the operation mode in software, it is impossible to grasp all the operation states of complex processors on the software side, so it is easy to generate hardware operation mode change timing in software. There was a problem that could not.

そこで本発明の目的は、運用上システムの停止が困難なコンピュータシステムにおいてもシステム動作を継続したまま誤動作することなく確実にハードウェアの動作モードを変更することのできる情報処理装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing apparatus capable of reliably changing the hardware operation mode without malfunctioning while continuing system operation even in a computer system in which it is difficult to stop the system for operation. is there.

上記目的を達成するために、本発明の情報処理装置の第1の発明は、与えられた命令列にしたがって各種演算処理を行うプロセッサを有し、該プロセッサの動作状態を規定する動作モードを複数有し、前記プロセッサの前記動作状態を監視するコンソールを有した情報処理装置において、
前記コンソールは、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力し、
前記プロセッサは、現在処理を行っている演算処理が終了した場合には命令完了通知を出力し、
前記コンソールから前記動作モード変更要求が出力されると、前記プロセッサから前記命令完了通知が出力された後に、前記プロセッサに前記動作モードの変更を指示する命令管理部を有する情報処理装置である。
In order to achieve the above object, a first invention of an information processing apparatus according to the present invention has a processor that performs various arithmetic processes according to a given instruction sequence, and has a plurality of operation modes that define the operating state of the processor. In an information processing apparatus having a console for monitoring the operating state of the processor,
The console outputs an operation mode change request to change the operation mode according to the operation state of the processor;
The processor outputs an instruction completion notice when the arithmetic processing currently being processed is completed,
When the operation mode change request is output from the console, the information processing apparatus includes an instruction management unit that instructs the processor to change the operation mode after the instruction completion notification is output from the processor.

第2の発明は、第1の発明に記載の情報処理装置において、
前記命令列が、所定の処理を行うインオーダ前置命令と該インオーダ前置命令による処理が必要となるインオーダ処理命令とが含まれるときに、前記インオーダ前置命令の処理が完了するまで前記インオーダ処理命令の発行を停止し、その旨を発行待機通知として前記命令管理部に出力する発行制御部を具備し、
前記命令管理部は、前記発行待機通知が出力された後に、前記命令完了通知が出力されると待機終了通知を前記発行制御部へ出力し、
前記発行制御部は、前記待機終了通知を受け付けると前記インオーダ処理命令の発行を行うものである。
A second invention is the information processing apparatus according to the first invention, wherein:
The in-order processing until the processing of the in-order pre-instruction is completed when the instruction sequence includes an in-order pre-instruction for performing predetermined processing and an in-order processing instruction requiring processing by the in-order pre-instruction. An issuance control unit for stopping the issuance of an instruction and outputting a notice to that effect to the instruction management unit;
The command management unit outputs a standby end notification to the issue control unit when the command completion notification is output after the issue standby notification is output,
The issuance control unit is configured to issue the in-order processing command upon receiving the standby end notification.

第3の発明は、第1または第2の発明に記載の情報処理装置において、
前記コンソールから前記動作モード変更要求が出力されたときに、前記動作モード変更要求に応じてモード変更通知として前記命令管理部に出力する診断プロセッサをさらに備え、
前記命令管理部は、
前記命令完了通知を前記プロセッサから受信したときにセットされるEビットと、前記発行待機通知を前記発行制御部から受信したときにセットされるIビットと、前記モード変更通知を前記診断プロセッサから受信したときにセットされるCビットとからなる状態レジスタをさらに備え、
前記命令列が前記プロセッサで実行されているときは前記Eビットをリセットし、
前記命令管理部が前記待機終了通知を出力したときに前記Iビットをリセットし、
前記プロセッサへの前記動作モードの変更の指示が完了したときに前記Cビットをリセットするものである。
A third invention is the information processing apparatus according to the first or second invention, wherein
When the operation mode change request is output from the console, the diagnostic processor further outputs to the command management unit as a mode change notification in response to the operation mode change request,
The instruction management unit
The E bit that is set when the instruction completion notification is received from the processor, the I bit that is set when the issuance waiting notification is received from the issuance control unit, and the mode change notification are received from the diagnostic processor A status register consisting of a C bit set when
Reset the E bit when the instruction sequence is being executed by the processor;
Resetting the I bit when the instruction management unit outputs the standby end notification,
The C bit is reset when an instruction to change the operation mode to the processor is completed.

第4の発明は、第3の発明に記載の情報処理装置において、
前記命令管理部は、前記Eビットおよび前記Iビットならびに前記Cビットのおのおののセットまたはリセットの状態を前記プロセッサの命令実行の状態を示す動作ステータスとして前記発行制御部に通知するものである。
A fourth invention is the information processing apparatus according to the third invention, wherein
The instruction management unit notifies the issuance control unit of an operation status indicating an instruction execution state of the processor with respect to a set or reset state of each of the E bit, the I bit, and the C bit.

第5の発明は、第4の発明に記載の情報処理装置において、
前記モード変更通知に応じて前記命令管理部から前記診断プロセッサに出される前記動作モードの変更開始指示によって、前記診断プロセッサによる書き換え可能で、前記動作モードに対応した動作モードレジスタをさらに備え、
前記命令管理部は、前記モード変更通知を受けて前記Cビットがセットされたときに、前記Eビットがセットされ、前記Iビットがリセットされる場合には、前記動作モードレジスタを前記診断プロセッサを介して書き換えることで前記動作モードの変更を指示するものである。
A fifth invention is the information processing apparatus according to the fourth invention, wherein:
In response to the mode change notification, an instruction to start changing the operation mode issued from the instruction management unit to the diagnostic processor is rewritable by the diagnostic processor, and further includes an operation mode register corresponding to the operation mode,
When the C bit is set in response to the mode change notification, the instruction management unit sets the operation mode register to the diagnostic processor when the E bit is set and the I bit is reset. The operation mode is instructed by rewriting through the network.

第6の発明は、与えられた命令列にしたがって各種演算処理を行うプロセッサと、該プロセッサの出力に応じて該プロセッサの動作状態を複数の動作モードのいずれかに規定する命令管理部と、前記プロセッサの前記動作状態を監視するコンソールとを備えた情報処理装置の制御方法において、
前記コンソールで行われる、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力するステップと、
前記プロセッサで行われる、現在処理を行っている演算処理が終了した場合には命令完了通知を出力するステップと、
前記命令管理部で行われる、前記コンソールからの前記動作モード変更要求の後に前記プロセッサから前記命令完了通知が出力されたときに、前記プロセッサに前記動作モードの変更を指示するステップとを備えた情報処理装置の制御方法である。
According to a sixth aspect of the present invention, there is provided a processor that performs various arithmetic processes according to a given instruction sequence, an instruction management unit that defines an operation state of the processor in one of a plurality of operation modes according to an output of the processor, In a control method of an information processing apparatus comprising a console that monitors the operating state of a processor,
Outputting an operation mode change request for changing the operation mode according to the operation state of the processor, performed at the console;
A step of outputting an instruction completion notification when the arithmetic processing performed by the processor is being performed;
And an instruction for instructing the processor to change the operation mode when the instruction completion notification is output from the processor after the operation mode change request from the console. It is a control method of a processing apparatus.

第7の発明は、与えられた命令列にしたがって各種演算処理を行うプロセッサと、該プロセッサの出力に応じて該プロセッサの動作状態を複数の動作モードのいずれかに規定する命令管理部と、前記プロセッサの前記動作状態を監視するコンソールと、を備えた情報処理装置の制御方法において、
前記コンソールで行われる、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力するステップと、
前記プロセッサで行われる、現在処理を行っている演算処理が終了した場合には命令完了通知を出力するステップと、
前記命令管理部で行われる、前記コンソールからの前記動作モード変更要求の後に前記プロセッサから前記命令完了通知が出力されたときに、前記プロセッサに前記動作モードの変更を指示するステップと、
前記発行制御部で行われる、前記命令列に、所定の処理を行うインオーダ前置命令と該インオーダ前置命令による処理が必要となるインオーダ処理命令とが含まれるときに、前記インオーダ前置命令の処理が完了するまで前記インオーダ処理命令の発行を停止する制御を行い、その旨を発行待機通知として前記命令管理部に出力するステップと、
前記命令管理部で行われる、前記発行待機通知が出力された後に、前記命令完了通知が出力されると待機終了通知を前記発行制御部へ出力するステップと、
前記発行制御部で行われる、前記待機終了通知を受け付けた後に前記インオーダ処理命令の発行を行うステップと、を備えた情報処理装置の制御方法である。
According to a seventh aspect of the present invention, there is provided a processor that performs various kinds of arithmetic processing according to a given instruction sequence, an instruction management unit that defines an operation state of the processor in one of a plurality of operation modes according to an output of the processor, In a control method of an information processing apparatus comprising a console that monitors the operating state of a processor,
Outputting an operation mode change request for changing the operation mode according to the operation state of the processor, performed at the console;
A step of outputting an instruction completion notification when the arithmetic processing performed by the processor is being performed;
Instructing the processor to change the operation mode when the instruction completion notification is output from the processor after the operation mode change request from the console, performed in the instruction management unit;
When the instruction sequence performed by the issue control unit includes an in-order prefix instruction for performing a predetermined process and an in-order processing instruction that requires processing by the in-order prefix instruction, the in-order prefix instruction Performing a control to stop issuing the in-order processing instruction until the processing is completed, and outputting the fact to the instruction management unit as an issue standby notification;
Outputting the standby end notification to the issuance control unit when the instruction completion notification is output after the issuance standby notification is output, which is performed in the instruction management unit;
And a step of issuing the in-order processing command after receiving the standby end notification, which is performed by the issuance control unit.

本情報処理装置は、与えられた命令列にしたがって各種演算処理を行うプロセッサにおける仕掛中の命令の有無および動作モード変更要求の有無を命令管理部が認識して、コンソールから動作モード変更要求があったときに、プロセッサで仕掛中の命令がないハードウェアの状態であるタイミングを見計らって、動作モードの変更を行う。   In this information processing apparatus, the instruction management unit recognizes the presence of an in-process instruction and the presence / absence of an operation mode change request in a processor that performs various arithmetic processes according to a given instruction sequence, and receives an operation mode change request from the console. The operation mode is changed in anticipation of the timing when the processor is in a hardware state where there is no instruction in progress.

このため本情報処理装置は、命令列に基づいた命令が発行制御部からプロセッサに発行され、プロセッサでこの命令列に基づいた命令にしたがった各種演算処理が仕掛かっていることを発行制御部からの命令発行通知で認識し、またプロセッサが命令列にしたがった処理を完了したことをプロセッサからの命令完了通知で認識する命令管理部を備えている。   For this reason, the information processing apparatus issues an instruction based on the instruction sequence from the issuance control unit to the processor, and that the processor is performing various arithmetic processing according to the instruction based on the instruction sequence. An instruction management unit is provided for recognizing the instruction issuance notification and recognizing the completion of the processing according to the instruction sequence by the processor by the instruction completion notification from the processor.

命令管理部は、診断プロセッサからモード変更通知を受信すると、さらにこの命令完了通知を受信することで、プロセッサが動作モードの変更を受け付ける状態にあることが分かり、この状態にあるプロセッサに対して動作モードの変更を指示する。   When the instruction management unit receives the mode change notification from the diagnostic processor, the instruction management unit further receives the instruction completion notification, thereby knowing that the processor is in a state of accepting the change of the operation mode, and operates on the processor in this state. Instruct mode change.

このようにして本情報処理装置のシステム稼働を停止させることなくシステム稼働中に動作モードの変更を行うことが可能であり、情報処理装置の運用上に支障が生じない。   In this way, it is possible to change the operation mode while the system is operating without stopping the system operation of the information processing apparatus, and there is no problem in the operation of the information processing apparatus.

本発明によれば、システム動作を継続したままハードウェアの動作モードを変更することのできる情報処理装置を得られる。   ADVANTAGE OF THE INVENTION According to this invention, the information processing apparatus which can change the operation mode of hardware while continuing system operation | movement can be obtained.

本発明を実施するための形態について図面を参照して詳細に説明する。   Embodiments for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本実施形態の情報処理装置の構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of the information processing apparatus according to the present embodiment.

図示したように、情報処理装置は、あらかじめ与えられた命令列S1よりデコードされた制御命令S11にしたがって四則演算、論理演算などの各種演算処理を行い、現在処理を行っている演算処理が終了した場合には命令完了通知S3を出力するプロセッサ100を有する機能処理部200と、命令列S1など情報処理装置に必要な情報を記憶する主記憶部340と、主記憶部340の動作を制御するためのメモリ制御部345と、情報処理装置と接続された図示しない各種周辺機器との入出力を制御する入出力制御部350と、コンソール600から動作モード変更要求S2があったときにモード状態通知S4の1つであるモード変更通知として出力し、また情報処理装置の立ち上げ時の初期化処理および障害発生時の障害処理制御を行う診断プロセッサ390と、プロセッサ100の動作状態を監視し、プロセッサ100の動作状態に応じ動作モードの変更を要求する動作モード変更要求S2を診断プロセッサ390に出力するコンソール600とを備えて構成される。   As shown in the figure, the information processing apparatus performs various arithmetic processes such as four arithmetic operations and logical operations in accordance with the control instruction S11 decoded from the instruction sequence S1 given in advance, and the arithmetic processing currently being processed is completed. In this case, the function processing unit 200 having the processor 100 that outputs the instruction completion notification S3, the main storage unit 340 that stores information necessary for the information processing apparatus such as the instruction sequence S1, and the operation of the main storage unit 340 are controlled. Mode control notification 345 when there is an operation mode change request S2 from the console 600, and an input / output control unit 350 that controls input / output between various peripheral devices (not shown) connected to the information processing device. Is output as a mode change notification that is one of the above, and performs initialization processing at the time of startup of the information processing device and fault processing control when a fault occurs. A diagnostic processor 390, monitors the operation state of the processor 100, configured with a console 600 which outputs the operation mode change request S2 for requesting a change of the operation mode according to the operating state of the processor 100 to the diagnostic processor 390.

機能処理部200は、命令列S1が所定の処理を行うインオーダ前置命令とこのインオーダ前置命令による処理が必要となるインオーダ処理命令とが含まれるときに、インオーダ前置命令の処理が完了するまでインオーダ処理命令の発行を停止し、これらの状態を示す発行状態通知S5の1つであり発行の停止の旨を示す発行待機通知を出力する発行制御部160と、発行制御部160からの制御命令S11を受信して各種演算処理などの処理を行うプロセッサ100と、コンソール600から動作モード変更要求S2が出力されると命令完了通知S3が出力された後にプロセッサ100に動作モードの変更を指示する命令管理部170と、各動作モードに対応した動作モードレジスタ1800を備えた動作モードレジスタ群180とを備えて構成される。   The function processing unit 200 completes the processing of the in-order prefix instruction when the instruction sequence S1 includes an in-order prefix instruction that performs predetermined processing and an in-order processing instruction that requires processing by the in-order prefix instruction. Issuance of the in-order processing instruction until it is issued, and issuance control unit 160 that outputs one of the issuance status notifications S5 indicating these states and that issues an issuance standby notification indicating that the issuance is stopped. The processor 100 that receives the instruction S11 and performs various arithmetic processes and the like, and when the operation mode change request S2 is output from the console 600, the instruction completion notification S3 is output and then the processor 100 is instructed to change the operation mode. An instruction management unit 170 and an operation mode register group 180 including an operation mode register 1800 corresponding to each operation mode. Constructed.

本情報処理装置は、プロセッサ100のハードウェア動作状態を規定する動作モードを複数有しており、コンソール600からの動作モード変更要求S2によって、動作モードレジスタ群180に指定される最適な動作モードによりプロセッサ100などが各種の演算処理などの処理を行うことができる。   This information processing apparatus has a plurality of operation modes that define the hardware operation state of the processor 100, and the optimum operation mode specified in the operation mode register group 180 by the operation mode change request S 2 from the console 600. The processor 100 and the like can perform various kinds of processing such as arithmetic processing.

モード状態通知S4は、診断プロセッサ390における状態を命令管理部170に対して示す通知であり、このモード状態通知S4はコンソール600から動作モード変更要求S2を受信していることを示すモード変更通知と、コンソール600などの要求によりプロセッサ100の動作モードの変更指示を出しこの変更の指示が完了したことを示す動作モード変更終了通知とからなり、必要に応じてモード状態通知S4の対応するモード変更通知または動作モード変更終了通知が命令管理部170に出力される。   The mode state notification S4 is a notification indicating the state in the diagnostic processor 390 to the instruction management unit 170. This mode state notification S4 is a mode change notification indicating that the operation mode change request S2 is received from the console 600. , An instruction to change the operation mode of the processor 100 in response to a request from the console 600 or the like, and an operation mode change end notification indicating that this change instruction has been completed, and a mode change notification corresponding to the mode state notification S4 as necessary. Alternatively, an operation mode change end notification is output to the instruction management unit 170.

発行状態通知S5は、発行制御部160における状態を命令管理部170に対して示す通知であり、この通知はインオーダ処理命令の発行を停止していることを示す発行待機通知と、プロセッサ100などに制御命令S11およびインオーダ処理命令を発行したことを示す命令発行通知とからなり、必要に応じて発行状態通知S5の対応する通知が命令管理部170に出力される。   The issuance status notification S5 is a notification indicating the status in the issuance control unit 160 to the instruction management unit 170. This notification is issued to the processor 100 and the like, an issuance waiting notification indicating that the in-order processing command issuance is stopped. It consists of a control command S11 and a command issue notification indicating that an in-order processing command has been issued, and a notification corresponding to the issue status notification S5 is output to the command management unit 170 as necessary.

プロセッサ100は、演算処理を行う演算処理装置110と、機能処理部200内のステータス制御動作を行う内部制御命令処理部120と、主記憶部340とのメモリアクセス制御を行ったり、入出力のI/O(Input/Output)アクセス制御を行う外部制御命令処理部130とを備えて構成される。   The processor 100 performs memory access control with the arithmetic processing unit 110 that performs arithmetic processing, the internal control command processing unit 120 that performs status control operation within the function processing unit 200, and the main storage unit 340, and the input / output I / O. An external control command processing unit 130 that performs / O (Input / Output) access control.

プロセッサ100は発行制御部160に接続されており、発行制御部160は命令管理部170に接続されており、命令管理部170は動作モードレジスタ群180に接続されており、動作モードレジスタ群180は診断プロセッサ390に接続されており、診断プロセッサ390はコンソール600に接続されており、プロセッサ100は命令管理部170に接続されており、命令管理部170は診断プロセッサ390に接続されており、動作モードレジスタ群180はメモリ制御部345に接続されており、メモリ制御部345は主記憶部340に接続されており、主記憶部340は発行制御部160に接続されており、動作モードレジスタ群180は入出力制御部350に接続されており、プロセッサ100は動作モードレジスタ群180に接続されている。   The processor 100 is connected to an issue control unit 160, the issue control unit 160 is connected to an instruction management unit 170, the instruction management unit 170 is connected to an operation mode register group 180, and the operation mode register group 180 is The diagnosis processor 390 is connected to the console 600, the processor 100 is connected to the instruction management unit 170, the instruction management unit 170 is connected to the diagnosis processor 390, and the operation mode is connected to the diagnosis processor 390. The register group 180 is connected to the memory control unit 345, the memory control unit 345 is connected to the main storage unit 340, the main storage unit 340 is connected to the issue control unit 160, and the operation mode register group 180 is The processor 100 is connected to the input / output control unit 350 and the operation mode register group 1 It is connected to 0.

なお、説明した構成および接続は、本発明に関連した必要部分を述べたもので、従来技術の構成等についての説明は省略する。   In addition, the structure and connection which were demonstrated described the required part relevant to this invention, and description about the structure of a prior art etc. is abbreviate | omitted.

発行制御部160は、機能処理部200内に設けられており、主記憶部340から出力される命令列S1を解読して、命令列S1に対応し機能処理部200などで実行する種々の制御命令S11としてプロセッサ100などの各構成部位へ発行する命令発行の機能を有し、またこの制御命令S11の発行を制御する発行制御機能を有する。   The issuance control unit 160 is provided in the function processing unit 200. The issuance control unit 160 decodes the instruction sequence S1 output from the main storage unit 340, and executes various controls corresponding to the instruction sequence S1 and executed by the function processing unit 200 or the like. It has a function of issuing an instruction to be issued to each component such as the processor 100 as the instruction S11, and has an issue control function for controlling the issuance of the control instruction S11.

命令管理部170は、機能処理部200内部で実行されている種々の制御命令S11の実行状態を管理し、機能処理部200内部の命令実行の状態を示す動作ステータスS6を発行制御部160に対して通知する機能を有する。   The instruction management unit 170 manages the execution state of various control instructions S11 executed in the function processing unit 200, and sends an operation status S6 indicating the instruction execution state in the function processing unit 200 to the issuance control unit 160. Has a function to notify.

命令管理部170は、制御命令S11にしたがったプロセッサ100の各種演算処理が終了した旨を命令完了通知S3としてプロセッサ100から受信することで、機能処理部200内で実行中の制御命令S11の実行状態を監視する。   The instruction management unit 170 receives, from the processor 100, an instruction completion notification S3 indicating that various arithmetic processes of the processor 100 according to the control instruction S11 are completed, and thereby executes the control instruction S11 being executed in the function processing unit 200. Monitor status.

命令管理部170は、発行状態通知S5の1つである発行待機通知を受信し、命令完了通知S3を受信したときに、その旨を動作ステータスS6の1つである待機終了通知として発行制御部160へ出力する。   The instruction management unit 170 receives an issuance standby notification that is one of the issuance status notifications S5, and when receiving the instruction completion notification S3, the issuance control unit notifies the fact as a standby end notification that is one of the operation statuses S6. To 160.

動作モードレジスタ群180は、診断プロセッサ390からのモード指定通知S7による制御によって動的に書き換え、変更が可能なレジスタであり、情報処理装置内の機能処理部200などの各機能処理部位においてハードウェア的に実装した複数の動作モード(動作方式)の中から任意の1つの動作方式を決定する。   The operation mode register group 180 is a register that can be dynamically rewritten and changed under the control of the mode designation notification S7 from the diagnostic processor 390, and hardware in each function processing part such as the function processing unit 200 in the information processing apparatus. One arbitrary operation method is determined from among a plurality of operation modes (operation methods) that are implemented in an automatic manner.

このために動作モードレジスタ群180は、モード変更通知に応じて命令管理部170から診断プロセッサ390に出される動作モードの変更開始指示S9によって、診断プロセッサ390による書き換えが可能で、動作モードに対応した動作モードレジスタ1800を備えている。   Therefore, the operation mode register group 180 can be rewritten by the diagnosis processor 390 by the operation mode change start instruction S9 issued from the instruction management unit 170 to the diagnosis processor 390 in response to the mode change notification, and corresponds to the operation mode. An operation mode register 1800 is provided.

そして動作モードレジスタ群180は、プロセッサ100、メモリ制御部345および入出力制御部350などに対してモード変更指示S8により動作モードの変更を行う機能を有する。   The operation mode register group 180 has a function of changing the operation mode to the processor 100, the memory control unit 345, the input / output control unit 350, and the like by a mode change instruction S8.

プロセッサ100は、発行制御部160から出力された実行すべき制御命令S11を受け取り、それぞれ演算処理装置110、内部制御命令処理部120、外部制御命令処理部130ごとに処理を行う。   The processor 100 receives the control command S11 to be executed output from the issue control unit 160, and performs processing for each of the arithmetic processing unit 110, the internal control command processing unit 120, and the external control command processing unit 130.

演算処理装置110は、一般的にALU(Arithmetic and Logic Unit:算術演算ユニット)と称される演算装置などに代表される情報処理ユニットであり、加算/乗算などの四則演算や論理演算などの算術的な処理を行なう機能を有する。   The arithmetic processing unit 110 is an information processing unit represented by an arithmetic unit generally referred to as an ALU (Arithmetic and Logic Unit), and performs arithmetic operations such as four arithmetic operations such as addition / multiplication and logical operations. Has a function of performing general processing.

演算処理装置110は、このような演算を行なう回路のほかに、この回路で行われた演算の演算結果などを一時的に保管するアキュムレータや、演算結果の正負や桁上がりなどの状態情報を保持するフラグレジスタなどが設けられていることも多い。   In addition to the circuit that performs such operations, the arithmetic processing unit 110 stores accumulators that temporarily store the results of operations performed by the circuits, and status information such as the positive / negative and carry of the operation results. In many cases, a flag register or the like is provided.

内部制御命令処理部120は、機能処理部200内のステータス制御動作を行う機能を有する。   The internal control command processing unit 120 has a function of performing a status control operation in the function processing unit 200.

外部制御命令処理部130は、主記憶部340とのメモリアクセス制御を行ったり、入出力のI/Oアクセス制御を行う機能を有する
診断プロセッサ390は、機能処理部200をはじめとした各構成部位をなすLSI(Large Scale Integration:大規模集積回路)とのインタフェイスを備え、ハードウェア起動時の初期化処理や障害発生時の障害処理を制御する機能を有する。
The external control command processing unit 130 has a function of performing memory access control with the main storage unit 340 and input / output I / O access control. The diagnostic processor 390 includes each component including the function processing unit 200. It has an interface with an LSI (Large Scale Integration), and has a function of controlling initialization processing at the time of hardware startup and failure processing when a failure occurs.

主記憶部340は、一時的な記憶を行い要求に応じて高速にアクセス可能なレジスタであり、制御命令S11で直接記憶されている位置を指定して読み書きできる機能を有する。   The main storage unit 340 is a register that performs temporary storage and can be accessed at high speed according to a request, and has a function of specifying a position stored directly by the control instruction S11 and reading and writing.

メモリ制御部345は、主記憶部340に記憶された記憶内容を読み、また主記憶部340に書き込んで記憶させる際の制御を行う機能を有する。   The memory control unit 345 has a function of performing control when reading stored contents stored in the main storage unit 340 and writing and storing them in the main storage unit 340.

入出力制御部350は、本情報処理装置と接続される図示しない入出力端末、表示装置、印字装置など各種周辺機器との入出力を制御する機能を有する。   The input / output control unit 350 has a function of controlling input / output with various peripheral devices such as an input / output terminal (not shown), a display device, and a printing device connected to the information processing apparatus.

次に、本実施形態の情報処理装置の動作について、図1〜図4を参照して詳細に説明する。   Next, the operation of the information processing apparatus according to the present embodiment will be described in detail with reference to FIGS.

主記憶部340に記憶されており機能処理部200で実行するための命令列S1が、メモリ制御部345の制御により、主記憶部340から機能処理部200の発行制御部160に出力される。   The instruction sequence S1 stored in the main storage unit 340 and executed by the function processing unit 200 is output from the main storage unit 340 to the issue control unit 160 of the function processing unit 200 under the control of the memory control unit 345.

この機能処理部200内で実行するための命令列S1を受信した発行制御部160は、受信した命令列S1の各命令をデコードし、デコードした結果得られた命令の内容を示す制御命令S11をプロセッサ100などに対して発行し、同時にプロセッサ100などに制御命令S11を発行したことを命令発行通知として命令管理部170に通知する。   The issuance control unit 160 that has received the instruction sequence S1 to be executed in the function processing unit 200 decodes each instruction of the received instruction sequence S1, and receives a control instruction S11 indicating the content of the instruction obtained as a result of the decoding. Issued to the processor 100 or the like, and simultaneously notifies the instruction management unit 170 that the control command S11 has been issued to the processor 100 or the like as an instruction issue notification.

発行制御部160から出力された制御命令S11を受信したプロセッサ100の構成部位である演算処理装置110、内部制御命令処理部120および外部制御命令処理部130は、それぞれこの制御命令S11に基づいた動作指示にしたがって、処理を開始する。   The arithmetic processing unit 110, the internal control command processing unit 120, and the external control command processing unit 130, which are components of the processor 100 that has received the control command S11 output from the issue control unit 160, operate based on the control command S11. Start processing according to the instructions.

演算処理装置110は、受信した制御命令S11にしたがって、加算、乗算などの四則演算や、論理演算などの各種演算処理を行い、演算結果を出力する。   The arithmetic processing unit 110 performs various arithmetic processing such as four arithmetic operations such as addition and multiplication and logical operation in accordance with the received control command S11, and outputs the operation result.

内部制御命令処理部120は、機能処理部200内のステータスを得て、この得たステータスに応じた機能処理部200内のステータス制御動作を行う。   The internal control command processing unit 120 obtains the status in the function processing unit 200 and performs a status control operation in the function processing unit 200 according to the obtained status.

外部制御命令処理部130は、機能処理部200内外とのメモリアクセス制御やI/Oアクセス制御を行う。   The external control command processing unit 130 performs memory access control and I / O access control with the function processing unit 200 inside and outside.

プロセッサ100の構成部位である演算処理装置110、内部制御命令処理部120および外部制御命令処理部130は、発行制御部160から受信した制御命令S11にしたがいおのおのの処理の実行を完了する。   The arithmetic processing unit 110, the internal control command processing unit 120, and the external control command processing unit 130, which are constituent parts of the processor 100, complete the execution of each process according to the control command S11 received from the issue control unit 160.

プロセッサ100は、これらの制御命令S11の処理が完了すると、完了したことを命令完了通知S3として命令管理部170へ通知する。   When the processing of the control command S11 is completed, the processor 100 notifies the command management unit 170 of the completion as a command completion notification S3.

命令管理部170は、発行制御部160から通知される命令発行通知と、プロセッサ100から通知される命令完了通知S3とを受け、この命令発行通知と命令完了通知S3との対応により、機能処理部200内で仕掛中の制御命令S11があるか否かを監視する。   The instruction management unit 170 receives the instruction issuance notification notified from the issuance control unit 160 and the instruction completion notification S3 notified from the processor 100. The function processing unit responds to the correspondence between the instruction issuance notification and the instruction completion notification S3 In 200, it is monitored whether there is a control command S11 in progress.

命令管理部170は、機能処理部200内で仕掛中の制御命令S11があるか否かが分かると、これを命令管理部170に設けた状態レジスタに記憶する。   When it is determined whether or not there is a control command S11 in progress in the function processing unit 200, the command management unit 170 stores the control command S11 in a state register provided in the command management unit 170.

また、発行制御部160は、先行して実行している制御命令S11の完了を待ってから処理することを必要とするインオーダ処理命令をデコードすると、このインオーダ処理命令に先行して実行しているインオーダ前置命令の処理が完了するまで後続の制御命令S11の発行を停止し、インオーダ前置命令が仕掛かっておりインオーダ処理命令発行待ちの状態にあることを示す発行待機通知として命令管理部170へ通知する。   When the issuance control unit 160 decodes an in-order processing instruction that needs to be processed after waiting for completion of the control instruction S11 that has been executed in advance, the issuance control unit 160 executes the in-order processing instruction in advance. The issuing of the subsequent control instruction S11 is stopped until the processing of the in-order pre-instruction is completed, and is issued to the instruction management unit 170 as an issuance wait notification indicating that the in-order pre-instruction is in progress and is in a state of waiting for the in-order processing instruction issuance. Notice.

このインオーダ処理命令の発行待ちの状態は、プロセッサ100がインオーダ前置命令の処理を終えて、プロセッサ100の仕掛中の処理がなくなったことをプロセッサ100が命令管理部170に命令完了通知S3として通知すると、発行待ちの解除が可能な状態となる。   In this in-order processing instruction issuance waiting state, the processor 100 notifies the instruction management unit 170 as an instruction completion notification S3 that the processor 100 has finished processing the in-order pre-instruction and that the processor 100 is no longer in process. Then, it becomes possible to cancel the issuance wait.

命令管理部170は、プロセッサ100から命令完了通知S3として受け取ると、後続の命令発行待ちが解除できることを動作ステータスS6の1つである待機終了通知として発行制御部160に通知する。   When receiving the instruction completion notification S3 from the processor 100, the instruction management unit 170 notifies the issuance control unit 160 that the waiting for subsequent instruction issuance can be canceled as a standby end notification which is one of the operation statuses S6.

ただし、このとき診断プロセッサ390からモード状態通知S4の1つであるモード変更通知があるときは、プロセッサ100がインオーダ前置命令の処理を終えた後、診断プロセッサ390からの指示により動作モードレジスタ群180の変更を完了させてから、命令管理部170は診断プロセッサ390からのモード状態通知S4の1つである動作モード変更終了通知に基づいて命令発行待ちが解除できることを待機終了通知として発行制御部160に通知するとよい。   However, at this time, when there is a mode change notification that is one of the mode state notifications S4 from the diagnostic processor 390, after the processor 100 finishes the processing of the in-order pre-instruction, the operation mode register group according to the instruction from the diagnostic processor 390 After completing the change of 180, the instruction control unit 170 issues an issue control unit as a standby end notification that the instruction issue wait can be released based on the operation mode change end notification which is one of the mode state notifications S4 from the diagnostic processor 390. 160 may be notified.

診断プロセッサ390は、プロセッサ100などの各機能部からの割込みを受信した際に障害処理の実行制御を行うほか、ハードウェア的に備えた動作モードの変更を要求する動作モード変更要求S2をコンソール600などから受け付けると、この変更要求に応じて命令管理部170へモード状態通知S4の1つであるモード変更通知として送信する。   The diagnostic processor 390 controls the execution of fault processing when receiving an interrupt from each functional unit such as the processor 100, and also issues an operation mode change request S2 for requesting a change of the operation mode provided in hardware to the console 600. In response to this change request, it is transmitted to the instruction management unit 170 as a mode change notification which is one of the mode state notifications S4.

命令管理部170は、発行状態通知S5の発行待機通知と、モード状態通知S4のモード変更通知とを受け取ると、これらの通知にしたがい、機能処理部200内の状態を命令管理部170に設けた状態レジスタに記憶する。   Upon receiving the issuance waiting notification of the issuance state notification S5 and the mode change notification of the mode state notification S4, the instruction management unit 170 provides the state of the function processing unit 200 in the instruction management unit 170 according to these notifications. Store in the status register.

この命令管理部170の構成例を、図2に示す。   A configuration example of the command management unit 170 is shown in FIG.

図示したように、命令管理部170は、通知を受けた状態を示す状態レジスタ171を備えており、この状態レジスタ171は、命令発行通知および命令完了通知S3の受信に対応し仕掛中の制御命令S11(図1参照)の有無を示すEビット172と、インオーダ処理命令発行待ちであるか否かを示すIビット173と、診断プロセッサ390からのモード状態通知S4の1つであるモード変更通知に対応したCビット174の3ビットの状態フラグによる構成となっている。   As shown in the figure, the instruction management unit 170 includes a status register 171 that indicates a status of receiving the notification. This status register 171 corresponds to the reception of the command issue notification and the command completion notification S3. An E bit 172 indicating the presence / absence of S11 (see FIG. 1), an I bit 173 indicating whether or not the in-order processing instruction is waiting to be issued, and a mode change notification S4 from the diagnostic processor 390 are provided. The corresponding C bit 174 has a 3-bit status flag.

この状態レジスタ171の状態フラグEビット172、Iビット173およびCビット174の各々の論理値の定義を、図3に示す。   The definitions of the logical values of the status flag E bit 172, I bit 173, and C bit 174 of the status register 171 are shown in FIG.

図示したように、左方から状態フラグの種別を示す欄、各状態フラグの論理値の欄、論理値に対応したプロセッサの状態(動作ステータス)および通知の有無を示す欄から構成されている。   As shown in the drawing, the column includes a column indicating the status flag type from the left, a logical value column for each status flag, a processor state (operation status) corresponding to the logical value, and a column indicating the presence / absence of notification.

Eビット172は、発行制御部160から命令発行通知を受けたときに論理値「0」にリセットされ、この論理値「0」が示されていることにより、プロセッサ100が制御命令S11(図1参照)の仕掛実行中であることを表している。   The E bit 172 is reset to the logical value “0” when the instruction issuance notification is received from the issuance control unit 160, and this logical value “0” is indicated, whereby the processor 100 controls the control instruction S11 (FIG. 1). (See) is in progress.

Eビット172は、プロセッサ100から命令完了通知S3を受けたときに論理値「1」にセットされ、この論理値「1」が示されていることにより、プロセッサ100が制御命令S11の実行を完了したか、仕掛中の処理がないことを表している。   The E bit 172 is set to a logical value “1” when the instruction completion notification S3 is received from the processor 100, and the processor 100 completes the execution of the control instruction S11 by indicating this logical value “1”. It means that there is no process in progress.

また、命令管理部170の仕掛中の制御命令S11があるか否かを監視は、発行制御部160からの命令発行通知とプロセッサ100からの命令完了通知S3を照合し、この照合によって機能処理部200で仕掛中の制御命令S11があると判定した場合に、Eビット172を論理値「0」にリセットし、仕掛中の制御命令S11がなくなったと判定した場合に、Eビット172を論理値「1」にセットすることでもよい。   The instruction management unit 170 monitors whether or not there is an in-process control instruction S11 by collating the instruction issuance notification from the issuance control unit 160 with the instruction completion notification S3 from the processor 100, and by this collation, the function processing unit When it is determined at 200 that there is a control command S11 in progress, the E bit 172 is reset to the logical value “0”, and when it is determined that there is no control command S11 in progress, the E bit 172 is set to the logical value “0”. It may be set to “1”.

Iビット173は、発行制御部160から発行待機通知を受けたときに論理値「1」にセットされ、この論理値「1」が示されていることによりプロセッサ100がインオーダ前置命令の仕掛中であることを表している。   The I bit 173 is set to a logical value “1” when an issuance standby notification is received from the issuance control unit 160, and this logical value “1” indicates that the processor 100 is in the process of in-order pre-instruction. It represents that.

また、Iビット173は、この論理値「1」が示されていることにより、発行制御部160はこのインオーダ前置命令に後続するインオーダ処理命令の発行待ち状態となっていることを表している。   The I bit 173 indicates that the issuance control unit 160 is in a state of waiting for issuance of an in-order processing instruction subsequent to the in-order pre-order instruction by indicating the logical value “1”. .

Iビット173は、命令管理部170から発行制御部160に動作ステータスS6の1つである待機終了通知を出力したときに論理値「0」にリセットされ、論理値「0」にリセットされているときにはプロセッサ100において仕掛中のインオーダ前置命令がないかインオーダ前置命令の実行が完了しており、発行制御部160はインオーダ処理命令の発行待ち状態ではないことを表している。   The I bit 173 is reset to the logical value “0” when the instruction management unit 170 outputs a standby end notification that is one of the operation statuses S6 to the issue control unit 160, and is reset to the logical value “0”. Sometimes, there is no in-order pre-order in progress in the processor 100 or the execution of the in-order pre-order has been completed, indicating that the issuance control unit 160 is not waiting for the in-order processing instruction to be issued.

なお、インオーダ前置命令の処理は終了したが、何らかの理由で発行制御部160において後続のインオーダ処理命令の発行待ちが継続しているときには、Iビット173は論理値「1」にセットされたままとなる。この後、発行制御部160のインオーダ処理命令の発行待ちが解除されたときに待機終了通知が出力され、Iビット173は論理値「0」にリセットされる。   Note that the processing of the in-order pre-instruction has been completed, but if for some reason the issuance of the subsequent in-order processing instruction is continued in the issuance control unit 160, the I bit 173 remains set to the logical value “1”. It becomes. Thereafter, when the issuance of the in-order processing instruction of the issuance control unit 160 is released, a standby end notification is output, and the I bit 173 is reset to the logical value “0”.

また、インオーダ前置命令の仕掛中であるときには、プロセッサ100がこのインオーダ前置命令の実行中であることから、状態レジスタ171は、説明したようにIビット173が論理値「1」にセットされるほか、当然Eビット172もこのインオーダ前置命令の実行中であることから制御命令S11の仕掛実行中を示す論理値「0」にリセットされる。   When the in-order pre-instruction is in progress, since the processor 100 is executing the in-order pre-instruction, the status register 171 sets the I bit 173 to the logical value “1” as described above. In addition, the E bit 172 is also reset to the logical value “0” indicating that the in-order execution of the control instruction S11 is being executed because the in-order pre-instruction is being executed.

このときも、プロセッサ100から出力される命令完了通知S3によって、Eビット172は論理値「1」にセットされる。   Also at this time, the E bit 172 is set to the logical value “1” by the instruction completion notification S3 output from the processor 100.

Cビット174は、診断プロセッサ390からモード状態通知S4の1つであるモード変更通知を受けたときに論理値「1」にセットされ、この論理値「1」が示されていることにより、診断プロセッサ390がコンソール600からハードウェアの動作モード変更要求S2を受けていることを表しており、論理値「0」にリセットされているときにはコンソール600でハードウェアの動作モード変更要求S2がないか、動作モードの変更の指示が完了しモード状態通知S4の1つである動作モード変更終了通知を命令管理部170で受けていることを表している。   The C bit 174 is set to a logical value “1” when a mode change notification, which is one of the mode state notifications S4, is received from the diagnostic processor 390, and this logical value “1” is indicated. This indicates that the processor 390 has received the hardware operation mode change request S2 from the console 600. When the processor 390 is reset to the logical value “0”, the console 600 does not have the hardware operation mode change request S2. This indicates that the instruction management unit 170 has received the operation mode change end notification, which is one of the mode state notifications S4, after the operation mode change instruction has been completed.

このように発行制御部160は、主記憶部340から取り込んだ命令列S1をデコードし、この命令列S1にインオーダ処理命令が含まれていると認識すると命令管理部170に発行待機通知を通知して、この発行待機通知を受けたことにより命令管理部170は、命令管理部170内に備えた状態レジスタ171のIビット173に論理値「1」をセットする。   In this way, the issue control unit 160 decodes the instruction sequence S1 fetched from the main storage unit 340, and if the instruction sequence S1 recognizes that the in-order processing instruction is included in the instruction sequence S1, notifies the instruction management unit 170 of an issue standby notification. In response to this issuance standby notification, the instruction management unit 170 sets a logical value “1” in the I bit 173 of the status register 171 provided in the instruction management unit 170.

また、診断プロセッサ390が動作モード変更要求S2を受け付けると、診断プロセッサ390はモード状態通知S4の1つであるモード変更通知を命令管理部170内に出力し、命令管理部170は、このモード変更通知を受けたことにより命令管理部170内に備えた状態レジスタ171のCビット174に論理値「1」をセットする。   When the diagnostic processor 390 receives the operation mode change request S2, the diagnostic processor 390 outputs a mode change notification, which is one of the mode state notifications S4, to the instruction management unit 170, and the instruction management unit 170 performs the mode change notification. When the notification is received, a logical value “1” is set in the C bit 174 of the status register 171 provided in the instruction management unit 170.

このように定義された3ビットの状態フラグによって、機能処理部200の状態および通知の有無を示すことができる。   The state of the function processing unit 200 and the presence / absence of notification can be indicated by the 3-bit status flag defined as described above.

命令管理部170は、待機終了通知の他、必要に応じてこれらEビットおよびIビットならびにCビットのおのおののセットまたはリセットの状態を発行制御部160に命令実行の動作ステータスS6として通知する。   The instruction management unit 170 notifies the issuance control unit 160 of the set or reset state of the E bit, I bit, and C bit as the operation status S6 of instruction execution, if necessary, in addition to the standby end notification.

命令管理部170の3ビットの状態フラグの示した状態によって、プロセッサ100は以下の通りの動作ステータスとなっている。   Depending on the state indicated by the 3-bit status flag of the instruction management unit 170, the processor 100 has the following operation status.

図4に、3ビットの状態フラグ171とプロセッサ100の動作ステータスを示す。   FIG. 4 shows a 3-bit status flag 171 and the operation status of the processor 100.

図示したように、図の1行目には左方からCビット174の欄、Iビット173の欄、Eビット172の欄があり、その右方に対応するプロセッサ100の動作ステータスを示す欄がある。   As shown in the figure, in the first line, there are a C bit 174 column, an I bit 173 column, and an E bit 172 column from the left, and a column indicating the operation status of the processor 100 corresponding to the right side. is there.

図の2行目のCビット174の論理値「0」は、モード状態通知S4の1つであるモード変更通知がないことを示し、Iビット173の論理値「0」は、インオーダ処理命令の発行待ちがないことを示し、Eビット172の論理値「0」は、プロセッサ100に仕掛中の制御命令S11があることを示しており、プロセッサ100の動作ステータスを示す欄から制御命令S11の仕掛実行中のステータスであることが分かる。   The logical value “0” of the C bit 174 in the second row in the figure indicates that there is no mode change notification that is one of the mode state notifications S4, and the logical value “0” of the I bit 173 indicates the in-order processing instruction. The logical value “0” of the E bit 172 indicates that there is no issue waiting, and that there is a control instruction S11 in progress in the processor 100, and the control instruction S11 is in progress from the column indicating the operation status of the processor 100. It can be seen that the status is being executed.

同様に図の3行目のCビット174の論理値「0」は、モード変更通知がないことを示し、Iビット173の論理値「0」は、インオーダ処理命令の発行待ちがないことを示し、Eビット172の論理値「1」は、プロセッサ100に仕掛中の制御命令S11がないことを示しており、制御命令S11の仕掛なしのステータスであることが分かる。   Similarly, the logical value “0” of the C bit 174 in the third row in the figure indicates that there is no mode change notification, and the logical value “0” of the I bit 173 indicates that there is no waiting for issuing an in-order processing instruction. , The logical value “1” of the E bit 172 indicates that there is no control instruction S11 in progress in the processor 100, and it can be seen that the control instruction S11 has a no-in-progress status.

図の4行目のCビット174の論理値「0」は、モード変更通知がないことを示し、Iビット173の論理値「1」は、インオーダ処理命令の発行待ちであることを示し、Eビット172の論理値「0」は、プロセッサ100に仕掛中の制御命令S11があることを示しており、制御命令S11の仕掛完了待ちのステータスであることが分かる。   The logical value “0” of the C bit 174 in the fourth row in the figure indicates that there is no mode change notification, the logical value “1” of the I bit 173 indicates that the in-order processing instruction is waiting to be issued, and E The logical value “0” of the bit 172 indicates that there is a control instruction S11 in progress in the processor 100, and it can be seen that this is a status of waiting for completion of the control instruction S11.

図の5行目のCビット174の論理値「0」は、モード変更通知がないことを示し、Iビット173の論理値「1」は、インオーダ処理命令の発行待ちであることを示し、Eビット172の論理値「1」は、プロセッサ100に仕掛中の制御命令S11がないことを示しており、インオーダ処理命令処理開始のステータスであることが分かる。   The logical value “0” of the C bit 174 in the fifth row in the figure indicates that there is no mode change notification, the logical value “1” of the I bit 173 indicates that the in-order processing instruction is waiting to be issued, and E The logical value “1” of the bit 172 indicates that there is no control instruction S11 in progress in the processor 100, and it can be seen that this is the status of in-order processing instruction processing start.

図の6行目のCビット174の論理値「1」は、モード変更通知があることを示し、Iビット173の論理値「0」は、インオーダ処理命令の発行待ちがないことを示し、Eビット172の論理値「0」は、プロセッサ100に仕掛中の制御命令S11があることを示しており、制御命令S11の仕掛完了待ちのステータスであることが分かる。   The logical value “1” of the C bit 174 in the sixth row in the figure indicates that there is a mode change notification, the logical value “0” of the I bit 173 indicates that there is no waiting for an in-order processing instruction, and E The logical value “0” of the bit 172 indicates that there is a control instruction S11 in progress in the processor 100, and it can be seen that this is a status of waiting for completion of the control instruction S11.

同様に図の7行目のCビット174の論理値「1」は、モード変更通知があることを示し、Iビット173の論理値「0」は、インオーダ処理命令の発行待ちがないことを示し、Eビット172の論理値「1」は、プロセッサ100に仕掛中の制御命令S11がないことを示しており、動作モード変更開始のステータスであることが分かる。   Similarly, the logical value “1” of the C bit 174 in the seventh row in the figure indicates that there is a mode change notification, and the logical value “0” of the I bit 173 indicates that there is no waiting for an in-order processing instruction to be issued. , The logical value “1” of the E bit 172 indicates that there is no control instruction S11 in progress in the processor 100, and it can be seen that the operation mode change start status.

図の8行目のCビット174の論理値「1」は、モード変更通知があることを示し、Iビット173の論理値「1」は、インオーダ処理命令の発行待ちであることを示し、Eビット172の論理値「0」は、プロセッサ100に仕掛中の制御命令S11があることを示しており、制御命令S11の仕掛完了待ちのステータスであることが分かる。   The logical value “1” of the C bit 174 in the eighth row in the figure indicates that there is a mode change notification, the logical value “1” of the I bit 173 indicates that the in-order processing instruction is waiting to be issued, and E The logical value “0” of the bit 172 indicates that there is a control instruction S11 in progress in the processor 100, and it can be seen that this is a status of waiting for completion of the control instruction S11.

図の9行目のCビット174の論理値「1」は、モード変更通知があることを示し、Iビット173の論理値「1」は、インオーダ処理命令の発行待ちであることを示し、Eビット172の論理値「1」は、プロセッサ100に仕掛中の制御命令S11がないことを示しており、インオーダ処理命令発行待ちのステータスであることが分かる。   The logical value “1” of the C bit 174 in the ninth line in the figure indicates that there is a mode change notification, the logical value “1” of the I bit 173 indicates that the in-order processing instruction is waiting to be issued, and E The logical value “1” of the bit 172 indicates that there is no control instruction S11 in progress in the processor 100, and it can be seen that the status is awaiting issuance of an in-order processing instruction.

初期状態ではモード状態通知S4の1つであるモード変更通知がないとすると、ここまで説明した状態レジスタ171の示す状態によって、既に説明した発行制御部160が各命令をデコードし、デコードした結果得られた制御命令S11によりプロセッサ100がこれらの制御命令S11に基づいた動作指示にしたがって処理をしているときには、Cビットが論理値「0」に設定され、Iビットが論理値「0」に設定され、Eビットが論理値「0」に設定されている。   If there is no mode change notification that is one of the mode state notifications S4 in the initial state, the issue control unit 160 described above decodes each instruction according to the state indicated by the state register 171 described above, and obtains the result of decoding. When the processor 100 is processing according to the operation instruction based on these control instructions S11, the C bit is set to the logical value “0” and the I bit is set to the logical value “0”. The E bit is set to the logical value “0”.

この状態は、既に説明した図4の2行目に示す制御命令S11の仕掛実行中のステータスである。   This state is a status during execution of the in-process control instruction S11 shown in the second line of FIG.

次に発行制御部160は、主記憶部340から出力された命令列S1に含まれたインオーダ処理命令をデコードすると、デコードした後、既にプロセッサ100で実行中の制御命令S11が完了することを待っているインオーダ処理命令発行待ち状態となる。   Next, the issuance control unit 160 decodes the in-order processing instruction included in the instruction sequence S1 output from the main storage unit 340. After the decoding, the issuance control unit 160 waits for the completion of the control instruction S11 that is already being executed by the processor 100. The in-order processing instruction issuance waiting state.

このとき発行制御部160は、命令管理部170に対してインオーダ処理命令の発行待ちであることを発行待機通知として命令管理部170へ通知し、命令管理部170はIビット173を論理値「1」にセットする。   At this time, the issuance control unit 160 notifies the instruction management unit 170 that it is waiting to issue an in-order processing instruction to the instruction management unit 170 as an issuance waiting notification, and the instruction management unit 170 sets the I bit 173 to the logical value “1”. Set to "".

この結果この状態は、既に説明した図4の4行目に示す仕掛制御命令完了待ちのステータスにある。   As a result, this state is in the status of waiting for completion of the in-process control instruction shown in the fourth line of FIG.

次に命令管理部170は、プロセッサ100で仕掛中の制御命令S11が実行が完了して仕掛中の制御命令S11がなくなるのをプロセッサ100からの命令完了通知S3により確認すると、Eビット172を点灯して論理値「1」にセットする。   Next, the instruction management unit 170 turns on the E bit 172 when it is confirmed by the instruction completion notification S3 from the processor 100 that the execution of the control instruction S11 in progress in the processor 100 is completed and there is no control instruction S11 in progress. To set the logical value “1”.

この状態は、既に説明した図4の5行目に示すインオーダ処理命令開始のステータスである。   This state is the status of the in-order processing instruction start shown in the fifth line of FIG. 4 already described.

このとき、Cビット174が点灯していない論理値「0」である場合は、命令管理部170は発行制御部160に対して一時停止していたインオーダ処理命令発行の再開を待機終了通知を出力して発行制御部160に指示すると同時に、状態レジスタ171のIビット173およびEビット172をリセットして共に論理値「0」にする。   At this time, when the C bit 174 is not lit and the logical value is “0”, the instruction management unit 170 outputs a standby end notification to the issuance control unit 160 to resume the issuance of the in-order processing instruction that has been paused. At the same time, the issuance control unit 160 is instructed, and at the same time, the I bit 173 and the E bit 172 of the status register 171 are reset to both logical values “0”.

この状態は、既に説明した図4の2行目に示す制御命令S11の仕掛実行中のステータスである。   This state is a status during execution of the in-process control instruction S11 shown in the second line of FIG.

さらに診断プロセッサ390は、コンソール600などから動作モード変更要求S2を受け付けると、命令管理部170にモード変更通知を通知する。診断プロセッサ390からモード変更通知を受け取った命令管理部170は、この診断プロセッサ390からのモード変更通知によって、Cビット174を論理値「1」にセットする。   Further, when receiving the operation mode change request S2 from the console 600 or the like, the diagnosis processor 390 notifies the instruction management unit 170 of a mode change notification. The instruction management unit 170 that has received the mode change notification from the diagnostic processor 390 sets the C bit 174 to the logical value “1” in response to the mode change notification from the diagnostic processor 390.

この状態は、既に説明した図4の6行目に示す制御命令S11の仕掛完了待ちのステータスである。   This state is a status of waiting for completion of the in-process completion of the control instruction S11 shown in the sixth line of FIG.

命令管理部170は、診断プロセッサ390からモード変更通知を受けてCビット174がセットされたときに、Eビット172がセットされ、Iビット173がリセットされると、動作モードレジスタ群180の指定された動作モードレジスタ1809を診断プロセッサ390を介して書き換えることでプロセッサ100に動作モードの変更を指示する。   The instruction management unit 170 receives the mode change notification from the diagnostic processor 390, and when the C bit 174 is set, when the E bit 172 is set and the I bit 173 is reset, the instruction mode register group 180 is designated. The operation mode register 1809 is rewritten through the diagnostic processor 390 to instruct the processor 100 to change the operation mode.

すなわち命令管理部170は、プロセッサ100から命令完了通知S3を受け取ることにより実行する制御命令S11がなくなるのを確認すると、Eビット172を点灯(論理値「1」にセット)し、Cビット174が論理値「1」にセットされている場合は、動作モードレジスタ群180の変更を行うために診断プロセッサ390に対して変更開始指示S9を通知する。   That is, when the instruction management unit 170 confirms that there is no control instruction S11 to be executed by receiving the instruction completion notification S3 from the processor 100, the E bit 172 is turned on (set to the logical value “1”), and the C bit 174 is set. When the logical value is set to “1”, a change start instruction S9 is notified to the diagnostic processor 390 in order to change the operation mode register group 180.

この状態は、既に説明した図4の7行目に示す動作モード変更開始のステータスである。   This state is the operation mode change start status shown in the seventh line of FIG. 4 already described.

診断プロセッサ390は、命令管理部170から変更開始指示S9を受信すると、診断プロセッサ390から出力されたモード指定通知S7にしたがって動作モードレジスタ群180の指定された動作モードレジスタ1809を変更する。   When the diagnosis processor 390 receives the change start instruction S9 from the instruction management unit 170, the diagnosis processor 390 changes the specified operation mode register 1809 of the operation mode register group 180 in accordance with the mode specification notification S7 output from the diagnosis processor 390.

この動作モードレジスタ1809が変更されたことにより、この動作モードレジスタ1809の状態はプロセッサ100、メモリ制御部345および入出力制御部350などにモード変更指示S8として通知され、プロセッサ100、メモリ制御部345および入出力制御部350などの動作モードがダイナミックに変更される。   As the operation mode register 1809 is changed, the state of the operation mode register 1809 is notified as a mode change instruction S8 to the processor 100, the memory control unit 345, the input / output control unit 350, and the like, and the processor 100, the memory control unit 345 In addition, the operation mode of the input / output control unit 350 or the like is dynamically changed.

診断プロセッサ390は、変更開始指示S9による動作モードレジスタ1809の変更が完了すると、命令管理部170へモード状態通知S4の1つである動作モード変更終了通知を送信する。   When the change of the operation mode register 1809 by the change start instruction S9 is completed, the diagnosis processor 390 transmits an operation mode change end notification, which is one of the mode state notifications S4, to the instruction management unit 170.

命令管理部170は、診断プロセッサ390からモード状態通知S4の1つである動作モード変更終了通知を受信すると、Eビット172、Iビット173およびCビット174をリセットして各々論理値「0」とし、発行制御部160へ後続の制御命令S11発行の開始を通知する。   When receiving the operation mode change end notification, which is one of the mode state notifications S4, from the diagnostic processor 390, the instruction management unit 170 resets the E bit 172, the I bit 173, and the C bit 174 to each logical value “0”. , The issue control unit 160 is notified of the start of issue of the subsequent control command S11.

この状態は、既に説明した図4の2行目に示す制御命令S11の仕掛実行中のステータスである。   This state is a status during execution of the in-process control instruction S11 shown in the second line of FIG.

Cビット174とIビット173がともに論理値「1」を点灯していた場合すなわち図4の8行目に示す制御命令S11の仕掛完了待ちまたは図4の9行目に示すインオーダ処理命令発行待ちのステータスの場合には、上述の動作モード変更処理を実行した後、Eビット172、Iビット173およびCビット174をリセットして各々論理値「0」とし、発行制御部160へデコードされた後続の制御命令S11発行の開始を指示する待機終了通知を出力する。   When both the C bit 174 and the I bit 173 are lit with the logical value "1", that is, waiting for the completion of the control instruction S11 shown in the eighth line of FIG. 4 or waiting for the in-order processing instruction issuance shown in the ninth line of FIG. In the case of the status, the above-described operation mode change process is executed, and then the E bit 172, the I bit 173, and the C bit 174 are reset to the logical value “0” and decoded to the issuance control unit 160. A standby end notification instructing the start of issuing the control command S11 is output.

この状態も、既に説明した図4の2行目に示す制御命令S11の仕掛実行中のステータスである。   This state is also the status during the in-process execution of the control instruction S11 shown in the second line of FIG.

以上説明したような動作モードレジスタ群180、動作モードレジスタ1800は、機能処理部200ばかりでなく一般的にメモリ制御部345および入出力制御部350などの構成部位にも備えられており、これらの構成部位に備えられた動作モードレジスタも機能処理部200の動作モードレジスタ1800の変更のタイミングと同時に変更が実施されるとよい。   The operation mode register group 180 and the operation mode register 1800 as described above are provided not only in the function processing unit 200 but also in general components such as the memory control unit 345 and the input / output control unit 350. The operation mode register provided in the constituent part may be changed at the same time as the operation mode register 1800 of the function processing unit 200 is changed.

このように、本情報処理装置は、情報処理装置のシステム運用を継続したまま、システムの運用に支障をきたすことなく、複数のハードウェア動作モードを備えたプロセッサなどの情報処理装置内の各部におけるハードウェア動作モードをダイナミックに変更することのできる機能を有している。   As described above, the information processing apparatus can be used in each unit in the information processing apparatus such as a processor having a plurality of hardware operation modes without affecting the system operation while continuing the system operation of the information processing apparatus. The hardware operation mode can be dynamically changed.

以上説明したように、本発明においては、以下に記載するような効果を奏する。
(1)本情報処理装置は、システム運用中にハードウェア的に静的な状態を生成しシステムの動作モードを変更可能としているので、システムの運用を停止することなくダイナミックにいつでも変更できる。
(2)本情報処理装置は、ソフトウェアに依存せず、ハードウェアで変更機能を実現しているので、ほとんど性能低下することなく動作モードの変更が実施できる。
(3)本情報処理装置は、一般的なほとんどのプロセッサ、機能処理部が実装している機能を拡張することで実現しているので、最小のハードウェア量増加で実現できることである。
(4)本情報処理装置は、プロセッサでいかなる制御命令の実行中においても、ハードウェアの動作モードを安全に変更するタイミングをハードウェア的に生成し、ハードウェアの動作モードレジスタ群を変更可能とする。このため、本情報処理装置のシステム運用中でオペレーションシステムやユーザプロセスが動作中においてもソフトウェアの動作ステータスを意識することなく動的にハードウェア動作モードの変更が可能となる。
As described above, the present invention has the following effects.
(1) Since this information processing apparatus can change the system operation mode by generating a static state in hardware during system operation, it can be dynamically changed at any time without stopping the system operation.
(2) Since the information processing apparatus does not depend on software and implements a change function with hardware, the operation mode can be changed with almost no performance degradation.
(3) Since this information processing apparatus is realized by extending the functions implemented by most general processors and function processing units, it can be realized with a minimum increase in hardware.
(4) The information processing apparatus can generate the timing for safely changing the hardware operation mode in hardware while executing any control instruction in the processor, and can change the hardware operation mode register group. To do. Therefore, the hardware operation mode can be dynamically changed without being aware of the operation status of the software even when the operation system or the user process is operating during the system operation of the information processing apparatus.

本実施形態の情報処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the information processing apparatus of this embodiment. 本実施形態の情報処理装置の命令管理部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the command management part of the information processing apparatus of this embodiment. 命令管理部のCビット、Iビット、Eビットの論理値の定義を示した説明図である。It is explanatory drawing which showed the definition of the logical value of C bit, I bit, and E bit of an instruction management part. 命令管理部のCビット、Iビット、Eビットの設定状態およびプロセッサの動作ステータスを示す図である。It is a figure which shows the setting state of the C bit of a command management part, I bit, and E bit, and the operation status of a processor.

符号の説明Explanation of symbols

100 プロセッサ
110 演算処理装置
120 内部制御命令処理部
130 外部制御命令処理部
160 発行制御部
170 命令管理部
171 状態レジスタ
172 Eビット
173 Iビット
174 Cビット
180 動作モードレジスタ群
200 機能処理部
340 主記憶部
345 メモリ制御部
350 入出力制御部
390 診断プロセッサ
600 コンソール
1800 動作モードレジスタ
1809 指定された動作モードレジスタ
S1 命令列
S2 動作モード変更要求
S3 命令完了通知
S4 モード状態通知
S5 発行状態通知
S6 動作ステータス
S7 モード指定通知
S8 モード変更指示
S9 変更開始指示
S11 制御命令
DESCRIPTION OF SYMBOLS 100 Processor 110 Arithmetic processor 120 Internal control command processing part 130 External control command processing part 160 Issue control part 170 Instruction management part 171 Status register 172 E bit 173 I bit 174 C bit 180 Operation mode register group 200 Function processing part 340 Main memory Unit 345 Memory control unit 350 Input / output control unit 390 Diagnostic processor 600 Console 1800 Operation mode register 1809 Specified operation mode register S1 Command sequence S2 Operation mode change request S3 Command completion notification S4 Mode status notification S5 Issuing status notification S6 Operation status S7 Mode designation notification S8 Mode change instruction S9 Change start instruction S11 Control command

Claims (7)

与えられた命令列にしたがって各種演算処理を行うプロセッサを有し、該プロセッサの動作状態を規定する動作モードを複数有し、前記プロセッサの前記動作状態を監視するコンソールを有した情報処理装置において、
前記コンソールは、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力し、
前記プロセッサは、現在処理を行っている演算処理が終了した場合には命令完了通知を出力し、
前記コンソールから前記動作モード変更要求が出力されると、前記プロセッサから前記命令完了通知が出力された後に、前記プロセッサに前記動作モードの変更を指示する命令管理部を有することを特徴とする情報処理装置。
In an information processing apparatus having a processor that performs various arithmetic processing according to a given instruction sequence, having a plurality of operation modes that define the operation state of the processor, and having a console that monitors the operation state of the processor,
The console outputs an operation mode change request to change the operation mode according to the operation state of the processor;
The processor outputs an instruction completion notice when the arithmetic processing currently being processed is completed,
And an instruction management unit that instructs the processor to change the operation mode after the instruction completion notification is output from the processor when the operation mode change request is output from the console. apparatus.
請求項1に記載の情報処理装置において、
前記命令列が、所定の処理を行うインオーダ前置命令と該インオーダ前置命令による処理が必要となるインオーダ処理命令とが含まれるときに、前記インオーダ前置命令の処理が完了するまで前記インオーダ処理命令の発行を停止し、その旨を発行待機通知として前記命令管理部に出力する発行制御部を具備し、
前記命令管理部は、前記発行待機通知が出力された後に、前記命令完了通知が出力されると待機終了通知を前記発行制御部へ出力し、
前記発行制御部は、前記待機終了通知を受け付けると前記インオーダ処理命令の発行を行う情報処理装置。
The information processing apparatus according to claim 1,
The in-order processing until the processing of the in-order pre-instruction is completed when the instruction sequence includes an in-order pre-instruction for performing predetermined processing and an in-order processing instruction requiring processing by the in-order pre-instruction. An issuance control unit for stopping the issuance of an instruction and outputting a notice to that effect to the instruction management unit;
The command management unit outputs a standby end notification to the issue control unit when the command completion notification is output after the issue standby notification is output,
The issuance control unit is an information processing apparatus that issues the in-order processing instruction when receiving the standby end notification.
請求項1または2に記載の情報処理装置において、
前記コンソールから前記動作モード変更要求が出力されたときに、前記動作モード変更要求に応じてモード変更通知として前記命令管理部に出力する診断プロセッサをさらに備え、
前記命令管理部は、
前記命令完了通知を前記プロセッサから受信したときにセットされるEビットと、前記発行待機通知を前記発行制御部から受信したときにセットされるIビットと、前記モード変更通知を前記診断プロセッサから受信したときにセットされるCビットとからなる状態レジスタをさらに備え、
前記命令列が前記プロセッサで実行されているときは前記Eビットをリセットし、
前記命令管理部が前記待機終了通知を出力したときに前記Iビットをリセットし、
前記プロセッサへの前記動作モードの変更の指示が完了したときに前記Cビットをリセットする情報処理装置。
The information processing apparatus according to claim 1 or 2,
When the operation mode change request is output from the console, the diagnostic processor further outputs to the command management unit as a mode change notification in response to the operation mode change request,
The instruction management unit
The E bit that is set when the instruction completion notification is received from the processor, the I bit that is set when the issuance waiting notification is received from the issuance control unit, and the mode change notification are received from the diagnostic processor A status register consisting of a C bit set when
Reset the E bit when the instruction sequence is being executed by the processor;
Resetting the I bit when the instruction management unit outputs the standby end notification,
An information processing apparatus that resets the C bit when an instruction to change the operation mode to the processor is completed.
請求項3に記載の情報処理装置において、
前記命令管理部は、前記Eビットおよび前記Iビットならびに前記Cビットのおのおののセットまたはリセットの状態を前記プロセッサの命令実行の状態を示す動作ステータスとして前記発行制御部に通知する情報処理装置。
The information processing apparatus according to claim 3.
The information processing apparatus, wherein the instruction management unit notifies the issue control unit of an operation status indicating an instruction execution state of the processor with respect to a set or reset state of each of the E bit, the I bit, and the C bit.
請求項4に記載の情報処理装置において、
前記モード変更通知に応じて前記命令管理部から前記診断プロセッサに出される前記動作モードの変更開始指示によって、前記診断プロセッサによる書き換えが可能で、前記動作モードに対応した動作モードレジスタをさらに備え、
前記命令管理部は、前記モード変更通知を受けて前記Cビットがセットされたときに、前記Eビットがセットされ、前記Iビットがリセットされる場合には、前記動作モードレジスタを前記診断プロセッサを介して書き換えることで前記動作モードの変更を指示する情報処理装置。
The information processing apparatus according to claim 4,
According to the operation mode change start instruction issued from the instruction management unit to the diagnostic processor in response to the mode change notification, rewriting by the diagnostic processor is possible, and further includes an operation mode register corresponding to the operation mode,
When the C bit is set in response to the mode change notification, the instruction management unit sets the operation mode register to the diagnostic processor when the E bit is set and the I bit is reset. An information processing apparatus that instructs to change the operation mode by rewriting through the network.
与えられた命令列にしたがって各種演算処理を行うプロセッサと、該プロセッサの出力に応じて該プロセッサの動作状態を複数の動作モードのいずれかに規定する命令管理部と、前記プロセッサの前記動作状態を監視するコンソールとを備えた情報処理装置の制御方法において、
前記コンソールで行われる、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力するステップと、
前記プロセッサで行われる、現在処理を行っている演算処理が終了した場合には命令完了通知を出力するステップと、
前記命令管理部で行われる、前記コンソールからの前記動作モード変更要求の後に前記プロセッサから前記命令完了通知が出力されたときに、前記プロセッサに前記動作モードの変更を指示するステップと、を備えたことを特徴とする情報処理装置の制御方法。
A processor that performs various types of arithmetic processing according to a given instruction sequence; an instruction management unit that defines one of a plurality of operation modes according to an output of the processor; and the operation state of the processor. In a method for controlling an information processing apparatus including a console to be monitored,
Outputting an operation mode change request for changing the operation mode according to the operation state of the processor, performed at the console;
A step of outputting an instruction completion notification when the arithmetic processing performed by the processor is being performed;
Instructing the processor to change the operation mode when the instruction completion notification is output from the processor after the operation mode change request from the console, which is performed in the instruction management unit. A method for controlling an information processing apparatus.
与えられた命令列にしたがって各種演算処理を行うプロセッサと、該プロセッサの出力に応じて該プロセッサの動作状態を複数の動作モードのいずれかに規定する命令管理部と、前記プロセッサの前記動作状態を監視するコンソールと、を備えた情報処理装置の制御方法において、
前記コンソールで行われる、前記プロセッサの前記動作状態に応じて前記動作モードを変更する動作モード変更要求を出力するステップと、
前記プロセッサで行われる、現在処理を行っている演算処理が終了した場合には命令完了通知を出力するステップと、
前記命令管理部で行われる、前記コンソールからの前記動作モード変更要求の後に前記プロセッサから前記命令完了通知が出力されたときに、前記プロセッサに前記動作モードの変更を指示するステップと、
前記発行制御部で行われる、前記命令列に、所定の処理を行うインオーダ前置命令と該インオーダ前置命令による処理が必要となるインオーダ処理命令とが含まれるときに、前記インオーダ前置命令の処理が完了するまで前記インオーダ処理命令の発行を停止する制御を行い、その旨を発行待機通知として前記命令管理部に出力するステップと、
前記命令管理部で行われる、前記発行待機通知が出力された後に、前記命令完了通知が出力されると待機終了通知を前記発行制御部へ出力するステップと、
前記発行制御部で行われる、前記待機終了通知を受け付けた後に前記インオーダ処理命令の発行を行うステップと、を備えたことを特徴とする情報処理装置の制御方法。
A processor that performs various types of arithmetic processing according to a given instruction sequence; an instruction management unit that defines one of a plurality of operation modes according to an output of the processor; and the operation state of the processor. In a control method of an information processing device including a console to be monitored,
Outputting an operation mode change request for changing the operation mode according to the operation state of the processor, performed at the console;
A step of outputting an instruction completion notice when the arithmetic processing performed by the processor is being performed;
Instructing the processor to change the operation mode when the instruction completion notification is output from the processor after the operation mode change request from the console, which is performed in the instruction management unit;
When the instruction sequence performed by the issue control unit includes an in-order prefix instruction for performing a predetermined process and an in-order processing instruction that requires processing by the in-order prefix instruction, the in-order prefix instruction Performing a control to stop issuing the in-order processing instruction until the process is completed, and outputting the fact to the instruction management unit as an issue standby notification;
Outputting the standby end notification to the issuance control unit when the instruction completion notification is output after the issuance standby notification is output, which is performed in the instruction management unit;
And a step of issuing the in-order processing command after receiving the standby end notification, which is performed by the issuance control unit.
JP2005357922A 2005-12-12 2005-12-12 Information processing apparatus and control method thereof Expired - Fee Related JP5194360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005357922A JP5194360B2 (en) 2005-12-12 2005-12-12 Information processing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005357922A JP5194360B2 (en) 2005-12-12 2005-12-12 Information processing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2007164354A true JP2007164354A (en) 2007-06-28
JP5194360B2 JP5194360B2 (en) 2013-05-08

Family

ID=38247192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005357922A Expired - Fee Related JP5194360B2 (en) 2005-12-12 2005-12-12 Information processing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5194360B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01291327A (en) * 1988-05-18 1989-11-22 Hitachi Ltd Processing mode prefetch control system
JPH09274567A (en) * 1996-04-08 1997-10-21 Hitachi Ltd Execution control method for program and processor for the same
JP2000330826A (en) * 1999-05-19 2000-11-30 Arm Ltd Data processor for executing debugging instruction and data processing method
JP2002163636A (en) * 2000-11-27 2002-06-07 Omron Corp Visual examination device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01291327A (en) * 1988-05-18 1989-11-22 Hitachi Ltd Processing mode prefetch control system
JPH09274567A (en) * 1996-04-08 1997-10-21 Hitachi Ltd Execution control method for program and processor for the same
JP2000330826A (en) * 1999-05-19 2000-11-30 Arm Ltd Data processor for executing debugging instruction and data processing method
JP2002163636A (en) * 2000-11-27 2002-06-07 Omron Corp Visual examination device

Also Published As

Publication number Publication date
JP5194360B2 (en) 2013-05-08

Similar Documents

Publication Publication Date Title
WO2009157178A1 (en) Virtual computer control device, virtual computer control program, and virtual computer control circuit
JP5776688B2 (en) Information processing apparatus and task switching method
CN109933451B (en) RISC-V architecture based exception and interrupt handling system and method
JP2875842B2 (en) Programmable controller
JP2005050208A (en) Memory managing system in multi-task system and task controller
JP4837247B2 (en) Processor
WO2009098737A1 (en) External device access apparatus, its controlling method and system lsi
JP3900499B2 (en) Method and apparatus for using FPGA technology with a microprocessor for reconfigurable, instruction level hardware acceleration
JP5194360B2 (en) Information processing apparatus and control method thereof
JP2007172096A (en) Information processor and start control method
JP2004348327A (en) Digital signal processor and digital signal processing method
US10540222B2 (en) Data access device and access error notification method
JP2009116445A (en) Programmable controller capable of executing a plurality of sequence programs in parallel
JPS5854418A (en) Interruption processing system
JP2007316986A (en) System lsi
JP2009271597A (en) Processor
JP2008225710A (en) Computer system and process-switching method used in the system
JP3127737B2 (en) Digital signal processor
JP3139310B2 (en) Digital signal processor
JP2006099654A (en) Semiconductor circuit apparatus
JP2011150636A (en) Microprocessor and control method thereof
JPH03292527A (en) Arithmetic unit
JPH03149621A (en) Microprocessor
JPS58159160A (en) Data processor
JP2008299740A (en) Asynchronous microprocessor and electronic information device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121211

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5194360

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees