JP2790556B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2790556B2
JP2790556B2 JP3308117A JP30811791A JP2790556B2 JP 2790556 B2 JP2790556 B2 JP 2790556B2 JP 3308117 A JP3308117 A JP 3308117A JP 30811791 A JP30811791 A JP 30811791A JP 2790556 B2 JP2790556 B2 JP 2790556B2
Authority
JP
Japan
Prior art keywords
load
access register
register
access
segment table
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.)
Expired - Fee Related
Application number
JP3308117A
Other languages
Japanese (ja)
Other versions
JPH05143461A (en
Inventor
敦 池
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3308117A priority Critical patent/JP2790556B2/en
Publication of JPH05143461A publication Critical patent/JPH05143461A/en
Application granted granted Critical
Publication of JP2790556B2 publication Critical patent/JP2790556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、多重仮想記憶システム
における仮想記憶アドレス空間のアクセス制御を実行す
データ処理装置に関し、特に、仮想アドレスから実ア
ドレスへのアドレス変換を高速で実行可能にするデータ
処理装置に関するものである。
BACKGROUND OF THE INVENTION This invention relates to a data processing device for executing access control of the virtual memory address space in a multi-virtual storage system, in particular, data allowing perform address translation to a real address at high speed from the virtual address
The present invention relates to a processing device .

【0002】従来の多重仮想記憶システムでは、コント
ロールレジスタによって指定されるアドレス空間内のデ
ータをアクセスすることのみが許されており、複数のア
ドレス空間内のデータを参照するためには、コントロー
ルレジスタの内容を入れ換えていく必要があったが、こ
のコントロールレジスタの内容の入れ換え処理はオペレ
ーティングシステムの管理下におかれていたために、ユ
ーザプログラムが直接複数のアドレス空間にまたがるよ
うなデータの処理を実行できなかった。
In a conventional multiple virtual memory system, only access to data in an address space specified by a control register is permitted. In order to refer to data in a plurality of address spaces, the data in the control register cannot be accessed. Although the contents had to be replaced, the contents of this control register were replaced under the control of the operating system, so that the user program could execute data processing that directly spans multiple address spaces. Did not.

【0003】このようなことを背景にして、最近、アク
セスレジスタを用いて、極めて多数のアドレス空間のデ
ータをユーザプログラムから直接アクセスすることを可
能とする新たなアーキテクチャの多重仮想記憶システム
が実用化されている。この多重仮想記憶システムを実装
していく場合には、アドレス変換のために必要となるセ
グメントテーブルを高速にアクセスできるようにして、
仮想アドレスから実アドレスへのアドレス変換処理を高
速で実現可能とするような手段を講じていく必要があ
る。
[0003] Against this background, recently, a multiple virtual memory system of a new architecture has been put to practical use, which enables an access register to directly access data in an extremely large number of address spaces from a user program. ing. When implementing this multiple virtual storage system, the segment table required for address translation can be accessed at high speed,
It is necessary to take measures to enable high-speed address conversion processing from a virtual address to a real address.

【0004】[0004]

【従来の技術】アクセスレジスタを用いる新たな多重仮
想記憶システムでは、図6に示すように、アクセスレジ
スタ番号(ベースレジスタ番号と対応付けがとられる)
によりアクセスされるアクセスレジスタの内容(ALE
Tと称されている)によりアクセスリストの対応データ
が特定され、この特定されたアクセスリストの対応デー
タによりASNセカンドテーブルの管理するセグメント
テーブル指定子(図中ではSTDと略してある)の中の
1つのセグメントテーブル指定子が特定されて、この特
定されたセグメントテーブル指定子の指定するセグメン
トテーブルを用いて、動的アドレス変換機構による仮想
アドレスから実アドレスへのアドレス変換を実行すると
いう構成を採っている。
2. Description of the Related Art In a new multiple virtual storage system using an access register, as shown in FIG. 6, an access register number (correlated with a base register number).
Of the access register accessed by ALE (ALE
T), the corresponding data of the access list is specified, and the corresponding data of the specified access list is used in the segment table specifier (abbreviated as STD in the figure) managed by the ASN second table. One segment table specifier is specified, and the address conversion from the virtual address to the real address by the dynamic address conversion mechanism is performed by using the segment table specified by the specified segment table specifier. ing.

【0005】この構成にあって、ユーザプログラムは、
例えば16個設けられるアクセスレジスタのエントリに
対してALETをロードすることで、1Kとか4Kの容
量を持つアクセスリストをアクセスすることが可能にな
り、これにより、極めて多数のセグメントテーブル指定
子を選択することが可能となることで、従来にない大容
量の多重仮想記憶を利用することができるのである。な
お、これとは別に、第1番のコントロールレジスタ(C
R1)の管理するセグメントテーブル指定子によって指
定されるプライマリ空間と、第7番のコントロールレジ
スタ(CR7)の管理するセグメントテーブル指定子に
よって指定されるセカンダリ空間という2つのアドレス
空間が用意されている。
In this configuration, the user program is:
For example, by loading ALET for the entries of 16 access registers provided, it becomes possible to access an access list having a capacity of 1K or 4K, thereby selecting an extremely large number of segment table specifiers. This makes it possible to use a large-capacity multi-virtual storage that has never been available before. In addition, separately from this, the first control register (C
Two address spaces are prepared: a primary space specified by a segment table specifier managed by R1) and a secondary space specified by a segment table specifier managed by the seventh control register (CR7).

【0006】この多重仮想記憶システムでは、複数のテ
ーブルを順番にアクセスしていくことでセグメントテー
ブル指定子を得るように構成していることから、セグメ
ントテーブル指定子が得られるまでに時間がかかるとい
う問題点がある。そこで、ALETからセグメントテー
ブル指定子への変換を高速で実行するアクセスレジスタ
変換索引緩衝機構(ALBと称されている)を備えるこ
とで、必要とされるセグメントテーブル指定子が高速で
得られるようにする構成を採っている。
In this multiple virtual storage system, since a segment table specifier is obtained by sequentially accessing a plurality of tables, it takes time to obtain a segment table specifier. There is a problem. Therefore, by providing an access register conversion index buffer mechanism (referred to as an ALB) for executing the conversion from the ALET to the segment table specifier at a high speed, the required segment table specifier can be obtained at a high speed. The configuration is adopted.

【0007】しかるに、このALBを用いるアクセス方
法では、先ず最初に、与えられたアクセスレジスタ番号
に従ってアクセスレジスタからALETを読み出し、続
いて、このALETに従ってALBからセグメントテー
ブル指定子を読み出していくという2段階の処理を踏む
ために、必要とされるセグメントテーブル指定子が得ら
れるまでに時間がかかり過ぎるという問題点がある。そ
して、この問題点は、ALBのハードウェア量が大きな
ものとなるためにCPUの主要部に配置することができ
ないことで更に大きなものとなることになる。
However, in the access method using the ALB, first, an ALET is read from the access register according to a given access register number, and then a segment table specifier is read from the ALB according to the ALET. , It takes too much time to obtain the required segment table specifier. This problem is further exacerbated by the fact that it cannot be arranged in the main part of the CPU because the hardware amount of the ALB is large.

【0008】そこで、本出願人は、平成1年7月25日に
出願した特願平1-192267 号(特開平3-57046号/発明
の名称:仮想記憶アドレス空間アクセス制御方式)で、
アクセスレジスタ番号からセグメントテーブル指定子へ
の変換を高速に実行する変換索引レジスタ(以下、SA
R:Shadow Access Register と称することがある)を備
えることで、必要とされるセグメントテーブル指定子が
高速で得られるようにする発明を開示した。
Accordingly, the present applicant has filed Japanese Patent Application No. Hei 1-192267 (JP-A-3-57046 / Title of Invention: Virtual memory address space access control system) filed on July 25, 1999.
A conversion index register (hereinafter, referred to as SA) for performing high-speed conversion from an access register number to a segment table designator
R: sometimes referred to as a shadow access register), so that a required segment table specifier can be obtained at high speed.

