JPS61241836A - Storage device - Google Patents

Storage device

Info

Publication number
JPS61241836A
JPS61241836A JP8394285A JP8394285A JPS61241836A JP S61241836 A JPS61241836 A JP S61241836A JP 8394285 A JP8394285 A JP 8394285A JP 8394285 A JP8394285 A JP 8394285A JP S61241836 A JPS61241836 A JP S61241836A
Authority
JP
Japan
Prior art keywords
register
register file
copy
processor
storage
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
JP8394285A
Other languages
Japanese (ja)
Other versions
JPH0546581B2 (en
Inventor
Yoshinari Nakasaki
中崎 良成
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 JP8394285A priority Critical patent/JPS61241836A/en
Publication of JPS61241836A publication Critical patent/JPS61241836A/en
Publication of JPH0546581B2 publication Critical patent/JPH0546581B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the overall processing performance of a system by interpreting instructions and performing the arithmetic processing at a processor part while a storage device is performing an environment saving process. CONSTITUTION:A storage device 11 contains a register group 15 having the same contents as those of a register group 14 of a processor part 12. In an environment saving process at the part 12 a writing process is possible to a storage part from the group 15 of the device 11 without transferring the data to the device 11 from the group 14 of the part 12. Therefore the part 12 is not required to perform the transfer of data for environment saving. Then the part 12 can interpret and calculate the desired instructions after saving the environment. This improves the processing performance at the part 12.

Description

【発明の詳細な説明】 (施業上の利用分野] 本発明は記憶装置に関し、特に計算機の10セツを部で
保持して込るレジスタの内容を効率工く記憶部に格納す
る為の記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of practical application) The present invention relates to a storage device, and particularly to a storage device for efficiently storing the contents of a register that holds 10 sets of a computer in a storage section. Regarding.

(従来技術とその問題点) 非手続き型のプログラミング言語であるリスプ。(Prior art and its problems) Lisp is a non-procedural programming language.

プロローグ言語などにおいては、現在の処理状態から次
の処理状態に移るときに必要な環境の退避操作の一環と
して、プロセッサ部で利用しているレジスタ群を記憶装
置に格納する退避処理がある。
In prologue languages and the like, as part of the environment saving operation required when moving from the current processing state to the next processing state, there is a saving process in which a group of registers used by the processor section is stored in a storage device.

この退避作業はプロセス、タスクの切替え時にも行われ
るものである。特にリス11 プロローグでは環境の退
避が頻繁に行なわれ、これらの言語の処理性能に大きな
影響企及ぼす。
This evacuation work is also performed when switching processes or tasks. In particular, the environment is frequently saved in the Squirrel 11 prologue, which has a large impact on the processing performance of these languages.

環境を退避する例としてrc[ウォーレン著(アアブス
トラクト プロローグ インストラクシ璽ン セット)
テクニカルノート309アーテイフイシヤル インテリ
ジェンスセンター、ニスアールアイインターナシ冒ナル
1983J(D、H,D。
As an example of evacuating the environment, rc [Written by Warren (Abstract Prologue Instructions Set)]
Technical Note 309 Artificial Intelligence Center, Nissrl Eye Internacional 1983J (D, H, D.

Warren   @An  Abstract   
Pro 凰ogInst−ruction Set″T
echnical  note  309 Ar−ti
ficjal  Inte目igence Cente
r 。
Warren @An Abstract
Pro ogInst-ruction Set″T
electrical note 309 Ar-ti
ficjal
r.

Center、 SRI  Internationa
l、 1983)の3ページに記されている環境(en
vironme−nts)および選択点(choice
  points)の退避を挙げることができる。
Center, SRI International
1983), page 3 of the
vironme-nts) and choice points
One example is the evacuation of points).

