JPH01156850A - Information processor - Google Patents

Information processor

Info

Publication number
JPH01156850A
JPH01156850A JP31675587A JP31675587A JPH01156850A JP H01156850 A JPH01156850 A JP H01156850A JP 31675587 A JP31675587 A JP 31675587A JP 31675587 A JP31675587 A JP 31675587A JP H01156850 A JPH01156850 A JP H01156850A
Authority
JP
Japan
Prior art keywords
register
protection key
program state
instruction
program
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
JP31675587A
Other languages
Japanese (ja)
Inventor
Takayuki Noguchi
野口 孝行
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 JP31675587A priority Critical patent/JPH01156850A/en
Publication of JPH01156850A publication Critical patent/JPH01156850A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To increase the processing speed for update processing of program state words due to the fetch of an instruction by supplying an effective memory protection key to an arithmetic register from a selector and at the same time holding the program state word via the arithmetic register after the effective memory protection key supplied from a program state word register is excluded. CONSTITUTION:An effective memory protection key which is updated in response to a fact that an instruction control part 14 takes out an instruction is outputted to an arithmetic register 5 from a selector 13. At the same time, a program state word excluding the effective memory protection key is outputted to the register 5 from a program state word register 8. Then the program state word including the updated effective memory protection key is held by the register 5. Thus a step where the replacement is instructed for the program state word is omitted together with a step where the program state word including the updated effective memory protection key is kept waiting for its holding state at the register 8. As a result, the update processing speed is increased for the program state word.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、パイプラインを有し、マイクロプログラムに
より演算を制御し、プログラム状態語を保持するレジス
タを演算実行部の下段のパイプ上に有する情報処理装置
に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention has a pipeline, a microprogram controls operations, and a register for holding a program state word on the pipe below the operation execution unit. It relates to an information processing device.

(従来の技術) 第4図はこの種の情報処理装置の従来例の要部のブロッ
ク図である。
(Prior Art) FIG. 4 is a block diagram of the main parts of a conventional example of this type of information processing device.

命令制御部20は、命令フェッチにより取り出されたオ
ペレーションコードを保持する64ビツトのオペレーシ
ョンコードレジスタ1とオペレーションコードをデコー
ドするデコーダ2と、デコーダ2の出力により命令のオ
ペランドが格納されている主記憶装置内のアドレスを生
成するアドレス生成回路3と、該アドレスにより主記憶
装置からオペランドを取り出すオペランド取り出し回路
4からなる。マイクロプログラム制御部15は、1ワー
ド16バイトで構成され65536 ワードの容量と1
6ビツトのマイクロ論理アドレスを持つマイクロプログ
ラムの一部が格納されている4096ワードの容量を有
する制御メモリ9と、デコーダ2から供給された制御メ
モリ9のアドレスを保持し、また引続いて実行されるマ
イクロプログラムの制御メモリ9内のアドレスが制御メ
モリ9より供給されて保持する16ビツトの制御アドレ
スレジスタlOと、制御メモリ9から読出されたマイク
ロプログラムを保持する64ビツトのマイクロプログラ
ムレジスタ11からなる。プログラム状態語レジスタ8
は実行記憶保護キーを含む現在実行中のプログラムに関
連したシステム状態を保持し、表示するレジスタで、6
4ビツトで構成され、ビット13〜15の3ビツトに実
行プログラムの参照情報の読出し・格納・実行に関する
許可禁止を表わす実効記憶保護キーを保持している。演
算実行部16は、プログラム状態語レジスタ8に保持さ
れているプログラム状態語と、オペランド取り出し回路
4から取り出されたオペランドを保持する64ビツトの
複数の演算レジスタ5と、マイクロプログラムレジスタ
11に保持されているマイクロプログラムの制御で演算
レジスタ5に保持されているデータを入力して演算(論
理・算術・比較演算)を行なう64ビツト入力、64ビ
ツト出力の演算回路6と、その演算結果を保持し、プロ
グラム状態語レジスタ8に書込む64ビツトの書込みレ
ジスタ7からなる。なお、演算回路6は32ビツトずつ
別々の演算実行が可能である。
The instruction control unit 20 includes a 64-bit operation code register 1 that holds an operation code retrieved by instruction fetch, a decoder 2 that decodes the operation code, and a main memory that stores instruction operands based on the output of the decoder 2. It consists of an address generation circuit 3 that generates an address within the memory, and an operand extraction circuit 4 that extracts an operand from the main memory based on the address. The microprogram control unit 15 has a capacity of 65536 words and 16 bytes per word.
A control memory 9 having a capacity of 4096 words stores a part of a microprogram having a 6-bit micro logical address, and a control memory 9 which holds the address of the control memory 9 supplied from the decoder 2 and which is subsequently executed. It consists of a 16-bit control address register lO, which holds the address in the control memory 9 of the microprogram supplied from the control memory 9, and a 64-bit microprogram register 11, which holds the microprogram read out from the control memory 9. . Program status word register 8
6 is a register that holds and displays the system state related to the currently running program, including the execution memory protection key.
It is composed of 4 bits, and the 3 bits 13 to 15 hold an effective storage protection key indicating permission/prohibition regarding reading, storing, and executing reference information of an execution program. The arithmetic execution unit 16 includes a program state word held in the program state word register 8, a plurality of 64-bit arithmetic registers 5 that hold operands taken out from the operand takeout circuit 4, and a program state word held in the microprogram register 11. An arithmetic circuit 6 with 64-bit input and 64-bit output that inputs data held in an arithmetic register 5 and performs arithmetic operations (logical, arithmetic, and comparison operations) under the control of a microprogram that operates, and holds the arithmetic results. , a 64-bit write register 7 that writes to the program status word register 8. Note that the arithmetic circuit 6 is capable of performing separate arithmetic operations for each 32 bits.