【0009】すなわち、アクセスレジスタ番号とセグメ
ントテーブル指定子との対応関係を管理する変換索引レ
ジスタを用意し、システムの初期化時やパージ命令等が
発行される場合には、その管理データに対応付けられる
有効ビットを無効化する構成を採って、アクセスレジス
タ番号が与えられるときに、そのアクセスレジスタ番号
対応の有効ビットが無効データを表示するときには、A
LBを索引することで求まるセグメントテーブル指定
子、ALBでヒットしないときには、上述のアクセスレ
ジスタ→アクセスリスト→ASNセカンドテーブルの変
換ルートで求まるセグメントテーブル指定子を登録して
有効化していくとともに、このセグメントテーブル指定
子を動的アドレス変換機構に与えていく構成を採る。そ
して、アクセスレジスタ番号が与えられるときに、その
アクセスレジスタ番号対応の有効ビットが有効データを
表示するときには、対応付けられるセグメントテーブル
指定子を直ちに動的アドレス変換機構に与えていくこと
で、必要とされるセグメントテーブル指定子が高速で得
られるようにとする発明を開示したのである。
That is, a conversion index register for managing the correspondence between the access register number and the segment table specifier is prepared, and when the system is initialized or a purge command is issued, the conversion index register is associated with the management data. When a valid bit corresponding to the access register number indicates invalid data when an access register number is given by adopting a configuration in which the valid bit to be
If the segment table specifier obtained by indexing the LB does not hit the ALB, the segment table specifier obtained by the above-described access register → access list → ASN second table conversion route is registered and validated, and this segment The configuration is such that a table designator is provided to the dynamic address translation mechanism. When the valid bit corresponding to the access register number indicates valid data when the access register number is given, it is necessary to immediately provide the associated segment table specifier to the dynamic address translation mechanism. The invention disclosed is such that the segment table specifier to be obtained can be obtained at high speed.