従来の計算機において、前記の退避操作はプロセッサ部
がレジスタの内容と格納先アドレス記憶装置に出力する
Cとに工って、1つのレジスタの内容が記憶装置に格納
され、この操作を繰り返すことに工って前記の環境の退
避が行われる。即ちプロセッサ部においては、レジスタ
群を退避する際には、単にレジスタの内容を記憶装置に
転送する操作のみ行うことになり、プロセッサ部での主
要処理である演算、データ操作、命令の解釈などの処理
剤に備えられたノ1−ドウエアt−有効に利用せず、高
速な処理ができないという問題点かあつ九。
In conventional computers, the above-mentioned save operation is performed by the processor section, which manipulates the contents of the register and the C output to the storage destination address storage device, so that the contents of one register are stored in the storage device and this operation is repeated. The above-mentioned environment will be evacuated. In other words, when the processor section saves a group of registers, it simply transfers the contents of the registers to the storage device. The problem is that the air provided in the processing agent is not used effectively and high-speed processing cannot be performed.

(発明の目的) 本発明の目的にこの工りな従来の問題点全除去せしめる
と共に、環境を退避する際にプロセッサ部のレジスタの
内容を記憶装置の記憶部に高速に格納する為の記憶装置
を提供することにある。
(Object of the Invention) The purpose of the present invention is to eliminate all the problems of the conventional art, and to provide a storage device for quickly storing the contents of the registers of the processor section in the storage section of the storage device when saving the environment. It is about providing.

(発明の構成) 本発明の記憶装置はデータの処理を行うプロセ、す部と
、データお工びプログラムを格納する記憶部と、プロセ
ッサ部にある各種レジスタと同じ内St”保持するコピ
ーレジスタファイルと、前記コピーレジスタファイル中
のレジスタの数に等しいビットMで各レジスタに対応し
て備える退避フラグと、前記記憶部に転送する必要があ
る前記コピーレジスタファイルの各レジスタに対応する
退避フラグをセットする手段と、前記記憶装置へ転送す
ることが必要な前記コピーレジスタの内容を前記記憶部
に順次書き込み、書き込みを終え友前記コピーレジスタ
ファイルのレジスタに対応する前記退避フラグ中のピッ
)1−リセットする記憶制御部と、前記プロセッサ部が
プロセッサ内のレジスタに書き込みを行うときに対応す
るコピーレジスタファイル中のレジスタに対応する退避
フラグのビットがセットされている場合に前記プロセッ
サ部からコピーレジスタファイルへの書き込み全禁止し
てプロセッサ部の処理を止める手段とから溝底される。
(Structure of the Invention) The storage device of the present invention includes a processor section that processes data, a storage section that stores a data processing program, and a copy register file that holds the same registers as various registers in the processor section. and a save flag provided corresponding to each register with a bit M equal to the number of registers in the copy register file, and a save flag corresponding to each register of the copy register file that needs to be transferred to the storage unit. and a means for sequentially writing the contents of the copy register that need to be transferred to the storage device into the storage unit, and after the writing is completed, a 1-reset in the save flag corresponding to the register of the copy register file. a storage control unit that writes to a register in the processor, and when a save flag bit corresponding to a register in the corresponding copy register file is set when the processor unit writes to a register in the processor, from the processor unit to the copy register file. This is done by completely inhibiting the writing of the data and stopping the processing of the processor section.

(ギ発明の作用・原理) 本発明にプロセッサ部が保持しているレジスタ群の中で
環境を退避するために必要なレジスタ群を記憶!!装側
でも備え、プロセッサ部の対応するレジスタと同一の自
答全保持する。プロセッサ部で環境の退避を行う際には
プロセッサ部のレジスタ群からではすく、記憶装置のレ
ジスタ群のデータを記憶部に格納する。これにエリ本発
明は記憶装置で環境の退避を行っている間に、プロセッ
サ部での命令の解釈、演算処理を可能にし、システム全
体の処理性能を同上せしめる。
(Function/principle of the invention) The present invention stores a register group necessary for saving the environment among the register groups held by the processor section! ! It is also provided on the hardware side and holds all the same registers as the corresponding registers in the processor section. When saving the environment in the processor section, data from the register group of the storage device is stored in the storage section, rather than from the register group of the processor section. In this regard, the present invention enables the processor section to interpret instructions and perform arithmetic processing while the environment is being saved in the storage device, thereby improving the processing performance of the entire system.

