JPS603026A - Information processor - Google Patents

Information processor

Info

Publication number
JPS603026A
JPS603026A JP10918083A JP10918083A JPS603026A JP S603026 A JPS603026 A JP S603026A JP 10918083 A JP10918083 A JP 10918083A JP 10918083 A JP10918083 A JP 10918083A JP S603026 A JPS603026 A JP S603026A
Authority
JP
Japan
Prior art keywords
register
virtual
identification information
circuit
information
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
JP10918083A
Other languages
Japanese (ja)
Inventor
Saburo Otaki
大滝 三郎
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP10918083A priority Critical patent/JPS603026A/en
Publication of JPS603026A publication Critical patent/JPS603026A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

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

Abstract

PURPOSE:To perform fast process switching by performing conversion from a virtual process number to an actual process number through a group of registers corresponding to plural actual processes. CONSTITUTION:An information processor includes a process control part 10, actual process register group 20, virtual process identifier information register 30, register specifying register 40, registered virtual process identifier information holding register 50, comparing circuit 60, and communicating circuit 70. The process control circuit 10 uses said holding circuit 50 and comparing circuit 60 to convert a virtual process number into an actual process number, which is used as a part of an address to the actual process register group 20.

Description

【発明の詳細な説明】 本発明は多重プログラミングの可能な情報処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device capable of multiple programming.