【0010】以下、説明の便宜上、ALET→アクセス
リスト→ASNセカンドテーブルの変換ルートによるセ
グメントテーブル指定子の特定処理をAR変換処理、こ
のAR変換処理を実行する機構をAR変換機構と称する
ことにする。
Hereinafter, for convenience of explanation, the process of specifying a segment table specifier by a conversion route of ALET → access list → ASN second table will be referred to as an AR conversion process, and a mechanism for executing the AR conversion process will be referred to as an AR conversion mechanism. .

【0011】このような構成を採る多重仮想記憶システ
ムにあって、アクセスレジスタに対してALETを設定
するためのロード命令として、SAR(Set AR)命令や
LAM(Load Access Multiple)命令等が用意されてい
る。このLAM命令は、 LAM h,i,j(k) 但し、h:ロード起点アクセスレジスタ番号 i:ロード終点アクセスレジスタ番号 j:オフセット値 k:ベースレジスタ という記述形態をとって、ロード先として指定されるア
クセスレジスタ番号h〜iの範囲の指すアクセスレジス
タの各々のエントリに対して、オフセット値jとベース
レジスタkの内容との加算値から規定されるアドレス位
置からの主記憶データをロードしていくことを要求する
命令である。一方、SAR命令は、指定されるアクセス
レジスタ番号の指すアクセスレジスタのエントリに対し
て、指定の汎用レジスタの格納データをロードしていく
ことを要求する命令である。
In the multiple virtual memory system having such a configuration, a SAR (Set AR) instruction, a LAM (Load Access Multiple) instruction, or the like is prepared as a load instruction for setting an ALET for an access register. ing. This LAM instruction is designated as a load destination by using a description format of LAM h, i, j (k) where h: load start access register number i: load end access register number j: offset value k: base register. The main memory data from the address position defined by the sum of the offset value j and the contents of the base register k is loaded into each entry of the access register indicated by the range of the access register numbers h to i. This is an instruction requesting that On the other hand, the SAR instruction is an instruction for requesting that an entry of an access register indicated by a specified access register number be loaded with data stored in a specified general-purpose register.

【0012】従来では、このSAR命令やLAM命令等
のようなアクセスレジスタに対してALETを設定する
ことを要求するロード命令が発行されると、ロード先と
なるアクセスレジスタのエントリのALETが以前のも
のとは異なるものになることから、ロード先のアクセス
レジスタ番号の指す変換索引レジスタのエントリデータ
を無効化していくように処理していたのである。
Conventionally, when a load instruction such as the SAR instruction or the LAM instruction requesting that an ALET be set for an access register is issued, the ALET of the entry of the access register to be loaded is set to the previous ALET. Therefore, the entry data in the conversion index register indicated by the access register number of the load destination is invalidated.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、アクセ
スレジスタに対してALETを設定することを要求する
ロード命令が発行される場合には、ロード先のアクセス
レジスタのエントリデータがこの先直ぐにでも使用され
る可能性も高い。
However, when a load instruction requesting that an ALET be set for an access register is issued, the entry data of the access register at the load destination can be used immediately. The nature is also high.

【0014】しかるに、従来技術のように、このような
命令が発行されるときに、ロード先のアクセスレジスタ
番号の指す変換索引レジスタのエントリデータを無効化
していくように処理していると、そのアクセスレジスタ
番号の指定するアクセスレジスタのエントリデータが使
用されるときにおいて、変換索引レジスタでヒットする
ことがなくなり、ALBの索引の実行やAR変換の実行
に入ってしまうことでセグメントテーブル指定子が得ら
れるまでに時間がかかることになる。
However, as in the prior art, when such an instruction is issued, if the entry data of the conversion index register pointed to by the access register number of the load destination is invalidated, the processing becomes When the entry data of the access register specified by the access register number is used, a hit does not occur in the conversion index register, and the execution of the ALB index or the execution of the AR conversion results in the segment table specifier being obtained. It will take some time before it can be done.

【0015】これから、従来技術に従っていると、アク
セスレジスタに対するALETの設定要求命令の発行後
において、仮想アドレスから実アドレスへのアドレス変
換を高速に実行できないという問題点があったのであ
る。
Thus, according to the prior art, there is a problem that the address conversion from the virtual address to the real address cannot be executed at high speed after the issuance of the ALET setting request instruction to the access register.

【0016】本発明はかかる事情に鑑みてなされたもの
であって、AR変換機構と変換索引レジスタとに従って
仮想記憶アドレス空間のアクセス制御を実行する構成を
採るときにあって、SAR命令やLAM命令等のような
アクセスレジスタに対してALETを設定することを要
求するロード命令が発行されるときにあっても、仮想ア
ドレスから実アドレスへのアドレス変換を高速で実行で
きるようにする新たなデータ処理装置の提供を目的とす
る。
The present invention was made in view of such circumstances, a configuration that perform access control of the virtual memory address space according to the conversion index register AR conversion mechanism
At the time of adoption, even when a load instruction requesting to set an ALET for an access register such as a SAR instruction or a LAM instruction is issued, the address conversion from the virtual address to the real address is performed. It is an object of the present invention to provide a new data processing device capable of executing at high speed.