(実施例) 以下本発明の実施例について図面を参照して詳細に説明
する。
(Example) Examples of the present invention will be described in detail below with reference to the drawings.

81!1図は本発明の実施例を示す、藁1図において、
本発明の一実施例はデータの転送を制御可能にした記憶
装置11と、データの処理を行うプロセッサ部12とを
含む、記憶装置1n;Cデータお上びプログラムを格納
する記憶部11を有し、プロセッサ部12はデータ処理
時に状態およびデータを一時保持するために備えるレジ
スタ群t′マとめたレジスタファイル14t−有する。
Figure 81!1 shows an embodiment of the present invention.
One embodiment of the present invention has a storage device 1n that includes a storage device 11 that can control data transfer and a processor section 12 that processes data; and a storage section 11 that stores C data and programs. The processor section 12 has a register file 14t which is a register group t' for temporarily holding state and data during data processing.

記憶装置11の中に框、プロセッサ部12が保持してい
るレジスタファイル14の中から環境の退避時に利用す
るレジスタ群′f:保持するコビーレジスタファイル1
4と、コピーレジスタファイル15の各レジスタに対応
して1ビツトづつ備える退避フラグ16と、データ転送
処理をマイクロプログラムで制御する記憶制御部17と
、環境1tj憶部13I/c退避するときにプロセッサ
部12から送られる記憶部13の退避領域アドレスを保
持し、歩進する機能を持つアドレスレジスタ18とを有
する。プロセッサ部12はデータ処理を制御するプロセ
ッサ制御部19t−有し、環境を退避するときに退避対
象レジスタ群を指定して退避を指示するレジスタコピー
コマンド@20を有する。プロセッサ部12ばレジスタ
ファイル14の中のレジスタに書込みを行うときレジス
タアドレス線35を介して前記レジスタに対応する退避
フラグ16のビットがセットされていると、退避未完了
偏号36がONになり、レジスタライト偏号34とのA
ND処理を行うことにぶってプロセッサ12での処理を
禁止するゲー)21を有する。更に記tti装置11は
コピーレジスタファイル15から記憶部13へ環境退避
の処理としてデータを転送する状態であること金示す退
避状態2ラグ22とプロセッサ部12からデータ線37
を介して送られるデータあるいはコピーレジスタファイ
ル15からデータ線38を介して送られるデータのいづ
れかを退避状態フラグ22に工って選択するセレクタ2
3t=有する。
A register group 'f used when saving the environment from among the register files 14 held in the storage device 11 and the processor unit 12: Coby register file 1 to be held.
4, a save flag 16 provided with one bit corresponding to each register of the copy register file 15, a storage control unit 17 that controls data transfer processing using a microprogram, and an environment storage unit 13 The address register 18 has a function of holding and incrementing the save area address of the storage section 13 sent from the section 12. The processor unit 12 has a processor control unit 19t which controls data processing, and has a register copy command @20 which specifies a register group to be saved and instructs saving when saving the environment. When writing to a register in the register file 14 in the processor section 12, if the bit of the save flag 16 corresponding to the register is set via the register address line 35, the save incomplete flag 36 is turned ON. , A with register write polarization 34
A game) 21 is provided which prohibits processing by the processor 12 in order to perform ND processing. Furthermore, it is noted that the data line 37 from the evacuation state 2 lag 22 and the data line 37 from the processor section 12 indicate that the TTI device 11 is in a state where data is transferred from the copy register file 15 to the storage section 13 as an environment evacuation process.
A selector 2 selects either the data sent via the data line 38 or the data sent from the copy register file 15 via the data line 38 as the save state flag 22.
3t=has.