従来の多重プログラミング可能な情報処理装置において
は、成るプロセスが走行しているときにそのプロセスよ
りも高い優先順位のプロセスが実行可能どなったとき、
現在走行中のブ【7セスを主犯゛[、は上のプロセス制
御ブロックに情報処理装置内レジスタ潜を退避し、イ夏
先順位の高いプロセスに対応する主記憶」二のプロセス
制御ブロックから情報処理装置内レジヌタI旧二格納す
ることによりプロセスのLJJ替えを行なっている。
In conventional multi-programmable information processing devices, when a process is running and a process with a higher priority than that process becomes executable,
The currently running process [7] is the main culprit, and the registers in the information processing device are saved to the upper process control block, and the information is stored in the main memory corresponding to the higher-ranked process. The LJJ change of the process is performed by storing the register I and the register in the processing device.

しかしながらこのプロセスの切替は退i!′l/ t’
3納するレジスタの数が多数であるため多くの時間、を
要し、このための性能低下は大きく、また実時間性(即
時応答性)を要求する応用には適用できないという欠点
があった3、 したがって本発明の目的は、上記の欠点を除去し、高速
のプロセス切替えを1iJ能とした情報処理装置を提供
することにある。
However, this process switch is impossible! 'l/t'
3 Since the number of registers to be stored is large, it takes a lot of time, resulting in a large performance drop, and it has the disadvantage that it cannot be applied to applications that require real-time performance (immediate response). Therefore, an object of the present invention is to provide an information processing apparatus that eliminates the above-mentioned drawbacks and is capable of high-speed process switching.

本発明によれば、多重プログラミ/グーi」J能な情報
処理装置において、複数の実プロセスに対応するレジス
タ群と、仮想プロセス識別情報を保持する手段と、この
仮想プロセス識情報を保持する手段からの出力を入力と
し、該仮想プロセスの識別情報を実プロセス識別情報に
変換するプロセス識別変換手段と、このプロセス識別変
換手段により変換された実プロセス識別情報を前記レジ
スタ群へのアドレス情報の一部とする手段とを有するこ
とを特徴とする情報処理装置が得られる。
According to the present invention, in an information processing device capable of multiple programming, a group of registers corresponding to a plurality of real processes, a means for holding virtual process identification information, and a means for holding this virtual process identification information are provided. a process identification conversion means that receives an output from the virtual process and converts the identification information of the virtual process into real process identification information, and converts the real process identification information converted by the process identification conversion means into one of the address information to the register group. There is obtained an information processing device characterized in that it has a means for making a part.

次に本発明について図1mを参照して詳細に説明する。The invention will now be described in detail with reference to FIG. 1m.

第1図は本発明の一実施例の構成を示す図である。はじ
めにその(11J成の概要を説明すると。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. First, let me explain the outline of the (11J).

第1図の本発明の情報処理装置は、プロセス制御回路1
0.実プロセスレジスタ群20.仮想プロセス識別情報
レジスタ30.レジスタ指定レジスタ40.登録仮想プ
ロセス識別情報保持回路50.比較回路60および連結
回路70を含んでいる。なおプロセス制御回路10の出
力が他の回路に送られる信号線は省略しである。
The information processing apparatus of the present invention shown in FIG.
0. Real process register group 20. Virtual process identification information register 30. Register specification register 40. Registered virtual process identification information holding circuit 50. It includes a comparison circuit 60 and a connection circuit 70. Note that signal lines through which the output of the process control circuit 10 is sent to other circuits are omitted.

次に第1図の装置の詳細な構成と動作について説明する
と、実プロセスレジヌタ君T20はプロセス対応のレジ
スタ副if 21.22.−23から構成される。レジ
スタ副群21.22.・26は実プロセス番号0,1.
・・n−1(nは正の整数)とそれぞれ対応しており、
実行可能であるプロセスの汎用レジスタ(OR)、ベー
スレジスタ(BR)、斜字演算レジスタ(SR)、命令
カクンタ(■C)等を含んでいる。各レジスタ幅rrt
 21 。
Next, to explain the detailed configuration and operation of the device shown in FIG. 1, the actual process register T20 has register sub-registers if 21.22. -23. Register subgroup 21.22.・26 is the real process number 0, 1.
...n-1 (n is a positive integer), respectively, and
It includes general purpose registers (OR), base registers (BR), italic operation registers (SR), instruction cucumbers (■C), etc. of executable processes. Each register width rrt
21.

22、・・26はいずれも従来技術のソフトウェアに見
えるレジスタの全てと対応する。即し従来技術ではn台
の情報処理装置内のレジスタと対応する。しかし、情報
処理装置の他の冑Δバ(たとえば演算制御回路、MKM
アクセス制御回路等は1つであるため、実際にはこのう
ち1つのレジスタ副I!工と対応するプロセスのみが実
行状plにある。
22, . . . 26 correspond to all of the software-visible registers of the prior art. In other words, in the prior art, this corresponds to registers in n information processing apparatuses. However, other parts of the information processing device (for example, arithmetic control circuit, MKM
Since there is only one access control circuit, etc., one of these registers is actually the sub-I! Only the process corresponding to the process is in the execution state pl.

情報処理装置内の実プロセスは上記の様に最大n個存在
し得るが、ソフトフェアで作成される仮想プロセスはこ
れより多く存在し、この一部のみが実プロセスに写像さ
れる。この仮想プロセスを識別する情報は仮プロセス識
別レジスタ60に存在する。仮想プロセス識別レジスタ
30の内容は第1のフィールド61と第2のフィールド
62の2つのフィールドに分割される。
Although there may be a maximum of n real processes in the information processing device as described above, there are many more virtual processes created by software, and only some of these are mapped to real processes. Information identifying this virtual process exists in the temporary process identification register 60. The contents of the virtual process identification register 30 are divided into two fields, a first field 61 and a second field 62.

第1のフィールド31はデータ線aを介し一方は登録仮
想プロセス識別情報保持回路50に書込みデータとして
接続され、また比較回路60の一方の入力にあとに説明
する比較データとして接続される。
The first field 31 is connected on one side to the registered virtual process identification information holding circuit 50 as write data via the data line a, and is also connected to one input of the comparison circuit 60 as comparison data to be explained later.

登録仮想プロセス識別情報保持回路50はレジスタ副群
の数nと同一の数のエントリな持ち。
The registered virtual process identification information holding circuit 50 has the same number of entries as the number n of register subgroups.

エントリ毎に有効性ビットを含んでいる。仮想プロセス
識別レジスタ30の第2のフィールド62によりデータ
線すを介して選択された該登録仮想プロセス識別情報保
持回路のエントリは。
Each entry contains a validity bit. The entry of the registered virtual process identification information holding circuit selected via the data line by the second field 62 of the virtual process identification register 30 is.

データ線Cにより比較回路60の他の入力に接続される
と同時に、連結回路70にも送られる。
It is connected to the other input of the comparison circuit 60 by the data line C, and is also sent to the connection circuit 70 at the same time.

比較回路60はプロセス識別レジスタの第1のフィール
ド31からデータ線aを介して送られてくる書込データ
と登録仮想プロセス識別情報保持回路50からデータ線
Cを介して送られてくる選択されたエン2と比較し、比
較不一致のとき即ち仮想プロセス識別レジスタ3oに設
定されたプロセスが実プロセスレジスタI汀20に含ま
れないとき、出方信号線dを介してプロセス制御回路1
0に割込む。比較結果が一致したとき部ち仮想プロセス
識別情報レジスタ60に設定されたプロセスがレジスタ
7FT20に含まれていることについてはあとに説明す
る。
The comparison circuit 60 compares the write data sent from the first field 31 of the process identification register via the data line a and the selected write data sent from the registered virtual process identification information holding circuit 50 via the data line C. 2, and when the comparison does not match, that is, when the process set in the virtual process identification register 3o is not included in the real process register I20, the process control circuit 1 is sent via the output signal line d.
Interrupt to 0. It will be explained later that when the comparison results match, the process set in the virtual process identification information register 60 is included in the register 7FT20.

プロセス制御回路10は実プロセスレジメタ群20内の
レジスタ副群21,22. ・26のうち1つを置換ア
ルゴリズムにより決定し、該レジスタ副群の内容を対応
1″るプロセスの図示してない主記憶内のプロセス制御
ブロック内に退避し、仮想プロセス識別情報レジスタ3
oで指定されたプロセスに対応する上記t=内のプロセ
ス制御ブロックから読出し、前記レジスタ副ffY21
〜26に格納する。このあとプロセス制御回路10は登
録仮想プロセス識別情報保持回路50に、仮想プロセス
識別情報レジスタ30内のプロセスを第1のフィールド
61の内容を第2のフィールド62の内容をアドレスと
して書込むことによって登録する。
The process control circuit 10 includes register subgroups 21, 22 .・Determine one of 26 by a replacement algorithm, save the contents of the register subgroup in the process control block in the main memory (not shown) of the corresponding process 1'', and save the contents of the register subgroup 3 to the virtual process identification information register 3.
Read from the process control block within t= above corresponding to the process specified by o, and register sub-register ffY21.
~26. Thereafter, the process control circuit 10 registers the process in the virtual process identification information register 30 in the registered virtual process identification information holding circuit 50 by writing the contents of the first field 61 and the contents of the second field 62 as an address. do.

プロセス制御回路10はまた。実行中のプロセスがジョ
ンの終了により失われるとき、仮想プロセス識別情報レ
ジスタ6Dに失われる仮想プロセス情報を格納し、登録
仮想プロセス識別情報保持回路50および比較回路60
を用いて索引し、比較回路60の結果である信号線dの
出力を111Mべ、この出力が実プロセスレジスタ群2
0内に終了したプロセスが含まれることを示すどき、別
の仮想プロセス情報を主記憶から読み出し1)ロ記実プ
ロセスレジヌタ君i20に格納する。
The process control circuit 10 also includes: When a running process is lost due to termination of the process, the lost virtual process information is stored in the virtual process identification information register 6D, and the registered virtual process identification information holding circuit 50 and comparison circuit 60
The output of the signal line d, which is the result of the comparison circuit 60, is indexed using 111M, and this output is the actual process register group 2
When indicating that 0 includes a terminated process, another virtual process information is read from the main memory and stored in the 1) real process register i20.

つづいて情報処理装置6.が成るプロセスの実行中必要
とするレジスタをいかに指定するかについて説明する。
Next, information processing device 6. This section explains how to specify the registers needed during the execution of a process consisting of a process.

仮想プロセス番号は仮想プロセス8j1別情報レジスタ
30に格納しである。これはある仮想プロセスを実行状
態にするときにプロセス制御回路10により行なわれる
。また必要とするレジスタを指定する情報はレジスタ指
定レジスタ40に設定する。プロセス識別レジスタ30
の第1のフィールド31はデータ線aを介し比較回路6
0の1つの人力に接続さA1゜第2のフィールド62)
オデータ線1つを介し」−ントリアドレス情報として登
(・7ニ仮想プロセス識別情報保持回路50に送11」
」される。登録仮想ブIJセヌ識別情報保持回路50の
出力は信号線Cを介し比較回路60の別の人力に接続さ
れる。比較回路60の比較結果は信−3線dを介しブ「
−lセヌ制御回路10に送出される3、比較結果が不−
The virtual process number is stored in the information register 30 for each virtual process 8j1. This is done by the process control circuit 10 when putting a certain virtual process into an execution state. Further, information specifying the required register is set in the register specification register 40. Process identification register 30
The first field 31 of
0 connected to one human power A1゜second field 62)
Registered as entry address information (7) sent to virtual process identification information holding circuit 50 via one data line.
” will be done. The output of the registered virtual IJ SENU identification information holding circuit 50 is connected to another input of the comparison circuit 60 via a signal line C. The comparison result of the comparison circuit 60 is sent to the signal line 3 via the signal line d.
-l Senu control circuit 10 3, comparison result is invalid.
.

致のとき即ち仮想プロセス識別情報レジスタ30に設定
されたプロセスが実プロセスレジスタ群20に存在しな
いときはレジスタ続出しは中断され、上記したようにプ
ロセス制御回路10によってプロセス情報が主記憶から
読出され実プロセスレジスタ1!τ20に設定してから
以上の動作がくり返される。
In other words, when the process set in the virtual process identification information register 30 does not exist in the real process register group 20, register successive writing is interrupted, and the process control circuit 10 reads out the process information from the main memory as described above. Real process register 1! After setting τ20, the above operation is repeated.

比較結果が一致のときはプロセス識別レジメ仮想ブ[I
セヌ識別情報レジスタ60の第2の)f−ルド32とレ
ジスタ指定レジスタ40とは夫/lデータ線1)、eを
介し連結回路70に送出さA1.て連結され、連結され
た実プロセスレジスタff120に対するアドレス情報
はデータ線fを介し実プロセスレジスタ群20に送られ
、実プロセスレジスタ/il’、 20から所望のレジ
スタの値力聾売出される。このようにして本実施例では
n個のプロセスに苅応するレジスタ副1!τを持ち。
If the comparison result is a match, the process identification regime virtual block [I
The second f- field 32 of the SENU identification information register 60 and the register designation register 40 are sent to the connection circuit 70 via the husband/l data line 1) and e. The address information for the connected real process registers ff120 is sent to the real process register group 20 via the data line f, and the value of a desired register is sold from the real process registers /il', 20. In this way, in this embodiment, register sub-1 corresponds to n processes! has τ.