【0017】[0017]

【課題を解決するための手段】図1に本発明の原理構成
を図示する。図中、1は本発明を具備するデータ処理装
置であって、アクセスレジスタ10と、変換機構11
と、変換索引レジスタ12と、動的アドレス変換機構1
3と、ARロード命令発行部14と、SARデータ登録
部15と、ARデータ登録部16とを備える。
FIG. 1 shows the principle configuration of the present invention. In the figure, reference numeral 1 denotes a data processing device equipped with the present invention, which includes an access register 10 and a conversion mechanism 11.
, Translation index register 12 and dynamic address translation mechanism 1
3, an AR load instruction issuing unit 14, an SAR data registration unit 15, and an AR data registration unit 16.

【0018】このアクセスレジスタ10は、アクセスレ
ジスタ番号とALETとの対応関係を管理して、アクセ
ス要求元からベースレジスタ番号に対応付けられるアク
セスレジスタ番号が与えられると、対応のALETを出
力していくよう動作する。変換機構11は、上述のAR
変換機構単独又はこれに上述のALBが加わるもので構
成されて、アクセスレジスタ10から与えられるALE
Tが指定するセグメントテーブル指定子を特定していく
よう動作する。変換索引レジスタ12は、変換機構11
により特定されるアクセスレジスタ番号とセグメントテ
ーブル指定子との対応関係を管理して、アクセス要求元
からアクセスレジスタ番号が与えられると、対応のセグ
メントテーブル指定子を出力していくよう動作する。こ
の変換索引レジスタ12に有効なセグメントテーブル指
定子がないときに、変換機構11が動作していくことに
なる。
The access register 10 manages the correspondence between the access register number and the ALET, and outputs the corresponding ALET when the access request source gives the access register number associated with the base register number. Works as follows. The conversion mechanism 11 uses the above-described AR
An ALE provided from the access register 10 which is constituted by a conversion mechanism alone or by adding the above-mentioned ALB to the conversion mechanism.
It operates to specify the segment table specifier specified by T. The conversion index register 12 stores the conversion mechanism 11
Manages the correspondence between the access register number and the segment table specifier specified by, and outputs the corresponding segment table specifier when the access register number is given from the access request source. When there is no valid segment table specifier in the conversion index register 12, the conversion mechanism 11 operates.

【0019】動的アドレス変換機構13は、変換索引レ
ジスタ12又は変換機構11により得られるセグメント
テーブル指定子の指定するセグメントテーブルを用い
て、仮想アドレスから実アドレスへのアドレス変換を実
行するよう動作する。ARロード命令発行部14は、指
定するアクセスレジスタ10のエントリ/エントリ領域
に対して指定箇所/指定領域のデータのロードの実行を
要求するARロード命令を発行するよう動作する。SA
Rデータ登録部15は、変換索引レジスタ12の管理デ
ータの登録処理を実行するよう動作する。ARデータ登
録部16は、ARロード命令発行部14がARロード命
令を発行するときに、そのARロード命令の指定するロ
ードデータをそのARロード命令の指定するアクセスレ
ジスタ10のエントリに対してロードするよう動作す
る。
The dynamic address translation mechanism 13 operates to execute the address translation from the virtual address to the real address by using the translation look-up register 12 or the segment table specified by the segment table designator obtained by the translation mechanism 11. . The AR load instruction issuing unit 14 operates to issue an AR load instruction requesting execution of data loading of a specified location / designated area to an entry / entry area of the designated access register 10. SA
The R data registration unit 15 operates to execute a process of registering management data in the conversion index register 12. When the AR load instruction issuing unit 14 issues the AR load instruction, the AR data registration unit 16 loads the load data specified by the AR load instruction into the entry of the access register 10 specified by the AR load instruction. Works as follows.

【0020】[0020]

【作用】本発明では、ARロード命令発行部14がロー
ド元の指定箇所/指定領域とロード先のアクセスレジス
タ番号/番号範囲とを指定してARロード命令を発行す
ると、SARデータ登録部15は、ロード先アクセスレ
ジスタ番号の指す変換索引レジスタ12のエントリに対
して、アクセスレジスタ10にロードされるロードデー
タがプライマリ空間のセグメントテーブル指定子を指定
することになるALET値であるときには、プライマリ
空間のセグメントテーブル指定子をロードし、セカンダ
リ空間のセグメントテーブル指定子を指定することにな
るALET値であるときには、セカンダリ空間のセグメ
ントテーブル指定子をロードしていくよう処理する。
According to the present invention, when the AR load instruction issuing unit issues an AR load instruction by designating a specified location / designated area of a load source and an access register number / number range of a load destination, the SAR data registration unit 15 When the load data to be loaded into the access register 10 for the entry of the conversion index register 12 indicated by the load destination access register number is an ALET value that specifies the segment table specifier of the primary space, When the segment table specifier is loaded and the ALET value is to designate the segment table specifier in the secondary space, processing is performed to load the segment table specifier in the secondary space.