第5図は第4図の情報処理装置において命令を取り出し
たことにより更新されたプログラム状態語を読出し、変
更した後新たなプログラム状態語として更新するという
命令を実行するマイクロプログラムのフローチャート、
第6図は第4図の情報処理装置の各パイプライン上で実
行されるマイクロプログラムの各ステップのタイムチャ
ートである。
FIG. 5 is a flowchart of a microprogram that executes an instruction to read out a program status word updated by extracting an instruction in the information processing device of FIG. 4, change it, and then update it as a new program status word;
FIG. 6 is a time chart of each step of the microprogram executed on each pipeline of the information processing apparatus shown in FIG.

まず、時間Toにマイクロプログラムレジスタ11にプ
ログラム状態語更新指示のマイクロプログラムが保持さ
れ、指示が行なわれる(ステップ51)。時間TsS5
よび時間T2に、プログラム状態語レジズタ8へのプロ
グラム状態語更新待ちをする指示のマイクロプログラム
がマイクロプログラムレジスタ11に保持され、指示が
行なわれる(ステップ52.53)。時間T3に、演算
レジスタ5にプログラム状態語レジスタ8に保持された
更新されたプログラム状態語右よびオペランド取り出し
回路4からオペランドデータを取込む指示のマイクロプ
ログラムがマイクロプログラムレジスタ11に保持され
、指示が行なわれる(ステップ53)。時間T3に、演
算レジスタ5でステップ54の指示に対する実行が行な
われ、時間T4で演算レジスタ5に更新されたプログラ
ム状態語とオペランドデータが保持される。また、時間
T4に、マイクロプログラムレジスタ11には、演算回
路6に対する演算レジスタ5の保持する更新されたプロ
グラム状態語とオペランドデータを人力して、算術加算
と論理積演算指示右よびその演算結果の書込みレジスタ
7への保持指示のマイクロプログラムがマイクロプログ
ラムレジスタ11に保持され、指示が行なわれる(ステ
ップ55)。これにより、演算回路6でステップ55の
演算が実行され、時間T、に、ステップ55の演算結果
が書込みレジスタ7に保持される。同じく時間T5に、
プログラム状態語レジスタ8に新たなプログラム状態語
として書込みレジスタ7の出力を取り込む指示のマイク
ロプログラムがマイクロプログラムレジスタ11に保持
されて指示が行なわれる(ステップ56)。これにより
、時間T6にこの書込みレジスタフの出力がプログラム
状態語レジスタ8に新たなプログラム状態語として保持
される。
First, at time To, a microprogram for a program status word update instruction is held in the microprogram register 11, and the instruction is issued (step 51). Time TsS5
Then, at time T2, a microprogram instructing to wait for update of the program status word in the program status word register 8 is held in the microprogram register 11, and the instruction is issued (steps 52 and 53). At time T3, a microprogram with an instruction to fetch the updated program status word held in the program status word register 8 and operand data from the operand fetching circuit 4 is held in the microprogram register 11, and the instruction is is carried out (step 53). At time T3, the instruction of step 54 is executed in operation register 5, and at time T4, the updated program status word and operand data are held in operation register 5. Also, at time T4, the updated program status word and operand data held in the arithmetic register 5 for the arithmetic circuit 6 are manually inputted into the microprogram register 11 to instruct the arithmetic addition and logical product operations, and to write the result of the arithmetic operation. The microprogram for holding the write register 7 is held in the microprogram register 11, and the instruction is issued (step 55). As a result, the calculation of step 55 is executed in the calculation circuit 6, and the calculation result of step 55 is held in the write register 7 at time T. Also at time T5,
A microprogram for instructing the program state word register 8 to take in the output of the write register 7 as a new program state word is held in the microprogram register 11, and the instruction is issued (step 56). As a result, the output of this write register is held in the program state word register 8 as a new program state word at time T6.

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

