JPS60126736A - Data processor - Google Patents

Data processor

Info

Publication number
JPS60126736A
JPS60126736A JP23365983A JP23365983A JPS60126736A JP S60126736 A JPS60126736 A JP S60126736A JP 23365983 A JP23365983 A JP 23365983A JP 23365983 A JP23365983 A JP 23365983A JP S60126736 A JPS60126736 A JP S60126736A
Authority
JP
Japan
Prior art keywords
register
section
process number
contents
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23365983A
Other languages
Japanese (ja)
Inventor
Takahito Kawakami
川上 孝仁
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP23365983A priority Critical patent/JPS60126736A/en
Publication of JPS60126736A publication Critical patent/JPS60126736A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable parallel execution of any number of processes using the limited number of register sets by providing registers for storing process number of processes and a comparator that compares process numbers. CONSTITUTION:The content of present a process number section 1 and contents of process number registers 1-4 are compared by the comparator 13. When coincidence is found, contents of an instruction pointer section 2, a program status section 3 and a general purpose registering section 4 are stored in a corresponding register set. When coincidene is not found, one of register sets is selected and after saving the content in a main memory, contents of the pointer section 2- registering section 4 are stored in a free register set, and the content of the present process number section 1 is stored in a corresponding process number register. Then, process number of a process which is to be executed anew and process numbers of process number registers 1-4 are compared by the circuit 13. Similar operation is executed hereafter.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、複数のプロセスを並行して動作させるデー
タ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing device that operates a plurality of processes in parallel.

〔従来技術〕[Prior art]

従来この種のデータ処理装置として第1図に示すものが
あった。図において、/は現在実行中のプロセスのプロ
セス番号を記憶するプロセス番号部、コは対応する命令
ポインタ情報を記憶する命令ポイン・り部、3は斜応す
るプログラム・ステータス情報を記憶するプログラム・
ステータス部、弘は対応する汎用レジスタ情報を記憶す
る汎用レジスタ部、s、b、q、gは七1″Lぞれレジ
スタ・セット/、レジスタ・セントコ、レジスタ・セン
ト3、−レジスタ・七ント弘であり、それぞれには例え
ばプロセス/、コ、3.ダの命令ポインタ情報、プログ
ラム・ステータス情報、汎用レジスタ情報等の所要の情
報が格納される。
A conventional data processing apparatus of this type is shown in FIG. In the figure, / is a process number part that stores the process number of the currently executing process, ko is an instruction pointer part that stores the corresponding instruction pointer information, and 3 is a program number part that stores the corresponding program status information.
Status section, Hiroshi is a general-purpose register section that stores the corresponding general-purpose register information, s, b, q, g are 71''L register set/, register centco, register cent 3, - register seven Each of them stores necessary information such as instruction pointer information, program status information, general register information, etc. for process/, ko, and 3.da.

次にこの種のデータ処理装置の動作について説明する。Next, the operation of this type of data processing device will be explained.

いま、プロセス3が実行されているとする。このとき現
プロセス番号部lの内容は、3″になって才dす、命令
ポインタ部−、プログラム・ステータス部3、汎用レジ
スタ部lにはそれぞれプロセス3の命令ポインタ情報、
プログラム・ステータス情報、汎用レジスタ情報が記憶
されている。この状態のとぎ、プロセス/を実行する必
要が生じたとすると、まず、命令ポイ7タ部λ、プログ
ラム・ステータス部3、汎用レジスタ部lの現在の内容
を現プロセス番号部lが示すレジスタ・セット3に退避
・格納する。その後、レジスタ・セント/、5に格納さ
れている内容を命令ポインタ部コ、プログラム・ステー
タス部3、汎用レジスタ部グにセットし、最後に現プロ
セス番号部/の内容な′/″にする。このようにしてプ
ロセス3からプロセス/への実行の切り換えが達成され
る。
Assume that process 3 is currently being executed. At this time, the contents of the current process number section 1 become 3'', and the instruction pointer section, program status section 3, and general register section 1 contain instruction pointer information of process 3, respectively.
Program status information and general-purpose register information are stored. Suppose that it becomes necessary to execute the process / after this state, first, the current contents of the instruction pointer section 7, program status section 3, and general-purpose register section l are stored in the register set indicated by the current process number section l. Evacuate and store to 3. Thereafter, the contents stored in register cent /, 5 are set in the instruction pointer section, program status section 3, and general register section, and finally the contents of the current process number section / are set to '/''. In this way, switching of execution from process 3 to process/ is achieved.