【0021】このように、本発明によれば、ARロード
命令の発行に従って、指定されるアクセスレジスタ10
のロード先のエントリに対してALET値がロードされ
るときに、変換索引レジスタ12の対応するエントリに
対してもそれに対応したセグメントテーブル指定子のロ
ードを実行していくように構成するものであることか
ら、ARロード命令の発行に関係して、その後で、その
ARロード命令の指定するアクセスレジスタのエントリ
データが使用されるときに、変換索引レジスタ12に従
って直ちに所望のセグメントテーブル指定子が得られる
ようになり、仮想アドレスから実アドレスへのアドレス
変換を高速に実行できるようになるのである。
As described above, according to the present invention, the access register 10 designated according to the issuance of the AR load instruction.
When the ALET value is loaded into the load destination entry, the corresponding segment table specifier is also loaded into the corresponding entry of the conversion index register 12. Therefore, when the entry data of the access register specified by the AR load instruction is used after the issuance of the AR load instruction, a desired segment table specifier can be obtained immediately according to the conversion index register 12. As a result, address conversion from a virtual address to a real address can be executed at high speed.

【0022】[0022]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図2に、本発明が適用されることになる多重仮想記
憶システムのシステム構成を図示する。図中、図1で説
明したように、10はアクセスレジスタ、12は変換索
引レジスタ、13は動的アドレス変換機構である。図1
では省略したが、この図に示すように、変換索引レジス
タ12は、バリッドビットに従って登録中のセグメント
テーブル指定子の有効/無効を管理している。また、図
示していないが、この動的アドレス変換機構13に対応
してTLBが備えられることになる。そして、11aは
図1の変換機構11に対応するAR変換機構である。こ
のAR変換機構11aは、アクセスレジスタ10から与
えられるALETと、アクセスリストの展開域を間接的
に表示するALDSO情報と、ドメインID情報とを入
力として、図6で説明したALET→アクセスリスト→
ASNセカンドテーブルの変換ルートの変換処理を実行
することでセグメントテーブル指定子を特定していくよ
う処理する。図示していないが、このAR変換機構11
aに対応してALBが備えられることになる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to embodiments. FIG. 2 shows a system configuration of a multiple virtual storage system to which the present invention is applied. In the figure, as described with reference to FIG. 1, reference numeral 10 denotes an access register, reference numeral 12 denotes a translation index register, and reference numeral 13 denotes a dynamic address translation mechanism. FIG.
However, as shown in this figure, the conversion index register 12 manages the valid / invalid of the registered segment table specifier according to the valid bit. Although not shown, a TLB is provided corresponding to the dynamic address translation mechanism 13. Reference numeral 11a denotes an AR conversion mechanism corresponding to the conversion mechanism 11 of FIG. The AR conversion mechanism 11a receives the ALET given from the access register 10, the ALDSO information for indirectly displaying the expanded area of the access list, and the domain ID information, and receives the ALET described in FIG.
By executing the conversion process of the conversion route of the ASN second table, processing is performed so as to specify the segment table specifier. Although not shown, this AR conversion mechanism 11
ALB will be provided corresponding to a.

【0023】図3に、変換索引レジスタ12と、この変
換索引レジスタ12の管理データの登録処理を実行する
図1で説明したSARデータ登録部15との間の信号関
係を図示する。
FIG. 3 shows a signal relationship between the conversion index register 12 and the SAR data registration unit 15 described with reference to FIG. 1 for executing management data registration processing of the conversion index register 12.

【0024】この図3に示すように、変換索引レジスタ
12は、アクセスレジスタ番号によりアクセスされるセ
グメントテーブル指定子と、そのセグメント指定子の有
効/無効を表示するバリッドビットとを管理して、アク
セス要求元からリード要求のアクセスレジスタ番号が与
えられると、そのアクセスレジスタ番号に対応付けられ
るセグメントテーブル指定子が有効データであるときに
は、そのセグメントテーブル指定子をTLBに通知して
いくことで仮想アドレスから実アドレスへのアドレス変
換を高速に実現していくよう動作するものである。
As shown in FIG. 3, the conversion index register 12 manages a segment table specifier accessed by an access register number and a valid bit indicating validity / invalidity of the segment specifier. When the access register number of the read request is given from the request source, and the segment table specifier associated with the access register number is valid data, the segment table specifier is notified to the TLB so that the virtual address is obtained from the virtual address. It operates to realize high-speed address conversion to a real address.