上述した従来の情報処理装置は、命令制御部が取り出し
た命令に対応するマイクロプログラムがマイクロプログ
ラム制御部で実行されることにより、命令の取り出しを
行な7たことで更新されるべきプログラム状態語に変更
するように演算実行部は指示され、プログラム状態語レ
ジスタは演算実行部の演算結果を新たなプログラム状態
語として保持するように制御されていたので、自命令を
取り出したことにより更新されたプログラム状態語を取
り出して変更した後新たなプログラム状態語として更新
する命令を実行するのには、第5図に示すようにマイク
ロプログラムはまず自命令を取り出したことにより更新
された実効記憶保護キーを得るためにプログラム状態語
更新指示を行ない、命令を取り出したことにより更新さ
れたプログラム状態語が演算末行部より下段のパイプ上
に存在するプログラム状態語を保持するプログラム状態
語レジスタに確定するまで待合せてからプログラム状態
語を取り出し、変更した後新たなプログラム状態語とし
て更新するという制御を第6図に示すようなタイミング
で行なうこととなり、命令実行性能が低下しマイクロプ
ログラムの容量が増加するという欠点がある。
In the conventional information processing device described above, a microprogram corresponding to an instruction fetched by an instruction control section is executed by a microprogram control section, and a program state word to be updated is generated by fetching an instruction. The execution unit was instructed to change the program status word to , and the program status word register was controlled to hold the operation result of the execution unit as a new program status word, so it was updated by fetching the own instruction. In order to execute an instruction to fetch and change a program state word and then update it as a new program state word, the microprogram must first use the effective memory protection key that has been updated by fetching its own instruction, as shown in Figure 5. A program state word update instruction is issued to obtain the instruction, and the updated program state word is fixed in the program state word register that holds the program state word existing on the pipe below the operation end. Control is performed at the timing shown in Figure 6, such as waiting until the end of the program, extracting the program status word, changing it, and then updating it as a new program status word, resulting in a decrease in instruction execution performance and an increase in the capacity of the microprogram. There is a drawback.

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