退避状態フラグ22に、コピーレジスタファイル15か
ら記憶部13ヘレジスタ内容を転送する環壊退避中であ
るときにプロセッサ部12から記憶部13へのアクセス
要求39があ−)友場合、ゲート24でプロセッサ部1
2での処理を禁示する工うに制御する。
If the save state flag 22 indicates an access request 39 from the processor section 12 to the memory section 13 during a chain evacuation in which register contents are transferred from the copy register file 15 to the memory section 13, the processor Part 1
The processing in step 2 is prohibited.

データ線40uレジスタコピーコマンド線2゜で送られ
るレジスタコピーコマンドを記憶制御装置17が受けた
ときにコピーレジスタファイル15の退避対象レジスタ
群に対応したビットパターンを退避フラグ16に格納す
るために使用される。
It is used to store the bit pattern corresponding to the register group to be saved in the copy register file 15 in the save flag 16 when the storage control device 17 receives a register copy command sent via the register copy command line 2°. Ru.

第2図は本発明の一実施例Ilc会けるHB憶装置およ
びプロセッサ部の動作を説明するための図で、迩2図(
a)は環境退避直前の状態を示し、第2図+blは、プ
ロセッサ部12の環境を退避する途中の状態を示す。第
2図において、この実施例の動作を説明すると、環境を
退避する以前の処理として、プロセッサ部12ではデー
タ処理を行う、データ処理において、レジスタファイル
14には、一時的なデータあるいに状態が書き込まれる
。このレジスタファイル14に書き込むと同時にレジス
タアドレス線35で指示される記t[!F、置装1のコ
ピーレジスタファイル15の対応するレジスタ位置にレ
ジスタファイル14に書き込まれる内容と同一の内容を
データ線31を介して書き込む、この状11t−g2図
(a)、(b)ルジスタファイル14とコピーレジスタ
ファイル150例で示す、この例では対応するレジスタ
位置に同一の値a、b、cが格納される。
FIG. 2 is a diagram for explaining the operation of the HB storage device and the processor unit in one embodiment of the present invention.
A) shows the state immediately before saving the environment, and FIG. 2+bl shows the state in the middle of saving the environment of the processor section 12. Referring to FIG. 2, the operation of this embodiment will be explained. Before saving the environment, the processor section 12 performs data processing. During the data processing, the register file 14 stores temporary data or state information. is written. At the same time as writing to this register file 14, the note t[! F. Write the same content as that written to the register file 14 to the corresponding register position of the copy register file 15 of the device 1 via the data line 31. This state 11t-g2 (a), (b) In this example, the same values a, b, and c are stored in corresponding register positions.

プロセッサ部12では一連のデータ処理を終了し友後、
環境全退避する操作を開始する。レジスタファイル14
の中で第2図に示す工うに3個のレジスタRk、R1,
RJ+1  の内容を退避するために、プロセッサ部1
2では、レジスタコピーコマンド線20t−介して、前
記の3尚のレジスタの内容を記憶部13に転送するため
のレジスタコピーコマンドを送る。退避するレジスタの
順番、お工びコピーレジスタファイル15の退避対象レ
ジスタのアドレスは記憶制御部170マイクロプログラ
ムに1って制御される。この実施例における退避順はl
!2図のR+2.RIl、R1+1  の順である。ア
ドレス線32t−介してプロセッサ部12からアドレス
レジスタ18に記憶部13への格、先アドレス″′n”
を送り、アドレスレジスタ18に1n”が格納される。
After completing a series of data processing in the processor section 12,
Start the operation to evacuate the entire environment. Register file 14
In the structure shown in FIG. 2, there are three registers Rk, R1,
In order to save the contents of RJ+1, processor unit 1
In step 2, a register copy command for transferring the contents of the three registers mentioned above to the storage unit 13 is sent via the register copy command line 20t. The order of the registers to be saved and the address of the register to be saved in the copy register file 15 are controlled by the storage control unit 170 microprogram. In this example, the save order is l
! R+2 in Figure 2. The order is RI1 and R1+1. The destination address "'n" is sent from the processor section 12 to the address register 18 to the storage section 13 via the address line 32t.
1n” is stored in the address register 18.

記tXf装置11の記憶制御部17[プロセッサ部12
から送られたレジスタコピーコマンドt−受ffた後、
データ線40t−介して退避フラグ16にコピーレジス
タファイル15のレジスタの中で退避対象となっている
レジスタを示すビットパターンを退避フラグ16に格納
する。第2図(alの例でに@0010・・−・・O1
l″ が退避フラグ16に格納される。これらのビット
パターンは、レジスタコピーコマンド線20t−介して
送られるコピーコマントの種類に1って異り、ビットパ
ターンは記憶制御部17のマイクロ命令で与えられる即
値に1って決定される。さらに退避状態フラグ22t−
セットする。この後、R2,R,、九/+1 の3個の
レジスタの内容を記憶部13に退避する処理を開始する
The storage control section 17 of the tXf device 11 [processor section 12
After receiving the register copy command t-ff sent from
A bit pattern indicating a register to be saved among the registers of the copy register file 15 is stored in the save flag 16 via the data line 40t. Figure 2 (in the example of al @0010...O1
l'' is stored in the save flag 16. These bit patterns differ depending on the type of copy command sent via the register copy command line 20t, and the bit patterns are given by the microinstruction of the storage control unit 17. The immediate value is determined to be 1. Furthermore, the save state flag 22t-
set. Thereafter, the process of saving the contents of the three registers R2, R, 9/+1 to the storage unit 13 is started.

退避状態フラグ22がセット状態であるので、セレクタ
23にデータ!lA38からの入力をその出力として選
択する。この結果環境退避処理として、コピーレジスタ
ファイル15からデータ線38f介して記憶部13ヘデ
ータ転送される。転送先のアドレスはアドレスレジスタ
18で示され、最初の転送では、嘱2図(alの記憶部
13の′″n′″n′″番地レジスタファイル15のR
Is レジスタの内容1a”が格納される。このときl
/c几3に対応する退避7ラグ16のピッ1ダ1”から
”0”に変え、几3の退避を完了したことを示す0次に
、アドレスレジスタ18の内容が1n″から歩進され1
n+1″となる。このアドレスで示される記憶部13の
1n+1”番地に几Iレジスタの内容″′b″が格納さ
れる。同時に几。に対応する退避フラグ160ビツトを
”1”から”O”に変える。
Since the save state flag 22 is set, the data! Select the input from lA38 as its output. As a result, as environment saving processing, data is transferred from the copy register file 15 to the storage unit 13 via the data line 38f. The address of the transfer destination is indicated by the address register 18, and in the first transfer, the address ``n''''n'' of the storage section 13 of al.
The contents of the Is register 1a” are stored. At this time, l
/c Changes the bit 1'' of the evacuation 7 lag 16 corresponding to 几3 to ``0'', indicating that the evacuation of 几3 has been completed.Then, the contents of the address register 18 are incremented from 1n''. 1
n+1''. The contents of the I register ``'b'' are stored at address 1n+1'' of the storage unit 13 indicated by this address. At the same time, 几. Change the save flag 160 bits corresponding to "1" to "O".

続いてアドレスレジスタ18の内容が歩進され“n+2
”となる。この結果、8g2図(b)に示す記憶部13
お工び退避フラグ16の状態になる。この状態で、プロ
セッサ部12から記憶部アクセス要求39にエフ記憶部
13への書き込み要求があると、退避状態7ラグ22が
セット状態であることからゲート24ではプロセッサ部
12に対する処理禁止信号を出力する。この結果、記憶
部13への環境退避処理中にプロセッサ部12から記憶
部アクセス要求39があったときにはプロセッサ部12
の処理を中断し、その間、環境退避処理を記憶装置11
で続行する。この結果、記憶部130′″n+2″番地
に@C″が格納されることにエフ一連の環境退避操作が
終了する。記憶装置11での環境退避が終了したことを
示すために退避状態フラグ22t−リセットする。
Subsequently, the contents of the address register 18 are incremented to "n+2".
”.As a result, the storage unit 13 shown in Figure 8g2 (b)
The state of the work evacuation flag 16 is reached. In this state, when there is a write request to the F storage unit 13 from the processor unit 12 in the storage unit access request 39, the gate 24 outputs a processing prohibition signal to the processor unit 12 because the save state 7 lag 22 is set. do. As a result, when there is a storage section access request 39 from the processor section 12 during the environment saving process to the storage section 13, the processor section 12
During this period, the environment evacuation process is performed on the storage device 11.
Continue with. As a result, @C'' is stored in the storage unit 130'''n+2'' address, and a series of environment saving operations are completed.The saving state flag 22t is used to indicate that the environment saving in the storage device 11 has been completed. -Reset.

!2図ib)の状態のときにプロセッサ部12がレジス
タファイル14の几1+xレジスタへの書き込み処理を
行り場合について以下に示す。プロセッサ部12がレジ
スタファイル14に書き込むと同時にコピーレジスタフ
ァイル150RJ+xレジスタへの書き込みを行うこと
になる。この場合、記憶部13への退避が完了する前に
RJ+tレジスタの内容”C″が書き替えられ、退避処
理が正常に終了しないことになる。
! A case in which the processor unit 12 performs write processing to the 1+x register of the register file 14 in the state shown in FIG. 2 ib) will be described below. When the processor unit 12 writes to the register file 14, it also writes to the copy register file 150RJ+x register. In this case, the content "C" of the RJ+t register will be rewritten before the saving to the storage unit 13 is completed, and the saving process will not end normally.

し九がって本実施例に訃いては、退避フラグ16を備え
、几ll+1のレジスタに対応するビットが9+1”で
ある場合には、退避未完了信号36に′″1″を出力し
、プロセッサ部12のゲート21に入力することに工っ
てプロセッサ部12でのレジスタ書込み処理全中断させ
る。この結果コピーレジスタフアイル150Rg+xレ
ジスタに対応するレジスタの値として1C”が保存され
、記憶部12の1ni2”番地にfl R、g +ルジ
スタの退避内容として”C″を格納できる。
Therefore, in this embodiment, a save flag 16 is provided, and when the bit corresponding to the register 11+1 is 9+1'', ``1'' is outputted to the save incomplete signal 36, By inputting the input to the gate 21 of the processor section 12, all register write processing in the processor section 12 is interrupted.As a result, 1C'' is saved as the value of the register corresponding to the copy register file 150Rg+x register, and the value of 1C'' is stored in the memory section 12. ``C'' can be stored at address ``1ni2'' as the saved contents of fl R, g + Lujistar.

本実施例においては本発明の詳細な説明するために示し
たが本発明の特許請求の範囲を制限するものではない。
Although this example is shown to explain the present invention in detail, it is not intended to limit the scope of the claims of the present invention.

たとえば本実施例では、3箇のレジスタを退避するレジ
スタコピーコマンドを例として示し九が、この他に異る
レジスタ、ある論は異る箇数のレジスタ金退避するコマ
ンドも備えることができる。特に環境を退避する場合に
常に同一のレジスタ群を退避するものではなく、箇数。
For example, in this embodiment, a register copy command for saving three registers is shown as an example; however, commands for saving other registers, or possibly a different number of registers, may also be provided. In particular, when saving the environment, the same register group is not always saved, but the number of registers.

順序が異るので、これらの退避の型に対応して複数種類
のコマンド金偏えることも可能である。
Since the order is different, it is also possible to distribute multiple types of command money corresponding to these types of evacuation.

マ九、プロセッサ部でのレジスタファイルt−1箇のみ
示したが、複数のレジスタファイル、複数の各種レジス
タを備えることができ、これらのレジスタファイル、レ
ジスタが、環境退避処理に必要であれば、コピーレジス
タファイルと同様記憶装置内に備えることができる。記
憶装置に備えるレジスタ、レジスタファイルはプロセッ
サ部で備えているもの全てを備える必要はなく、環境の
退避に必要なレジスタ、レジスタファイルに対応して備
えれば、十分である。
Although only register file t-1 in the processor section is shown, multiple register files and multiple registers of various types can be provided, and if these register files and registers are necessary for environment save processing, It can be provided in a storage device like a copy register file. It is not necessary to include all of the registers and register files provided in the storage device that are provided in the processor section; it is sufficient to provide registers and register files that correspond to the registers and register files necessary for saving the environment.

退避フラグ16に格納するビットパターンは記憶制御部
17のマイクロプログラムで指定できる即値により生成
したが、レジスタコピーコマンドに対応したビットパタ
ーンテーブル金偏えることに二〇、ビット巾の大きいビ
ットパターンに扱うことができる。さらにテーブルを介
することによるビットパターン発生、修正処理t−工り
柔軟に実現することができる。
The bit pattern stored in the save flag 16 was generated using an immediate value that can be specified by the microprogram of the storage control unit 17, but the bit pattern table corresponding to the register copy command is biased, and the bit pattern is treated as a bit pattern with a large bit width. be able to. Furthermore, bit pattern generation and correction processing can be flexibly realized by using a table.

本実施例では退避状態フラグ22を備えたが、このフラ
グに替え、退避フラグ16の各ビラトラOR1ゲートの
入力とすることにJ:り、このORゲートの出力を環境
退避処理中であるか否かを示す旧号として利用すること
ができる。
In this embodiment, the evacuation state flag 22 is provided, but instead of this flag, the output of this OR gate is used as an input to each of the Villatra OR1 gates of the evacuation flag 16. It can be used as an old name to indicate.

(発明の効果) 本発明は以上説明した工うに記憶装置中にプロセッサ部
に備えているレジスタ群と同一内容のレジスタ群を備え
ることにエリ、プロセッサ部の環境全退避する処理では
、プロセッサ部のレジスタ群から記憶装置にデータを転
送することなく、記憶装置中の前記レジスタから記憶部
に書き込むCとができるので10セッサ部では環境を退
避するためのデータ転送を行う必要がなく、環境を退避
しt後に必要な命令の解釈、演算などの処理を行りこと
ができ、プロセッサ部での処理性能を向上させることが
できる。
(Effects of the Invention) The present invention has the advantage of providing a register group with the same contents as the register group provided in the processor section in the storage device as described above. Since data can be written from the registers in the storage device to the storage unit without transferring data from the register group to the storage device, there is no need to transfer data to save the environment in the 10 processor unit, and the environment can be saved. After the processing, necessary instruction interpretation, arithmetic operations, etc. can be performed, and the processing performance of the processor section can be improved.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例の動作t−説明する九めの記憶装置、
プロセッサ部の内容例を示す図上ある。 11・・・・・・記憶装置、12・・・・・・プロセッ
サ部、13・・・・・・記憶部、14・・・・・・レジ
スタファイル、15・・・・・・コピーレジスタファイ
ル、16・・・・・・退避フラグ、17・・・・・・記
憶制御部、18・・・・・・アドレスレジスタ、14・
・・・・・プロセッサ制御部、22・・・・・・  □
退避状態フラグ。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a ninth storage device to explain the operation of the embodiment of the present invention.
The figure above shows an example of the contents of the processor section. 11...Storage device, 12...Processor unit, 13...Storage unit, 14...Register file, 15...Copy register file , 16... Save flag, 17... Storage control unit, 18... Address register, 14...
...Processor control section, 22... □
Evacuation status flag.

Claims (1)

【特許請求の範囲】[Claims] 各種レジスタを持ち、データの処理を行うプロセッサ部
と、データおよびプログラムを格納する記憶部と、前記
プロセッサ部にある各種レジスタと同じ内容を保持する
コピーレジスタファイルと、前記コピーレジスタファイ
ル中のレジスタの数に等しいビット数で各レジスタに対
応して備える退避フラグと、前記記憶部に転送する必要
がある前記コピーレジスタファイルの各レジスタに、対
応する退避フラグをセットする手段と前記記憶装置へ転
送することが必要な前記コピーレジスタの内容を前記記
憶部に順次書き込み、書き込みを終えた前記コピーレジ
スタファイルのレジスタに対応する前記退避フラグ中の
ビットをリセットする記憶制御部と、前記プロセッサ部
がプロセッサ内のレジスタに書き込みを行うときに、対
応するコピーレジスタファイル中のレジスタに対応する
退避フラグのビットがセットされている場合に前記プロ
セッサ部からコピーレジスタファイルへの書き込みを禁
止してプロセッサ部の処理を止める手段を備え、レジス
タファイルの内容を前記記憶装置に転送する処理と前記
プロセッサ部での処理を並列に実行できるようにしたこ
とを特徴とする記憶装置。
A processor section that has various registers and processes data, a storage section that stores data and programs, a copy register file that holds the same contents as the various registers in the processor section, and a register of the registers in the copy register file. means for setting a corresponding save flag in each register of the copy register file that needs to be transferred to the storage unit; a storage control unit that sequentially writes the contents of the copy registers that are necessary for the storage unit into the storage unit and resets bits in the save flag corresponding to the registers of the copy register file that have been written; When writing to a register, if the save flag bit corresponding to the register in the corresponding copy register file is set, writing from the processor section to the copy register file is prohibited and the processing of the processor section is stopped. 1. A storage device, comprising: a means for stopping the register file, and a process for transferring contents of a register file to the storage device and a process in the processor unit can be executed in parallel.
JP8394285A 1985-04-19 1985-04-19 Storage device Granted JPS61241836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8394285A JPS61241836A (en) 1985-04-19 1985-04-19 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8394285A JPS61241836A (en) 1985-04-19 1985-04-19 Storage device

Publications (2)

Publication Number Publication Date
JPS61241836A true JPS61241836A (en) 1986-10-28
JPH0546581B2 JPH0546581B2 (en) 1993-07-14

Family

ID=13816637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8394285A Granted JPS61241836A (en) 1985-04-19 1985-04-19 Storage device

Country Status (1)

Country Link
JP (1) JPS61241836A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312634A (en) * 1988-06-10 1989-12-18 Matsushita Electric Ind Co Ltd Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312634A (en) * 1988-06-10 1989-12-18 Matsushita Electric Ind Co Ltd Data processor

Also Published As

Publication number Publication date
JPH0546581B2 (en) 1993-07-14

Similar Documents

Publication Publication Date Title
JPH0414385B2 (en)
JPS61241836A (en) Storage device
JPS6019251A (en) Document switch control system for document processing system
JPS61184643A (en) Starting control system for virtual computer
JPS61241838A (en) Storage device
JPS59206947A (en) Microprogram controlling device
JP2720427B2 (en) Vector processing equipment
JPS61188633A (en) Memory device
JPS623341A (en) Conditional control method
JPS61260334A (en) Storage device
JPS61241835A (en) Data processor capable of environment saving parallel processing
JP2883489B2 (en) Instruction processing unit
JPS6047615B2 (en) Serialized instruction execution control method
JPS5846444A (en) Register group storage device
JPH03266120A (en) Instruction decoding control system
JPH0578052B2 (en)
JPS63233438A (en) Memory controller
JPS63282526A (en) System for controlling electronic computer
JPS60173633A (en) Arithmetic processing unit
JPH04293159A (en) Vector data processor
JPH01195533A (en) Control system for instruction pre-reading direction of pipeline system computer
JPH03225529A (en) Microprocessor
JPH0473177B2 (en)
JPH0399338A (en) Microprocessor
JPH04127367A (en) List vector processor