【0025】SARデータ登録部15は、この変換索引
レジスタ12の管理データの登録処理を実行するもので
あって、本発明を実現するために、アクセスレジスタ1
0のロード先のエントリ領域に対して主記憶データのロ
ードを要求するLAM命令や、アクセスレジスタ10の
ロード先のエントリに対して汎用レジスタの格納データ
のロードを要求するSAR命令等のARロード命令が発
行されるときにおいて、本発明に特徴的な登録処理を実
行していくよう動作する。次に、図4に示すSARデー
タ登録部15の登録処理の説明図に従って、このSAR
データ登録部15の実行する登録処理について詳細に説
明する。ここで、この図4では、ARロード命令として
LAM命令の発行を想定している。
The SAR data registration unit 15 executes a process of registering the management data of the conversion index register 12, and implements the access register 1 in order to realize the present invention.
AR load instructions such as a LAM instruction for requesting loading of main storage data into an entry area of a load destination of 0, and a SAR instruction requesting loading of storage data of a general-purpose register for an entry of a load destination of the access register 10 When the is issued, it operates to execute the registration process characteristic of the present invention. Next, the SAR data registration unit 15 will be described with reference to FIG.
The registration process executed by the data registration unit 15 will be described in detail. Here, FIG. 4 assumes that a LAM instruction is issued as an AR load instruction.

【0026】SARデータ登録部15は、AR変換機構
11aがAR変換を実行することでアクセスレジスタ番
号とセグメントテーブル指定子との対応関係を求める
と、図4の「AR変換=1, 但し、Set AR by LAM =0」
の欄に示すように、そのアクセスレジスタ番号の指す変
換索引レジスタ12のエントリ(図4では、i=1で表し
ている)に対して、AR変換機構11aの求めたセグメ
ントテーブル指定子“STDART ”を登録するととも
に、そのエントリのバリッドビットに“1”を立てて有
効データであることを登録する。
The SAR data registration unit 15 obtains the correspondence between the access register number and the segment table designator by executing the AR conversion by the AR conversion mechanism 11a. AR by LAM = 0 "
As shown in the column of (1), the segment table specifier "STD ART " obtained by the AR conversion mechanism 11a is entered into the entry of the conversion index register 12 indicated by the access register number (in FIG. 4, represented by i = 1). Is registered, and the valid bit of the entry is set to "1" to register that the data is valid data.

【0027】そして、LAM命令が発行されるときに
は、図4の「Set AR by LAM =1, 但し、AR変換=0」
の欄に示すように、LAM命令の指定するロード先アク
セスレジスタ番号範囲の指す変換索引レジスタ12の各
エントリ(図4では、i=1で表している)に対して、対
応のアクセスレジスタ10のエントリにロードされる主
記憶からのALET値が“00〜00”であるときに
は、第1番のコントロールレジスタ(CR1)の管理す
るプライマリ空間のセグメントテーブル指定子“STD
CR1 ”を登録し、ロードされるALET値が“00〜0
1”であるときには、第7番のコントロールレジスタ
(CR7)の管理するセカンダリ空間のセグメントテー
ブル指定子“STDCR7 ”を登録していくとともに、そ
れらのエントリのバリッドビットに“1”を立てて有効
データであることを登録する。また、ロードされるAL
ET値が“00〜00”,“00〜01”以外の値であ
るときには、そのロード先アクセスレジスタ番号の指す
変換索引レジスタ12のエントリのバリッドビットを
“0”に落として無効データになるように設定する。
When the LAM instruction is issued, "Set AR by LAM = 1, where AR conversion = 0" in FIG.
As shown in the column of FIG. 4, each entry of the conversion index register 12 indicated by the load destination access register number range specified by the LAM instruction (represented by i = 1 in FIG. 4) is stored in the corresponding access register 10. When the ALET value from the main memory loaded to the entry is “00 to 00”, the segment table specifier “STD” of the primary space managed by the first control register (CR1)
CR1 ”is registered, and the loaded ALET value is“ 00-0 ”.
If it is "1", the segment table specifier "STD CR7 " of the secondary space managed by the seventh control register (CR7) is registered, and the valid bits of those entries are set to "1" to be valid. Register that it is data and AL to be loaded
If the ET value is a value other than “00-00” and “00-01”, the valid bit of the entry of the conversion index register 12 indicated by the load destination access register number is dropped to “0” so that the data becomes invalid data. Set to.

【0028】一方、SARデータ登録部15は、AR変
換機構11aがAR変換を実行しないときと、LAM命
令が発行されないときには、図4の「AR変換=0, Se
t ARby LAM =0」の欄に示すように、変換索引レジスタ
12に対して何ら登録処理を実行しな
On the other hand, when the AR conversion mechanism 11a does not execute the AR conversion and when the LAM instruction is not issued, the SAR data registration unit 15 reads “AR conversion = 0, Se in FIG.
As shown in the column t ARby LAM = 0 ", no do not want to perform the registration processing for converting the index register 12.