本発明の情報処理装置は、命令制御部が命令をフェッチ
することにより主記憶装置から取り出した実効記憶保護
キーを保持する実効記憶保護キーレジスタと、デコーダ
からの指示またはマイクロプログラムの制御により、実
効記憶保護キーレジスタに保持されている実効記憶保護
キーまたは現在プログラム状態語レジスタに保持されて
いるプログラム状態語に含まれている実効記憶保護キー
を選択して演算実行部へ出力する選択器と、プログラム
状態語レジスタが保持しているプログラム状態語から実
効記憶保護キーを除く他の部分を演算実行部へ出力する
手段を有する。゛ (作 用) 命令制御部が命令を取出したことにより、それに対応し
て更新された実効記憶保護キーを選択器により演算レジ
スタへ出力し、同時に実効記憶保護キーを除いたプログ
ラム状態語が演算レジスタにプログラム状態語レジスタ
から出力されて更新された実効記憶保護キーを含むプロ
グラム状態語が演算レジスタに保持されることにより、
プログラム状態語更新指示のステップと、該指示によっ
て更新された実効記憶保護キーを含むプログラム状態語
がプログラム状態語レジスタに保持されるのを待つステ
ップが不要となる。
The information processing device of the present invention has an effective storage protection key register that holds an effective storage protection key retrieved from the main storage by an instruction control unit fetching an instruction, and an effective storage protection key register that holds an effective storage protection key retrieved from the main storage by an instruction control unit, and an a selector that selects an effective memory protection key held in a memory protection key register or an effective memory protection key included in a program state word currently held in a program state word register, and outputs the selected effective memory protection key to an arithmetic execution unit; It has means for outputting other parts of the program state word held by the program state word register, excluding the effective storage protection key, to the arithmetic execution section. (Function) When the instruction control unit retrieves an instruction, the selector outputs the updated effective memory protection key to the calculation register, and at the same time, the program status word excluding the effective storage protection key is calculated. The program state word containing the updated effective memory protection key output from the program state word register is held in the arithmetic register.
The step of instructing to update the program state word and the step of waiting for the program state word containing the effective protection key updated by the instruction to be held in the program state word register are eliminated.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の情報処理装置の一実施例の要部のブロ
ック図、第2図は第1図の情報処理装置において命令を
取り出したことにより更新されたプログラム状態語を読
出し、変更した後、新たな −プログラム状態語として
更新するという命令を実行するマイクロプログラムのフ
ローチャート、第3図は第1図の情報処理装置の各パイ
プライン上で実行されるマイクロプログラムの各ステッ
プのタイムチャートである。
FIG. 1 is a block diagram of a main part of an embodiment of an information processing device of the present invention, and FIG. 2 shows a program state word updated by fetching an instruction in the information processing device of FIG. 1 and modified. FIG. 3 is a time chart of each step of the microprogram executed on each pipeline of the information processing device shown in FIG. 1. be.

本実施例は、第4図の従来例において、命令フェッチに
より取り出された実効記憶保護キーを保持する3ビツト
の実効記憶保護キーレジスタ12、 、122 、12
3をそれぞれ命令制御部14のオペレーションコードレ
ジスタ1があるパイプ上、アドレス生成回路3があるパ
イプ上、オペランド取り出し回路4があるパイプ上に有
し、また、オペレーションコードのデコードによりデコ
ーダ2の出力により実効記憶保護キーレジスタ123に
保持されている実効記憶保護キーを使用するか、または
プログラム状態語レジスタ8に保持されている実効記憶
保護キーを使用するかを指定する1ビツトのデータを保
持し出力する指定データレジスタ17. 、172をそ
れぞれアドレス生成回路3があるパイプ上と、オペラン
ド取り出し回路4があるパイプ上に有し、また、指定デ
ータレジスタ172の指定により実効記憶保護キーを選
択して演算レジスタ5に供給する選択器13を有してい
る。
This embodiment is a 3-bit effective storage protection key register 12, 122, 12 that holds an effective storage protection key retrieved by instruction fetch in the conventional example shown in FIG.
3 on the pipe where the operation code register 1 of the instruction control unit 14 is located, the pipe where the address generation circuit 3 is located, and the pipe where the operand extraction circuit 4 is located. Holds and outputs 1-bit data specifying whether to use the effective memory protection key held in the effective memory protection key register 123 or the effective memory protection key held in the program status word register 8. Specified data register 17. , 172 on the pipe where the address generation circuit 3 is located and the pipe where the operand extraction circuit 4 is located, and also selects the effective storage protection key according to the specification of the designated data register 172 and supplies it to the arithmetic register 5. It has a container 13.

なお、本実施例はプログラム状態語レジスタ8に保持さ
れているプログラム状態語からは、マイクロプログラム
の読出しにより実効記憶保護キーのみが選択器13へそ
の他は直接演算レジスタ5へ出力される。
In this embodiment, from the program state word held in the program state word register 8, only the effective memory protection key is outputted to the selector 13 and the rest directly to the calculation register 5 by reading the microprogram.

次に、本実施例の動作を具体例について説明する。Next, the operation of this embodiment will be explained using a specific example.

いま、プログラム状態語レジスタ8は16進の”lFF
8100001012000’″(”は16進数を表わ
す)というプログラム状態語を保持し、オペレーション
コードレジスタ1には、命令を読出したことにより更新
されたプログラム状態語を読出し、変更、し、新たなプ
ログラム状態語として更新する命令である”AFO5C
OOO”が保持されており、オペレーションコードレジ
スタ1が存在するパイプ上にある実効記憶保護レジスタ
12tには命令”AFO5(:000″を取り出したこ
とにより得られた実効記憶保護キー”001″12)じ
 ”(2)は2進数を表わす)が保持されているものと