従来のデータ処理装置は、以上のように構成されている
ので、並列に実行できるプロセスの数は、用意されてい
るレジスタ・セットの数(上記例では弘)によって制限
されてしまい、並列に実行できるプロセスの数を増やそ
うとすると、レジスタ・セットの数も増やさなければな
らないという欠点があった。
Conventional data processing devices are configured as described above, so the number of processes that can be executed in parallel is limited by the number of prepared register sets (Hiro in the above example). Increasing the number of possible processes had the disadvantage that the number of register sets had to be increased as well.

、 〔発明の概要〕 この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、それぞれのレジスタ・セットに
格納されているプロセスのプロセス番号を記憶するため
のプロセス番号レジスタ。
, [Summary of the Invention] This invention was made to eliminate the drawbacks of the conventional ones as described above, and provides a process number register for storing the process number of the process stored in each register set. .

どよび、これらのレジスタに記憶されているプロセス番
号と比較回路を設けることにより、限られた数のレジス
タ・セットによって任意の数のプロ4セスな並列実行で
きるデータ処理装置を提供することを目的としている。
The purpose of the present invention is to provide a data processing device that can execute an arbitrary number of processes in parallel using a limited number of register sets by providing a process number stored in these registers and a comparison circuit. It is said that

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

以下、この発明の一実施例を第2図について説明する。 An embodiment of the present invention will be described below with reference to FIG.