【0029】このようにして、本発明のSARデータ登
録部15は、図5に示すように、LAM命令やSAR命
令等のARロード命令の発行に従って、アクセスレジス
タ10のロード先のエントリに対してプライマリ空間/
セカンダリ空間のセグメントテーブル指定子を指定する
ことになるALET値のロードが実行されるときには、
変換索引レジスタ12の対応するエントリに対して、対
応するプライマリ空間/セカンダリ空間のセグメントテ
ーブル指定子をロードしていくように処理するのであ
る。
As described above, the SAR data registration unit 15 of the present invention stores the load destination entry of the access register 10 in accordance with the issuance of the AR load instruction such as the LAM instruction or the SAR instruction as shown in FIG. Primary space /
When loading an ALET value that will specify the secondary space segment table specifier,
Processing is performed so that the corresponding entry of the conversion index register 12 is loaded with the corresponding segment table specifier of the primary space / secondary space.

【0030】[0030]

【発明の効果】以上説明したように、本発明によれば、
LAM命令やSAR命令等のARロード命令の発行に関
係して、その後で、そのARロード命令の指定するアク
セスレジスタのエントリデータが使用されるときには、
変換索引レジスタ12に従って直ちに所望のセグメント
テーブル指定子が得られるようになる。これから、AR
ロード命令の発行後にあっても、仮想アドレスから実ア
ドレスへのアドレス変換を高速に実行できるようになる
のである。
As described above, according to the present invention,
In connection with issuance of an AR load instruction such as a LAM instruction or a SAR instruction, when the entry data of the access register specified by the AR load instruction is subsequently used,
According to the conversion index register 12, the desired segment table specifier can be obtained immediately. From now on, AR
Even after the issuance of the load instruction, the address conversion from the virtual address to the real address can be executed at high speed.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明が適用されることになる多重仮想記憶シ
ステムのシステム構成図である。
FIG. 2 is a system configuration diagram of a multiple virtual storage system to which the present invention is applied;

【図3】変換索引レジスタの周辺機構の説明図である。FIG. 3 is an explanatory diagram of a peripheral mechanism of a conversion index register.

【図4】SARデータ登録部の実行する登録処理の説明
図である。
FIG. 4 is an explanatory diagram of a registration process executed by a SAR data registration unit.

【図5】本発明の処理の説明図である。FIG. 5 is an explanatory diagram of the processing of the present invention.

【図6】本発明が適用されることになる多重仮想記憶シ
ステムのアドレス制御の説明図である。
FIG. 6 is an explanatory diagram of address control of a multiple virtual storage system to which the present invention is applied.

【符号の説明】[Explanation of symbols]

1 データ処理装置 10 アクセスレジスタ 11 変換機構 12 変換索引レジスタ 13 動的アドレス変換機構 14 CPYA命令発行部 15 SARデータ登録部 16 ARデータ登録部 DESCRIPTION OF SYMBOLS 1 Data processing apparatus 10 Access register 11 Conversion mechanism 12 Conversion index register 13 Dynamic address conversion mechanism 14 CPYA instruction issuing unit 15 SAR data registration unit 16 AR data registration unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アクセスレジスタ番号によりアクセスさ
れるアクセスレジスタの管理するコード値からセグメン
トテーブル指定子を特定する変換機構と、該変換機構に
より特定されるアクセスレジスタ番号とセグメントテー
ブル指定子との対応関係を管理する変換索引レジスタと
を備えるデータ処理装置において、 上記アクセスレジスタに対して、指定箇所に格納される
空間種別を示すデータのロードを指示するロード命令が
発行されるときに、該ロード命令で指定されるロード先
アクセスレジスタ番号の指す上記アクセスレジスタのエ
ントリに対して、該データをロードする第1の登録部
と、 上記第1の登録部がロード処理を実行するときに、上記
アクセスレジスタにロードされるデータがプライマリ空
間を示すときには、上記ロード先アクセスレジスタ番号
の指す上記変換索引レジスタのエントリに対して、プラ
イマリ空間のセグメントテーブル指定子をロードし、セ
カンダリ空間を示すときには、上記ロード先アクセスレ
ジスタ番号の指す上記変換索引レジスタのエントリに対
して、セカンダリ空間のセグメントテーブル指定子をロ
ードし、プライマリ空間とセカンダリ空間のいずれも示
さないときには、上記ロード先アクセスレジスタ番号の
指す上記変換索引レジスタのエントリを無効化する第2
の登録部とを備えることを、 特徴とするデータ処理装置。
1. A conversion mechanism for specifying a segment table specifier from a code value managed by an access register accessed by an access register number, and a correspondence between the access register number specified by the conversion mechanism and the segment table specifier. And a conversion index register that manages a data type. When a load instruction is issued to the access register to load data indicating a space type stored in a specified location, the load instruction A first registration unit that loads the data with respect to an entry of the access register indicated by the specified load destination access register number ;
The data loaded in the access register is primary empty
To indicate the interval, the load destination access register number
The conversion index register entry pointed to by
Load the segment table specifier in the Imari space and
When indicating the Candary space, the access destination
The conversion index register entry pointed to by the
The secondary space segment table specifier
The primary space and the secondary space.
Otherwise, the load destination access register number
Second invalidate entries of the translation lookaside register pointing
And a registration unit .
【請求項2】 アクセスレジスタ番号によりアクセスさ
れるアクセスレジスタの管理するコード値からセグメン
トテーブル指定子を特定する変換機構と、該変換機構に
より特定されるアクセスレジスタ番号とセグメントテー
ブル指定子との対応関係を管理する変換索引レジスタと
を備えるデータ処理装置において、 上記アクセスレジスタに対して、指定領域に格納される
空間種別を示すデータのロードを指示するロード命令が
発行されるときに、該ロード命令で指定されるロード先
アクセスレジスタ番号範囲の指す上記アクセスレジスタ
の各エントリに対して、該データをロードする第1の登
録部と、 上記第1の登録部がロード処理を実行するときに、上記
ロード先アクセスレジスタ番号範囲内のアクセスレジス
タ番号ごとに、上記ロード先アクセスレジスタ 番号の指
すアクセスレジスタにロードされるデータがプライマリ
空間を示すときには、上記ロード先アクセスレジスタ番
号の指す上記変換索引レジスタのエントリに対して、プ
ライマリ空間のセグメントテーブル指定子をロードし、
セカンダリ空間を示すときには、上記ロード先アクセス
レジスタ番号の指す上記変換索引レジスタのエントリに
対して、セカンダリ空間のセグメントテーブル指定子を
ロードし、プライマリ空間とセカンダリ空間のいずれも
示さないときには、上記ロード先アクセスレジスタ番号
の指す上記変換索引レジスタのエントリを無効化する第
2の登録部とを備えることを、 特徴とするデータ処理装置。
2. A conversion mechanism for specifying a segment table specifier from a code value managed by an access register accessed by an access register number, and a correspondence between the access register number specified by the conversion mechanism and the segment table specifier. And a conversion index register that manages a data type. When a load instruction is issued to the access register to load data indicating a space type stored in a specified area, the load instruction for each entry in the access register pointed to load destination access register number range specified, when the first registration unit to load the data, the first registration unit performs the load process, the
Access register within load destination access register number range
For each data number, specify the load destination access register number
The data loaded into the access register is the primary
When indicating the space, the load destination access register number
The entry in the conversion index register pointed to by the
Load the primary space segment table specifier,
When indicating the secondary space, access to the above load destination
In the entry of the above conversion index register indicated by the register number,
On the other hand, the segment table specifier
Load, both primary and secondary space
If not shown, the above load destination access register number
The data processing apparatus further comprising a second registration unit you invalidate entries of the translation lookaside register, characterized pointed.
JP3308117A 1991-11-25 1991-11-25 Data processing device Expired - Fee Related JP2790556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3308117A JP2790556B2 (en) 1991-11-25 1991-11-25 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3308117A JP2790556B2 (en) 1991-11-25 1991-11-25 Data processing device