する。
Now, the program status word register 8 is hexadecimal “lFF”.
The program state word 8100001012000'''("represents a hexadecimal number) is held, and the operation code register 1 reads the program state word updated by reading the instruction, changes it, and stores the new program state word. "AFO5C" which is an instruction to update as "AFO5C"
OOO" is held, and the effective memory protection register 12t on the pipe where the operation code register 1 exists contains the effective memory protection key "001"12 obtained by extracting the instruction "AFO5 (:000"). It is assumed that ``(2) represents a binary number) is held.

オペレーションコードレジスタ1に保持されている命令
”AFO5(:00G’がデコーダ2によりデコードさ
れ、アドレス生成回路3にアドレス生成に必要なオペレ
ーションコードのビット16〜31の”C000”の情
報が供給される。このとき、アドレス生成回路3のある
パイプ上にある実効記憶保護キー122に実効記憶保護
キー”001″、2)が供給され、指定データレジスタ
17.には選択器13が実効記憶保護キーレジスタ12
3の保持する”O旧”(2)を選択する指示をする2道
の”l“(2)がデコーダ2より供給される。一方、ア
ドレス生成回路3にはデコーダ2より供給された、アド
レス生成に必要なオペレーションコードのビット16〜
31の16進の”cooo”の情報により実アドレスを
生成して”0101300G”を得る。
The instruction "AFO5 (:00G') held in the operation code register 1 is decoded by the decoder 2, and the information of "C000" of bits 16 to 31 of the operation code necessary for address generation is supplied to the address generation circuit 3. At this time, the effective memory protection key "001", 2) is supplied to the effective memory protection key 122 on the pipe where the address generation circuit 3 is located, and the selector 13 supplies the effective memory protection key register to the specified data register 17. 12
A two-way "l" (2) is supplied from the decoder 2, which instructs to select "O old" (2) held by No. 3. On the other hand, the address generation circuit 3 is supplied with bits 16 to 16 of the operation code necessary for address generation, which is supplied from the decoder 2.
A real address is generated using the information of "cooo" in hexadecimal number 31 and "0101300G" is obtained.

また、制御メそリアドレスレジスタ10にはデコーダ2
よ゛り命令′″AFO5COOO″′に対応する第1の
マイクロプログラムの先頭ステップであるマイクロ論理
アドレス”0604”が供給され保持される。
In addition, the control memory address register 10 includes a decoder 2.
Therefore, the micro logical address "0604" which is the first step of the first micro program corresponding to the instruction ``AFO5COOO'''' is supplied and held.