このL’)J 4”’rえは仮想プロセス識別情報レジ
スタにプロセス識別情報を設定するのみで一瞬のうちに
行なわれる。
This L')J4'''re is performed instantly by simply setting the process identification information in the virtual process identification information register.

本発明には以上説明したように複数の実プロセスに欠]
応するレジスタ群と仮想プロセス番号から実プ【コセス
番号に変換する手段と実プロセス番号をレジスタ群への
アドレスの一部とするNrにより、高速のプロセス切替
えを可能とする。
As explained above, the present invention requires a plurality of actual processes.
High-speed process switching is possible using the corresponding register group, a means for converting the virtual process number into a real process number, and Nr, which makes the real process number part of the address to the register group.

以下余日 4 図面のI!i’i ii′Iな説明第1図は本発明
の一実施例である情報処理装置の構成を示すブロック図
である3、 記号の説明、10はプロセス:li’l (ili1回
路、20は実プロセスレジスタ1!□″1,21〜2ろ
(Jレジスタ副1jT、、30は仮想プロセス識別情イ
′1φし7スタ。
4 remaining days below: Drawing I! i'i ii'I Explanation FIG. 1 is a block diagram showing the configuration of an information processing device that is an embodiment of the present invention. 3. Explanation of symbols. 10 is a process: Real process register 1!□''1, 21-2 (J register sub 1jT, 30 contains virtual process identification information '1φ and 7 stars.

40はレジスタ指定レジスタ、50は登録(1v−;u
、’!プ[Jセス識別情報保持回路、60は比較回路。
40 is a register specification register, 50 is a registration (1v-;u
,'! 60 is a comparison circuit.

Claims (1)

【特許請求の範囲】 1 多重ブロクラミング可能な情報処理装置において、
複数の実プロセスに対応するレジスタ1汀と、仮想プロ
セス識別情報を保時する手段と。 この仮想プロセス識別情報を保持する手段からの出力を
人力とし、該仮想プロセスの識別情報を実プロセス識別
情報に変換するプロセス識別変換手段と、このプロセス
識別変換手段により変換された実プロセス識別情報を前
記レジスタIITへのアI゛レス情報の一部とする手段
とを有することを特徴とする情報処理装置。
[Claims] 1. In an information processing device capable of multiple block programming,
A register 1 corresponding to a plurality of real processes, and a means for keeping virtual process identification information. A process identification conversion means for converting the identification information of the virtual process into real process identification information using the output from the means for holding the virtual process identification information, and a process identification conversion means for converting the identification information of the virtual process into real process identification information; An information processing apparatus characterized by comprising: means for making address information to the register IIT a part of address information.
JP10918083A 1983-06-20 1983-06-20 Information processor Pending JPS603026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10918083A JPS603026A (en) 1983-06-20 1983-06-20 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10918083A JPS603026A (en) 1983-06-20 1983-06-20 Information processor

Publications (1)

Publication Number Publication Date
JPS603026A true JPS603026A (en) 1985-01-09

Family

ID=14503677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10918083A Pending JPS603026A (en) 1983-06-20 1983-06-20 Information processor

Country Status (1)

Country Link
JP (1) JPS603026A (en)

Similar Documents

Publication Publication Date Title
JPH01237864A (en) Dma transfer controller
JPH0248931B2 (en)
JP2845433B2 (en) Integrated circuit device
WO2022068328A1 (en) Data migration method and apparatus, and processor and calculation device
JPS603026A (en) Information processor
JPS5826584B2 (en) data processing equipment
JPH0831033B2 (en) Data processing device
JPH06124207A (en) Sub-routine branching instruction execution method
JP2517154B2 (en) Data processing device
JPS59214977A (en) Data processing device
JPS60134937A (en) Address extension device
JPS62221059A (en) Central processing unit
JPS59229659A (en) Data processing method
JP2576589B2 (en) Virtual storage access control method
JPH02212952A (en) Memory access control system
JPH0535472A (en) Microcomputer
JPH03256130A (en) Interruption factor retrieving system
JPS6168636A (en) Data processor
JPS6086625A (en) Data processing device
JPH0567035A (en) Data alignment system for dma transfer
JPH01316826A (en) Register file address circuit
JPH05127870A (en) Data processor
JPS61109149A (en) Data processor
JPS63104142A (en) Semiconductor arithmetic processor
JPS63172356A (en) Address conversion system