この第一図において、/は現在実行中のプロセスのプロ
セス番号を記憶する現プロセス番号部、λ【゛よ対応す
る命令ポインタ情報を記憶する命令ポインタ部、3は対
応するプログラム・ステータス情報を記憶するプログラ
ム・ステータスl、ダは対応する汎用レジスタ情報を記
憶する汎用レジスタ部、j、4,7.fはそれぞれレジ
スタ・セントl、レジスタセントλ、レジスタ・セント
3、レジスタ・セット弘であり、それぞれには、対応す
るプロセス番号レジスタ/、?、プロセス番号レジスタ
コ、10、プロセス番号レジスタ3゜//、プロセス番
号レジスタフ、/2の内容によって特定されるプロセス
の命令ポインタ情報、プログラム・ステータス情報、汎
用レジスタ情報等の所要の情報が格納される。/3は比
較回路であり、与えられた任意のプロセス番号と、プロ
セス番号レジスタ/、(91、プロセス番号レジスタ:
l(。
In this first figure, / is the current process number section that stores the process number of the currently executing process, λ [゛ is the instruction pointer section that stores the corresponding instruction pointer information, and 3 stores the corresponding program status information. Program status l, da are general-purpose register sections that store corresponding general-purpose register information, j, 4, 7 . f are register cent 1, register cent λ, register cent 3, and register set hi, respectively, and each has a corresponding process number register /, ? , process number register, 10, process number register 3゜//, process number register, /2 Required information such as instruction pointer information, program status information, and general-purpose register information of the process specified by the contents of /2 is stored. . /3 is a comparison circuit that compares a given arbitrary process number with process number register /, (91, process number register:
l(.

/ o)1.;’ロセス番号しジスタJ (/ /)、
プロセス番号レジスタフ、/2の内容とを比較し、一致
するものがあるかどうかを調べ、また、一致するものが
ある場合には、そのレジスタ・ブロック番号を出力する
/o)1. ;'Process number and register J (/ /),
The contents of the process number register file /2 are compared to see if there is a match, and if there is a match, the register block number is output.

なお、メイン・メモリ(図示されない)には、41の数
のプロセスのプロセス情報(対応する命令ポインタ、プ
ログラム・ステータス、汎用レジスタの内容)が記憶さ
れており、そのうちのいずれか弘個のプロセスのプロセ
ス情報がその対応するプロセス番号とともに、レジスタ
・セット/(,1)〜q (g)およびプロセス番号レ
ジスタ/ (91〜It (/、1.)に格納されてい
る。
Note that the main memory (not shown) stores process information (corresponding instruction pointer, program status, general-purpose register contents) for 41 processes, and if any of the 41 processes is Process information is stored with its corresponding process number in register sets /(,1) to q(g) and process number registers /(91 to It(/,1.).

このような、この発明の実施例の動作についてみろと、
あるプロセスから別のプロセスへの実行の切換えは以下
のように行う。先ず、現プロセス番号部/の内容と、プ
ロセス番号レジスター(9)〜11(/2)の内容とを
比較回路/3で比較し、一致するものがある場合には対
応するレジスタ・セットに、命令ポインタ部コ、プログ
ラム・ステータス部3、汎用レジスタ部弘の内容を格納
する。これに対して、一致するものがない場合には、ダ
個\1 のレジスタ・セットのうちのひとつを選んでその内容を
メイン・メモリの所定のプロセス情報領域ニ退避・格納
した後、その空いたレジスタ・セットに命令ポインタ部
コ、プログラム・ステータス部3、汎用レジスタ部弘の
内容を格納し、対応するプロセス番号レジスタに現プロ
セス番号部/の内容を格納する。
Let's take a look at the operation of this embodiment of the invention.
Switching execution from one process to another is performed as follows. First, the contents of the current process number section / are compared with the contents of the process number registers (9) to 11 (/2) by the comparator circuit /3, and if there is a match, the corresponding register set is The contents of the instruction pointer section, program status section 3, and general-purpose register section are stored. On the other hand, if there is no match, select one of the \1 register sets, save and store its contents in a predetermined process information area of main memory, and then The contents of the instruction pointer section, program status section 3, and general-purpose register section are stored in the set register set, and the contents of the current process number section are stored in the corresponding process number register.

つぎに、新しく実行させたいプロセスのプロセス番号と
プロセス番号レジスタ/(?)〜り(/コ)のプロセス
番号とを比較回路/3で比較し、一致するものがある場
合には、対応するレジスタ・セットの内容を命令ポイン
タ部コ、プログラム・ステータス部3、汎用レジスタ部
ダに格納し、現プロセス番号部/の内容を新しいプロセ
スのプロセス前号にする。これに対して、一致するもの
がない場合には、弘個のレジスタ・セットのうちのひと
つを選んでその内容をメイン・メモリのプロセス情報領
域に退避・格納する。そして、新しく実行させろプロセ
スのプロセス情報をメイン・メモリから読出して、その
対応するプロセス番号とともに空いたレジスタ・セット
と対応するプロセス番号レジスタに格納し、さらにこの
プロセス情報ヲ命令ポインタ部コ、プログラム・ステー
タス部3、汎用レジスタ部qに格納する。最後に現プロ
セス番号部/の内容を前記新しいプロセスのプロセス番
号にする。
Next, compare the process number of the process you want to newly execute with the process number in the process number register /(?)~ri(/ko) using the comparison circuit/3, and if there is a match, move the corresponding register - Store the contents of the set in the instruction pointer section, program status section 3, and general register section D, and make the contents of the current process number section the previous process number of the new process. On the other hand, if there is no match, one of the large register sets is selected and its contents are saved and stored in the process information area of the main memory. Then, the process information of the newly executed process is read from the main memory and stored in the free register set and the corresponding process number register along with its corresponding process number. Store in the status section 3 and general-purpose register section q. Finally, the contents of the current process number field / are set to the process number of the new process.

このようにして、レジスタ・セントの数をこえた数のプ
ロセスを並列に実行させることができる。
In this way, more processes than there are register cents can be run in parallel.

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

以上説明したように、この発明によれば、複数個のレジ
スタ・セットのそれぞれにプロセス番号レジスタを付加
し、これらのレジスタに記憶されているプロセス番号を
任意のプロセス番号と比較する比較回路を設けたことに
よって前記レジスタ・セットの数をこえた任意の数のプ
ロセスを並列に実行させることができるという効果があ
る。
As explained above, according to the present invention, a process number register is added to each of a plurality of register sets, and a comparison circuit is provided to compare the process number stored in these registers with an arbitrary process number. This has the advantage that an arbitrary number of processes exceeding the number of register sets can be executed in parallel.

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

、 第1図は、従来の装置を示すブロック図、第一図は
この発明の一実施例を示すブロック図である。 /・・現プロセス番号部、コ・・命令ポインタ部、3・
・プ日グラム・ステータス部、弘・・汎用レジスタ部、
5・・レジスタ・セット、/(t、)・・レジスタ・セ
ット、ユ(71・−レジスタ・セット、3(g)・・レ
ジスタ・セット、p(9)・・プロセス番号レジスタ、
/(/θ)・・プロセス番号レジスタ、2、(//)・
・プロセス番号レジスタ1.3(/コ)・・プロセス番
号レジスタ、4L(/3)・・比較回路。 なお、各図中、同一符号は同−又は相当部分を示す。 幣1図 焔2図 一致/;4一致 しゾスタ・フ”O−,7%号手続補正
書「自発」 昭和59’、+’ 6.rlt 2 Ill特許庁長官
殿 1、事件の表示 昭和SS年特許願第2334!9 万 2、発明の名称 データ処理装置 ム 補正の内容 i 明細書第S頁第1行目の「レジスタ・ブロック番号
」を「レジスタ・セット番号」に訂正する。 ユ 明細書第6頁第is行目のr / (91〜デ(6
)」を1(9)〜ダ(2)」に訂正する。 3、U3A細書第を頁第S行目から同頁第14’行目ま
での記載を下記のとおりに訂正する。 「用レジスタ部、S・・レジスタ・セット15611@
レジスタ・セラトコ、7・・レジスタ・セット、y、t
r−;・レジスタeセットダ、り・・プロセス番号レジ
スタt、io・・プロセス番号レジスタコ、//@拳プ
ロセス査号レジスタ3.12・・プロセス番号しジスタ
ダ、/J・・比較回踊。」仏 添附図面の第一一を別紙
のとおりに訂正する。
, FIG. 1 is a block diagram showing a conventional device, and FIG. 1 is a block diagram showing an embodiment of the present invention. /...Current process number section, CO...Instruction pointer section, 3.
・Program status section, ・General purpose register section,
5...Register set, /(t,)...Register set, U(71...Register set, 3(g)...Register set, p(9)...Process number register,
/(/θ)...Process number register, 2, (//)...
- Process number register 1.3 (/co)...Process number register, 4L (/3)...Comparison circuit. In each figure, the same reference numerals indicate the same or corresponding parts. 1 figure and 2 figures match/; 4 match Zosta F"O-, 7% Procedural Amendment "Spontaneous"1980',+' 6. rlt 2 Ill Mr. Commissioner of the Japan Patent Office 1, Indication of the case Showa SS Patent Application No. 2334!92, Name of the invention Data processing device Contents of amendment i "Register block number" on the first line of page S of the specification " should be corrected to "register set number". r/(91~de(6) on page 6 of the specification, line is)
)” should be corrected to 1 (9) to da (2). 3. The description in U3A Specification No. from page S line to page 14' line is corrected as follows. "Register section, S... register set 15611@
Register Seratco, 7...Register set, y, t
r-;・Register e set da, ri・・Process number register t, io・・Process number register co, //@fist process code register 3.12・・Process number jistada, /J・・Comparison round. "French The attached drawing No. 11 is corrected as shown in the attached sheet.

Claims (1)

【特許請求の範囲】[Claims] 所定のプロセスに対応する命令ポインタ情報、プログラ
ム・ステータス情報、汎用レジスタ情報を記憶する複数
個のレジスタ・セットと、夫々のレジスタ・セットの内
容に対応するプロセスのプロセ、ス査号を記憶する同数
のレジスタと、これらのレジスタにそれぞれに記憶され
ているプロセス番号を任意のプロセス番号と比較する比
較回路とを備えたデータ処理装置。
A plurality of register sets that store instruction pointer information, program status information, and general-purpose register information that correspond to a given process, and an equal number of register sets that store the process code of the process that corresponds to the contents of each register set. A data processing device comprising: registers, and a comparison circuit that compares process numbers respectively stored in these registers with arbitrary process numbers.
JP23365983A 1983-12-13 1983-12-13 Data processor Pending JPS60126736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23365983A JPS60126736A (en) 1983-12-13 1983-12-13 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23365983A JPS60126736A (en) 1983-12-13 1983-12-13 Data processor

Publications (1)

Publication Number Publication Date
JPS60126736A true JPS60126736A (en) 1985-07-06

Family

ID=16958510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23365983A Pending JPS60126736A (en) 1983-12-13 1983-12-13 Data processor

Country Status (1)

Country Link
JP (1) JPS60126736A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6238943A (en) * 1985-08-14 1987-02-19 Hitachi Ltd Multi-register setting system microcomputer
JPS62151942A (en) * 1985-12-25 1987-07-06 Nec Corp Task changing-over system
JPH02139634A (en) * 1988-11-21 1990-05-29 Matsushita Electric Ind Co Ltd Operating system
JPH02294737A (en) * 1989-05-09 1990-12-05 Toshiba Corp Information processor
US5520269A (en) * 1993-02-10 1996-05-28 Kabushiki Kaishia Yutaka Giken Floating type brake disk assembly

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6238943A (en) * 1985-08-14 1987-02-19 Hitachi Ltd Multi-register setting system microcomputer
JPS62151942A (en) * 1985-12-25 1987-07-06 Nec Corp Task changing-over system
JPH02139634A (en) * 1988-11-21 1990-05-29 Matsushita Electric Ind Co Ltd Operating system
JPH02294737A (en) * 1989-05-09 1990-12-05 Toshiba Corp Information processor
US5520269A (en) * 1993-02-10 1996-05-28 Kabushiki Kaishia Yutaka Giken Floating type brake disk assembly

Similar Documents

Publication Publication Date Title
US4187539A (en) Pipelined data processing system with centralized microprogram control
EP0378830B1 (en) Method and apparatus for handling multiple condition codes as for a parallel pipeline computer
US5408626A (en) One clock address pipelining in segmentation unit
JPS6341932A (en) Branching instruction processing device
US3706077A (en) Multiprocessor type information processing system with control table usage indicator
JPH03286332A (en) Digital data processor
JPS60126736A (en) Data processor
US5390306A (en) Pipeline processing system and microprocessor using the system
JPS5826584B2 (en) data processing equipment
JPS6314275A (en) Scalar data operating system of vector operating processor
JPH0377137A (en) Information processor
JPH0222736A (en) Central processing unit
JPH04316127A (en) Information processor
JPS6217840A (en) Microprogram control system based upon attribution flag
JPH01189727A (en) Information processor
JPS62219128A (en) Data processor
JPS59103146A (en) Operation mode display device
JPS63186372A (en) Vector processor
JPS6250854B2 (en)
JPH06131250A (en) Data processor
JPS58109932A (en) Comparison and arithmetic device for electronic computer
JPS6330938A (en) Microprogram control device
JPH01284970A (en) Iteration arithmetic circuit
JPS62206633A (en) Information processor
JPH076038A (en) Information processor