JPS6168636A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS6168636A JPS6168636A JP59190203A JP19020384A JPS6168636A JP S6168636 A JPS6168636 A JP S6168636A JP 59190203 A JP59190203 A JP 59190203A JP 19020384 A JP19020384 A JP 19020384A JP S6168636 A JPS6168636 A JP S6168636A
- Authority
- JP
- Japan
- Prior art keywords
- data
- tag
- storage part
- address
- bits
- 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
Links
Landscapes
- Devices For Executing Special Programs (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ処理装置に関し、データのタグ部をまと
めて格納することによりデータのタイプ判定などの動作
を高速に行なえるようにしようとするものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data processing device, and attempts to perform operations such as data type determination at high speed by collectively storing tag portions of data. It is something.
データにはその一部をタグ部にしてそこへ当該データの
種類を示す情報(タグ)を収容するようにしたものがあ
る。データの種類とは整数、小数などであり、LISP
言語ではデータ種類は非常に多い。演算例えば足し算を
考えると、足し算対象の複数データが全て整数である場
合と、一部が小数例えば浮動小数点数である場合では処
理要領が異なり、走行させるプログラムが異なる。例え
ば全て整数なら直ちに足し算処理に入ってよいが、浮動
小数点数が混じれば整数も浮動小数点数に変換して全体
を同じ浮動小数点数にする処理が加わる。このような場
合は演算対象の全データのタイプをチェックし、その結
果によりどの処理プログラムを走行させるかを決定する
必要がある。Some data has a tag part that stores information (tag) indicating the type of data. The type of data is integer, decimal, etc., and LISP
There are many types of data in languages. Considering an operation such as addition, the processing procedure is different depending on whether the multiple data to be added are all integers or some are decimals, such as floating point numbers, and the program to be run is different. For example, if all the numbers are integers, the addition process can be started immediately, but if floating point numbers are mixed in, the integers must also be converted to floating point numbers to make them all the same floating point numbers. In such a case, it is necessary to check the types of all data to be operated on, and decide which processing program to run based on the results.
従来、複数個のデータ(複数ワードのデータ)のタイプ
判定をするには、そのワード数の回数だけメモリアクセ
スして該複数個のデータを読出し、そのタグ部からタイ
プ判定を行なっている。この方式ではアクセス回数が多
(て時間がか\す、また読み込んだデータのうち実際に
判定に使われる部分はほんの一部であるため、無駄が多
い。Conventionally, in order to determine the type of a plurality of pieces of data (data of a plurality of words), the memory is accessed as many times as the number of words, the plurality of pieces of data are read out, and the type is determined from the tag section. This method requires a large number of accesses and is time consuming, and because only a small portion of the read data is actually used for determination, there is a lot of waste.
本発明はか\る点を改善し、多数のデータのタグ部のチ
ェ7りを高速に行なえ、タイプ判定を効率的に迅速に実
行できるようにしようとするものである。The present invention aims to improve these points, to quickly check the tag portions of a large number of data, and to efficiently and quickly perform type determination.
本発明は、処理部および記憶部を備え、タグを持つデー
タを処理する装置において、該記憶部にタグ記憶部と値
記憶部を設け、前記データを記憶部に格納するとき複数
個の該データのタグ部をまとめてタグ記憶部の同じアド
レスに格納し、複数個の該データの値部は値記憶部の各
アドレスに個々に格納し、複数個のデータの各データタ
イプの判定に当ってはタグ記憶部からタグを複数個ずつ
同時読出しするようにしてなることを特徴とするもので
ある。The present invention provides an apparatus that includes a processing section and a storage section and processes data having a tag, in which the storage section is provided with a tag storage section and a value storage section, and when the data is stored in the storage section, a plurality of pieces of the data are stored. The tag parts of the plural pieces of data are stored together at the same address in the tag storage part, and the value parts of the plural pieces of data are individually stored in each address of the value storage part. This is characterized in that a plurality of tags are simultaneously read out from the tag storage section.
図面で説明すると、第1図はデータ処理装置の概要を示
し、10は処理部(プロセッサ)、12は記憶部、14
.16は人、出力回路、18は書込みレジスタ、20は
読取りレジスタ、22はアドレスレジスタである。記憶
部12はスタックなどであって、データのタグ記憶部1
2Aと値記憶部12Bを備える。第2図は記憶部12の
a’(”細を示し、図示のように1アドレスでアクセス
される記憶領域に値記憶部12Bでは1つのデータの値
が、タグ記憶部12Aでは複数個のデータ即ちデータミ
ルデータ(i+n−1)なるn個のデータのタグが格納
される。このようなデータタグ及び ・値の格納は、値
記憶部12Aのアドレスがaビットからなるとしてその
上位a−bビットでタグ記憶部12Aのアドレスを表わ
し、bビットでアドレス内位置を表わすようにすること
により実施可能である。なおこ\でbは2 znの関係
がある。To explain with drawings, FIG. 1 shows an outline of a data processing device, in which 10 is a processing unit (processor), 12 is a storage unit, and 14 is a data processing device.
.. 16 is an output circuit, 18 is a write register, 20 is a read register, and 22 is an address register. The storage unit 12 is a stack or the like, and the data tag storage unit 1
2A and a value storage section 12B. FIG. 2 shows a'("details") of the storage unit 12, and as shown in the figure, one data value is stored in the storage area accessed by one address in the value storage unit 12B, and multiple data values are stored in the tag storage unit 12A. That is, n data tags called data mill data (i+n-1) are stored.Storing of such data tags and values is performed using the upper a-b of the address of the value storage section 12A, assuming that the address consists of a bits. This can be implemented by using bits to represent the address of the tag storage unit 12A and b bits representing the position within the address. Note that b has a relationship of 2 zn here.
記憶部12のデータをその本来のデータの形即ち(タグ
+値)の形で読出すには、アドレスレジスタにアドレス
を設定し、そのアドレスの全ビットで値記憶部12Bを
読出し、その上位a−bビットでタグ記憶部12Aを読
出し、タグ記憶部12Aの読出し出力を下位bビットで
選択し、それと値記憶部12Bの読出し出力とを連結さ
せればよい。また記憶部12からデータタグ部のみを読
出す場合はレジスタ22のアドレスの上位a−bビット
でタグ記憶部12Aを読出せばよく、これにより各アク
セス毎にn個のタグが読出され、データ群のデータタイ
プチェックを高速で行なうことができる。To read the data in the storage section 12 in its original data form (tag+value), set an address in the address register, read out the value storage section 12B with all bits of that address, and It is sufficient to read out the tag storage section 12A using the -b bit, select the readout output of the tag storage section 12A using the lower b bits, and connect it with the readout output of the value storage section 12B. In addition, when reading only the data tag section from the storage section 12, it is sufficient to read out the tag storage section 12A using the high-order a-b bits of the address of the register 22. As a result, n tags are read out for each access, and the data It is possible to check the data type of a group at high speed.
書込みはn(固のデータのタグを纏めて(ワードとし、
これらのデータの値は各々lワードとし、レジスタ22
にセットするアドレスの全ビ・ノドで値記憶部12Bを
アクセスしてその各アドレスに上記値を書込み、またレ
ジスタ22にセットされるアドレスの上位a−bビット
でタグ記憶部をアクセスしてそのアドレスにn個のタグ
を同時に、値記憶部12Bのn回のアクセスに対して1
回の割合で書込むことにより実行できる。勿論これらの
読取り、書込み要領は適宜変更することができる。Writing is done by grouping n (fixed data tags together as a word),
Each value of these data is 1 word, and the register 22
The value storage unit 12B is accessed using all bits and nodes of the address set in the register 22, and the above value is written to each address, and the tag storage unit is accessed using the upper a-b bits of the address set in the register 22 to write the value. 1 for each n access to the value storage unit 12B when n tags are added to the address at the same time.
It can be executed by writing at a rate of 1. Of course, these reading and writing procedures can be changed as appropriate.
第3図は、語長16ビント、タグ部4ピント従って値部
12ビットの場合の出力回路16及びその周辺回路の例
を示す。値記憶部1.2 Bの読出し出力即ち12ビツ
トデ一タ値部はレジスタ16bを介してマルチプレクサ
16eに導かれ、またタグ記憶部16aの読出し出力部
ち4ビツトのタグ4個はレジスタ16aを介してその各
4ビツトがマルチプレクサ16cへ、また最初の4ピッ
+−0〜3がマルチプレクサ16dへそして後の12ビ
・ット4〜I5がマルチプレクサ16eへ導かれる。FIG. 3 shows an example of the output circuit 16 and its peripheral circuits when the word length is 16 bits, the tag part is 4 pints, and the value part is 12 bits. The readout output of the value storage 1.2B, ie, the 12-bit data value part, is led to the multiplexer 16e via the register 16b, and the readout output of the tag storage 16a, ie, the four 4-bit tags, is led to the multiplexer 16e via the register 16a. Each of the 4 bits are routed to multiplexer 16c, the first 4 bits +-0 to 3 are routed to multiplexer 16d, and the latter 12 bits 4 to I5 are routed to multiplexer 16e.
マルチプレクサ16cは信号S1により選択される。信
号S1は前記のアドレスレジスタ22にセットされるア
クセスアドレスの下位bビットであり、本例では00.
Of、10.11の1つである。従ってこの信号により
4個のタグの1つ(0〜3,4〜7,8〜11.12〜
15の1つ)を選択することができる。信号S2は通常
続出しか、タグ続出しかにより高レベル又は低レベルと
なる選択信号で、タグ読出しならマルチプレクサ16d
にタグO〜3を出力させ、またマルチプレクサ16eに
タグ4〜15を出力させる。従って続出しレジスタ20
は41固のタグ0〜3,4〜7.8〜11.12〜15
が入力しこうしてタグ読出しは4iVAずつ迅速に行な
われる。信号S2が通常読出しを示す場合はマルチプレ
クサ16(iはマルチプレクサ16cからのタグO〜3
.4〜7,8〜11.12〜15の1つを出力し、また
マルチプレクサ16eはレジスタ16bからのデータ値
を出力し、従って読出しレジスタ20は(タグ+値)の
形の16ビツトデータを出力する。Multiplexer 16c is selected by signal S1. The signal S1 is the lower b bits of the access address set in the address register 22, and in this example, 00.
Of, 10.11. Therefore, this signal causes one of the four tags (0-3, 4-7, 8-11, 12-
15) can be selected. The signal S2 is a selection signal that is at a high level or a low level depending on whether it is a normal continuous readout or a continuous tag readout.
outputs tags O to 3, and outputs tags 4 to 15 to multiplexer 16e. Therefore, the successive register 20
is 41 tags 0-3, 4-7.8-11.12-15
is input, and thus tag reading is performed quickly in units of 4iVA. If the signal S2 indicates normal readout, the multiplexer 16 (i is the tag O to 3 from the multiplexer 16c)
.. 4-7, 8-11, 12-15, and multiplexer 16e outputs the data value from register 16b, so read register 20 outputs 16-bit data in the form (tag+value). do.
以上説明したように本発明によれば、複数のデータタグ
部を一度にアクセスすることができるので、複数データ
のタイプ判定などの動作を高速に行なうことができ、甚
だ有効である。As described above, according to the present invention, since a plurality of data tag sections can be accessed at once, operations such as type determination of a plurality of data can be performed at high speed, which is extremely effective.
第1図は本発明の実施例を示すブロック図、第2図はデ
ータが記憶部に格納される状態を説明する図、第3図は
データを16ビツト/語とし、タグ部を4ビツトとした
場合の出力回路周辺の回路を示すブロック図である。
図面で、12は記憶部、18は書込みレジスタ、20は
読出しレジスタ、22はアドレスレジスタである。Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a diagram explaining the state in which data is stored in the storage section, and Fig. 3 shows data in 16 bits/word and tag part in 4 bits. FIG. 3 is a block diagram showing circuits around the output circuit in the case of the above. In the drawing, 12 is a storage section, 18 is a write register, 20 is a read register, and 22 is an address register.
Claims (1)
る装置において、 該記憶部にタグ記憶部と値記憶部を設け、前記データを
記憶部に格納するとき複数個の該データのタグ部をまと
めてタグ記憶部の同じアドレスに格納し、複数個の該デ
ータの値部は値記憶部の各アドレスに個々に格納し、複
数個のデータの各データタイプの判定に当つてはタグ記
憶部からタグを複数個ずつ同時読出しするようにしてな
ることを特徴とするデータ処理装置。[Claims] An apparatus that includes a processing section and a storage section and processes data having tags, wherein the storage section is provided with a tag storage section and a value storage section, and when the data is stored in the storage section, a plurality of tags are stored. The tag portions of the data are stored together at the same address in the tag storage section, and the value portions of the plurality of data are individually stored at each address in the value storage section, and each data type of the plurality of data is determined. A data processing device characterized in that a plurality of tags are simultaneously read out from a tag storage section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59190203A JPS6168636A (en) | 1984-09-11 | 1984-09-11 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59190203A JPS6168636A (en) | 1984-09-11 | 1984-09-11 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6168636A true JPS6168636A (en) | 1986-04-09 |
Family
ID=16254171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59190203A Pending JPS6168636A (en) | 1984-09-11 | 1984-09-11 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6168636A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61109149A (en) * | 1984-10-31 | 1986-05-27 | Nec Corp | Data processor |
JPH01207828A (en) * | 1988-02-16 | 1989-08-21 | Agency Of Ind Science & Technol | Built-in type data with tag processor |
-
1984
- 1984-09-11 JP JP59190203A patent/JPS6168636A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61109149A (en) * | 1984-10-31 | 1986-05-27 | Nec Corp | Data processor |
JPH01207828A (en) * | 1988-02-16 | 1989-08-21 | Agency Of Ind Science & Technol | Built-in type data with tag processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4675809A (en) | Data processing system for floating point data having a variable length exponent part | |
US4561072A (en) | Memory system handling a plurality of bits as a unit to be processed | |
EP0170284B1 (en) | Microcomputer | |
JPH0122652B2 (en) | ||
US4449181A (en) | Data processing systems with expanded addressing capability | |
KR910005154A (en) | Pipelined Write Buffer Registers | |
US4183464A (en) | Hash-coding data storage apparatus with error suppression | |
US4764896A (en) | Microprocessor assisted memory to memory move apparatus | |
EP0139094A2 (en) | Raster scan digital display system with a multiple memory device comparator facility | |
US4754424A (en) | Information processing unit having data generating means for generating immediate data | |
US4811266A (en) | Multifunction arithmetic indicator | |
JPS6168636A (en) | Data processor | |
KR920701905A (en) | Signal Processing Device and Method | |
US4031514A (en) | Addressing system in an information processor | |
JPS62156742A (en) | Data writing control system | |
US3222648A (en) | Data input device | |
JPS59184943A (en) | Information processor | |
JPH02212952A (en) | Memory access control system | |
JPS6148174B2 (en) | ||
JP2769384B2 (en) | Arithmetic control IC and information processing device | |
JPS63241647A (en) | Microprocessor | |
JPH04280331A (en) | Access system to read-only list | |
JPH01265339A (en) | Structuring data processor | |
JPH01316826A (en) | Register file address circuit | |
JPH03256130A (en) | Interruption factor retrieving system |