Publications (2)

Publication Number Publication Date
JPH05143461A JPH05143461A (en) 1993-06-11
JP2790556B2 true JP2790556B2 (en) 1998-08-27

Family

ID=17977083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3308117A Expired - Fee Related JP2790556B2 (en) 1991-11-25 1991-11-25 Data processing device

Country Status (1)

Country Link
JP (1) JP2790556B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462366B (en) * 2020-10-10 2023-08-08 深圳大学 SAR data point visualization method, intelligent terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02168332A (en) * 1988-09-30 1990-06-28 Hitachi Ltd Data processor
JPH0650481B2 (en) * 1989-10-27 1994-06-29 株式会社日立製作所 Data processing device

Also Published As

Publication number Publication date
JPH05143461A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
JP4562919B2 (en) Method and apparatus for implementing dynamic display memory
KR100432470B1 (en) Input/output (i/o) address translation in a bridge proximate to a local i/o bus
US20030009640A1 (en) Non-uniform memory access (NUMA) data processing system having a page table including node-specific data storage and coherency control
JPH0628262A (en) Look-aside buffer and method for high-speed translation of virtual address for physical address
JPH0348541B2 (en)
PT1653365E (en) Invalidating storage, clearing buffer entries
JPH0137773B2 (en)
JP2768503B2 (en) Virtual memory address space access control method
JPH079632B2 (en) Address translation device and method
JP2790556B2 (en) Data processing device
JPH0519176B2 (en)
JPH06139149A (en) Multiple virtual space control device
JP2752544B2 (en) Virtual memory address space access control method
US8356158B2 (en) Mini-translation lookaside buffer for use in memory translation
JPH0327940B2 (en)
JP2752543B2 (en) Virtual memory address space access control method
JPH0650480B2 (en) Multiple virtual memory system and address controller
US5649155A (en) Cache memory accessed by continuation requests
US6385712B1 (en) Method and apparatus for segregation of virtual address space
JP2501353B2 (en) Prefetch control method
JPH0679296B2 (en) Multiple virtual address space access method and data processing device
JPS6042972B2 (en) Information processing device with address conversion function
JP3288170B2 (en) Address translation method
JPH04205535A (en) Copy on write system
JPH03141444A (en) Data processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980526

LAPS Cancellation because of no payment of annual fees