オペランド取り出し回路4はアドレス生成回路3が生成
した実アドレス”01013000”を用いて主記憶装
置にアクセスし実アドレス”01013000”に格納
されているオペランドデータ″FFFF8000”の4
バイトを取り出し、演算レジスタ5に供給する。このと
きオペランド取り出し回路4の存在するパイプ−上に存
在する実効記憶保護キーレジスタ123に実効記憶保護
キー”001”(2)が供給される。また、指定データ
レジスタ172に、選択器13が実効記憶・  保護キ
ーレジスタ123が保持する実効記憶保護キー”001
”(2,を選択することを指示するビット”l”(2)
が供給され、選択器13は指示された”001”(2)
を選択して演算レジスタ5へ供給する。制御メモリ9は
制御メモリアドレスレジスタlOの保持するマイクロ論
理アドレスである”0604”に格納されているマイク
ロプログラムの内容をマイクロプログラムレジスタ11
に出力する。このマイクロプログラムはマイクロプログ
ラムレジスタ11に保持されることにより実行され、第
3図に示す時間T・に、更新された実効記憶保護キーを
含むプログラム状態語の演算レジスタ5への取込みを指
示する(ステップ旧)。これにより、選択器13は実効
記憶保護キーレジスタ123を選択して実効記憶保護キ
ー”001” (2)を演算レジスタ5へ供給し、一方
、プログラム状態語”1FF810000101200
0’から実効記憶保護キーを除いたものが演算レジスタ
5に入力される。また、制御メモリアドレスレジスタl
Oは第2のマイクロプログラムのマイクロ論理アドレス
”0620”が制御メモリ9から供給されて保持する。
The operand retrieval circuit 4 accesses the main memory using the real address "01013000" generated by the address generation circuit 3, and retrieves the operand data "FFFF8000" stored at the real address "01013000".
The byte is taken out and supplied to the arithmetic register 5. At this time, the effective storage protection key "001" (2) is supplied to the effective storage protection key register 123 existing on the pipe where the operand extraction circuit 4 is located. In addition, the selector 13 inputs the effective storage protection key "001" held by the effective storage/protection key register 123 into the specified data register 172.
Bit “l” (2) indicating to select “(2,”
is supplied, and the selector 13 selects the instructed "001" (2).
is selected and supplied to the calculation register 5. The control memory 9 transfers the contents of the microprogram stored in the micro logical address "0604" held by the control memory address register IO to the microprogram register 11.
Output to. This microprogram is executed by being held in the microprogram register 11, and at time T shown in FIG. step old). As a result, the selector 13 selects the effective memory protection key register 123 and supplies the effective memory protection key "001" (2) to the calculation register 5, while the program status word "1FF810000101200"
0' minus the effective storage protection key is input to the calculation register 5. Also, the control memory address register l
O holds the micro logical address "0620" of the second micro program supplied from the control memory 9.

次の時間T、に、演算レジスタ5には更新された実効記
憶保護キーを含むプログラム状態語”lFF91000
01012000”トオヘランF ”FFFF8000
”が保持され、マイクロプログラムレジスタ11には制
御メモリ9のアドレス”0620”に格納されているマ
イクロプログラムの内容が保持され、演算回路6に、演
算レジスタ5が保持する更新されたプログラム状態語と
オペランドデータを入力して算術計算と論理積演算を実
施する指示および書込みレジスタ7にその演算結果を保
持する指示が行なわ゛れる(ステップ22)。これによ
り、プログラム状態語’lFF91000010120
00”の内“01012000”に対しては命令“AF
O5COOO”の命令長′″4″を加算する算術加算演
算が行なわれ、”lFF91000”に対しては命令“
AF05COOO@のオペランドデータゴFFF800
0″と論理積が行なわれ、書込みレジスタ7に演算結果
が供給される。制御メモリアドレスレジスタ1Gはマイ
クロプログラムのマイクロ論理アドレス”062F”が
制御メモリ9より供給され保持する。次の時間T2で書
込みレジスタ7には演算回路6より供給された新たなプ
ログラム状態語となるべき演算結果“1FF90000
01012004”が保持され、マイクロプログラムレ
ジスタ11には制御メモリ9のアドレスである”062
1″に格納されているマイクロプログラムの内容が保持
され、書込みレジスタ7の出力をプログラム状態語レジ
スタ8に取り込む指示が行なわれる(ステップ23)。
At the next time T, the program state word "lFF91000" containing the updated effective memory protection key is stored in the operation register 5.
01012000”Tooheran F”FFFF8000
” is held, the microprogram register 11 holds the contents of the microprogram stored at the address “0620” of the control memory 9, and the arithmetic circuit 6 stores the updated program status word held in the arithmetic register 5. An instruction to input operand data and perform an arithmetic calculation and an AND operation, and an instruction to hold the operation result in the write register 7 are issued (step 22).As a result, the program status word 'lFF91000010120
For “01012000” of “00”, the command “AF
An arithmetic addition operation is performed to add the instruction length ``4'' of ``O5COOO'', and the instruction ``4'' is added to ``lFF91000''.
AF05COOO@ operand datago FFF800
0'' is performed and the operation result is supplied to the write register 7.The control memory address register 1G is supplied with the micro logic address "062F" of the microprogram from the control memory 9 and holds it.At the next time T2 The write register 7 receives the calculation result “1FF90000” which should become a new program status word supplied from the calculation circuit 6.
01012004” is held, and the microprogram register 11 holds the address “062” of the control memory 9.
The contents of the microprogram stored in 1'' are held, and an instruction is given to take the output of the write register 7 into the program status word register 8 (step 23).

これにより、新しいプログラム状態語″lFF9000
001012004”が書込みレジスタ7からプログラ
ム状態語レジスタ8に供給される。
This creates a new program status word "lFF9000".
001012004” is provided from write register 7 to program status word register 8.

次の時間T3でプログラム状態語レジスタ8は新しいプ
ログラム状態語″lFF9000001012004”
を保持する。
At the next time T3, the program state word register 8 contains a new program state word "lFF9000001012004".
hold.

(発明の効果) 以上説明したように本発明は、命令制御部が命令を取出
したことにより、それに対応して更新された実効記憶保
護キーを選択器により演算レジスタへ供給し、同じ時間
にプログラム状態語レジスタから供給された実効記憶保
護キーが除かれたプログラム状態語と演算レジスタに保
持させることにより、プログラム状態語更新指示のステ
ップと、命令取出しにより更新された実効記憶保護キー
を含むプログラム状態語がプログラム状態語レジスタに
保持されるのを待つステップが不要となり、命令取り出
しによるプログラム状態語更新処理の速度を速め、かつ
マイクロプログラムの容量を削減できる効果がある。
(Effects of the Invention) As explained above, in the present invention, when the instruction control unit takes out an instruction, the selector supplies the updated effective storage key to the operation register, and the program is programmed at the same time. By storing the effective memory protection key supplied from the status word register in the removed program state word and operation register, the step of program state word update instruction and the program state including the effective memory protection key updated by fetching the instruction are performed. This eliminates the need for the step of waiting for the word to be held in the program state word register, which has the effect of increasing the speed of program state word update processing by fetching instructions and reducing the capacity of the microprogram.

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

第1図は本発明の情報処理装置の一実施例の要部のブロ
ック図、第2図は第1図の情報処理装置において命令を
取り出したことにより更新されたプログラム状態語を読
出し、変更した後、新たなプログラム状態語に更新する
という命令を実行するマイクロプログラムのフローチャ
ート、第3図は第1図の情報処理装置の各パイプライン
上で実行されるマイクロプログラムの各ステップのタイ
ムチャート、第4図は情報処理装置の従来例の要部のブ
ロック図、第5図は第4図の情報処理装置において命令
を取り出したことにより更新されたプログラム状態語を
読出し、変更した後、新たなプログラム状態語として更
新するという命令を、実行するマイクロプログラムのフ
ローチャート、第6図は第4図の情報処理装置の各パイ
プライン上で実行されるマイクロプログラムの各ステッ
プのタイムチャートである。 1−−−−−オペレーションコードレジスタ、2−−−
−−デコーダ、 3−−−−−アドレス生成回路、 4・・・−オペランド取り出し回路、 5・−一演算レジスタ、 6−−−−−−演算回路、7
−−−−−−書込みレジスタ、 8−−−−−−プログラム状態語レジスタ、9−一・制
御メモリ、 10−・−制御メモリアドレスレジスタ、11−−−−
マイクロプログラムレジスタ、12、 #123−−−
−−−実効記憶保護キーレジスタ、13−−−−−選択
器、    14・−一命令制御部、15−−−−−マ
イクロプログラム制御部、16−−−−演算実行部、 17鳳、17 、−−−一指定データレジスタ。
FIG. 1 is a block diagram of a main part of an embodiment of an information processing device of the present invention, and FIG. 2 shows a program state word updated by fetching an instruction in the information processing device of FIG. 1 and modified. 3 is a flowchart of a microprogram that executes an instruction to update the program status word to a new program state word; FIG. 3 is a time chart of each step of the microprogram executed on each pipeline of the information processing device of FIG. 1; FIG. 4 is a block diagram of the main part of a conventional example of an information processing device, and FIG. 5 is a block diagram of a main part of a conventional example of an information processing device, and FIG. FIG. 6 is a flowchart of a microprogram that executes an instruction to update as a status word, and FIG. 6 is a time chart of each step of the microprogram executed on each pipeline of the information processing apparatus of FIG. 1----Operation code register, 2----
--Decoder, 3-----Address generation circuit, 4...-Operand extraction circuit, 5.--Arithmetic register, 6--------Arithmetic circuit, 7
--------Write register, 8---Program status word register, 9--Control memory, 10--Control memory address register, 11-----
Microprogram register, 12, #123---
--- Effective memory protection key register, 13 --- Selector, 14 - one instruction control section, 15 --- Micro program control section, 16 --- Operation execution section, 17 Otori, 17 , --- one designated data register.

Claims (1)

【特許請求の範囲】 パイプラインを有し、命令フェッチによるオペレーショ
ンコードおよび実効記憶保護キーの取り出し、オペレー
ションコードのデコード、アドレス生成、オペランド取
り出しを行なう命令制御部と、命令制御部より供給され
た命令の演算を行なう演算実行部と、命令制御部の指示
により所定のマイクロプログラムを実行することにより
演算実行部を制御して、オペレーションコードを取り出
したことにより更新されたプログラム状態語の新たなプ
ログラム状態語への更新の指示を行なうマイクロプログ
ラム制御部と、演算実行部の下段のパイプ上にあり、実
効記憶保護キーを含む現在実行中のプログラムに関連し
たシステム状況を保持し表示するプログラム状態語を保
持するプログラム状態語レジスタを有する情報処理装置
において、 命令制御部が命令をフェッチすることにより主記憶装置
から取り出した実効記憶保護キーを保持する実効記憶保
護キーレジスタと、 デコーダからの指示またはマイクロプログラムの制御に
より、実効記憶保護キーレジスタに保持されている実効
記憶保護キーまたは現在プログラム状態語レジスタに保
持されているプログラム状態語に含まれている実効記憶
保護キーを選択して演算実行部へ出力する選択器と、 プログラム状態語レジスタが保持しているプログラム状
態語から実効記憶保護キーを除く他の部分を演算実行部
へ出力する手段を有することを特徴とする情報処理装置
[Scope of Claims] An instruction control unit that has a pipeline and retrieves an operation code and effective storage protection key by fetching instructions, decodes the operation code, generates an address, and retrieves an operand, and an instruction supplied from the instruction control unit. A new program state of the program state word updated by controlling the arithmetic execution unit by executing a predetermined microprogram according to instructions from the instruction control unit and extracting the operation code. The program status word is located on the pipe below the microprogram control unit that instructs updates to the program, and the program status word that maintains and displays the system status related to the currently running program, including the effective memory protection key. In an information processing device having a program state word register that holds a program status word register, an effective memory protection key register that holds an effective memory protection key retrieved from a main memory by an instruction control unit fetching an instruction, and an instruction from a decoder or a microprogram. Under the control of , the effective memory protection key held in the effective memory protection key register or the effective memory protection key contained in the program state word currently held in the program state word register is selected and output to the calculation execution unit. An information processing device comprising: a selector for outputting a program state word held in a program state word register, excluding an effective storage protection key, to an arithmetic execution unit.
JP31675587A 1987-12-14 1987-12-14 Information processor Pending JPH01156850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31675587A JPH01156850A (en) 1987-12-14 1987-12-14 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31675587A JPH01156850A (en) 1987-12-14 1987-12-14 Information processor

Publications (1)

Publication Number Publication Date
JPH01156850A true JPH01156850A (en) 1989-06-20

Family

ID=18080558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31675587A Pending JPH01156850A (en) 1987-12-14 1987-12-14 Information processor

Country Status (1)

Country Link
JP (1) JPH01156850A (en)

Similar Documents

Publication Publication Date Title
JP3683230B2 (en) Data processing apparatus, instruction set switching method, data processing architecture, and data processing apparatus operating method
US4896259A (en) Apparatus for storing modifying data prior to selectively storing data to be modified into a register
JPS6217252B2 (en)
JP3203401B2 (en) Data processing device
US7546442B1 (en) Fixed length memory to memory arithmetic and architecture for direct memory access using fixed length instructions
JPH0241053B2 (en)
JPH0895804A (en) Central processor
JP3866513B2 (en) Computer processor and method for data streaming
JP2004529405A (en) Superscalar processor implementing content addressable memory for determining dependencies
JPS6120014B2 (en)
US3644900A (en) Data-processing device
US5151993A (en) Data processor performing operation on data having length shorter than one-word length
JPH01156850A (en) Information processor
US4853889A (en) Arrangement and method for speeding the operation of branch instructions
JP4159586B2 (en) Information processing apparatus and information processing speed-up method
JPS5815810B2 (en) digital processing equipment
JPS6217773B2 (en)
JPH01156851A (en) Information processor
JP2583506B2 (en) Data processing device
JPS6134188B2 (en)
JP2583614B2 (en) Vector arithmetic unit
JPH06162067A (en) Device and method for controlling vector instruction
JP4151497B2 (en) Pipeline processing equipment
JPS6226485B2 (en)
JPH0713757A (en) Data processor