JPS62182920A - Arithmetic unit for tag architecture - Google Patents

Arithmetic unit for tag architecture

Info

Publication number
JPS62182920A
JPS62182920A JP61023998A JP2399886A JPS62182920A JP S62182920 A JPS62182920 A JP S62182920A JP 61023998 A JP61023998 A JP 61023998A JP 2399886 A JP2399886 A JP 2399886A JP S62182920 A JPS62182920 A JP S62182920A
Authority
JP
Japan
Prior art keywords
tag
circuit
data
output
inputs
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
JP61023998A
Other languages
Japanese (ja)
Inventor
Toru Nojiri
徹 野尻
Hajime Yasuda
元 安田
Shunpei Kawasaki
俊平 河崎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61023998A priority Critical patent/JPS62182920A/en
Publication of JPS62182920A publication Critical patent/JPS62182920A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To couple a tag and a data field in a single machine cycle by providing internally a logic circuit which receives information including a tag value, information including the data field, and tag and field designating information as inputs and couples them logically to generate data with the tag. CONSTITUTION:AND circuit 6 operates AND at every 4 bits of a tag word 2 and those of a field mask 4, and an AND circuit 7 operates AND between 4 bits of a data word 3 and those of the field mask 4 inverted by a NOT circuit 8. Consequently, the output 9 of the AND circuit 6 has the tag value in a higher order N-bit position and has all '0' in a lower order N'-bit position, and the output 10 of the AND circuit 7 has the data field in the lower order N'-bit position and has all '0' in the higher order N-bit position. An OR circuit 11 operates OR at every bit of the output 9 of the AND circuit 6 and that of the output 10 of the AND circuit 7. As the result, data 5 with the tag which has the tag value in the higher order N-bit position and has the data field in the lower order N'-bit position is obtained as the output of the OR circuit 11.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、タグ計算機、すなわち、各データがその属性
を示すタグを持つ型の計算機に関し、特に、タグ計算機
用の演算ユニットに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a tag calculator, that is, a type of computer in which each piece of data has a tag indicating its attribute, and particularly relates to an arithmetic unit for the tag calculator.

〔発明の背景〕[Background of the invention]

ノイマン型計算機においては、データの属性(数値か文
字か、2進数か10進数か、固定小数点表記か浮動小数
点表記か等)はデータ自体から知ることができず、プロ
グラムによって一方的に決定される。例えば、10進加
算命令のオペランドとして指定されたデータは、その実
体とは無関係に、10進数として処理される。したがっ
て、ノイマン型計算機においては、一つの型のI算(例
えば加算)についてデータの属性ごとに別個の命令が用
意されねばならず、そして、これら別個の命令がプログ
ラム中で正しく使い分けられなければならない。一方、
高級言語によるプログラムでは、変数(データ)の属性
は、変数自身に属する型情報によって明らかにされる。
In a Neumann computer, the attributes of data (numeric or character, binary or decimal, fixed-point or floating-point notation, etc.) cannot be known from the data itself, but are determined unilaterally by the program. . For example, data specified as an operand of a decimal addition instruction is processed as a decimal number, regardless of its substance. Therefore, in a Neumann-type computer, separate instructions must be prepared for each data attribute for one type of I-arithmetic operation (for example, addition), and these separate instructions must be used correctly in a program. . on the other hand,
In a program written in a high-level language, the attributes of variables (data) are revealed by type information belonging to the variables themselves.

高級言語によるプログラムのこのような構造とノイマン
型計算機の前記のようなアーキテクチャとの間の隔りは
、ソフトウェアの作成にあたっての大きな負担となる。
The gap between this structure of a program in a high-level language and the above-mentioned architecture of a Neumann computer places a heavy burden on software creation.

ノイマン型計算機の前記のような欠点を補うための手段
の一つに、タグアーキテクチャがある。
One of the means for compensating for the above-mentioned drawbacks of the Neumann type computer is the tag architecture.

タグアーキテクチャにおいては、記憶装置内の各データ
単位(例えばワード)が、そのデータの属性を示す情報
のためのフィールドを持ち、このフィールド又はその内
容はタグと呼ばれる。タグアーキテクチャを備えた計算
機、すなわちタグ計算は、ノイマン型計算機の持たない
多くの特徴を持つ。例えば、タグ計算機のための命令は
、包括的(g6neric)なものでよい。データの属
性ごとに別個の演算命令を用意する必要はなく、単一の
型の演算命令°が、オペランドのタグの解析結果に従っ
て実行過程を選択することによシ、すべての属性のデー
タの演算を制御することができる。一般的なタグアーキ
テクチャの解説は、例えば、 G、、 J。
In a tag architecture, each data unit (eg, a word) in a storage device has a field for information indicating attributes of the data, and this field or its contents is called a tag. A computer with a tag architecture, that is, a tag calculation, has many features that a Neumann type computer does not have. For example, the instructions for the tag calculator may be generic (g6neric). There is no need to prepare a separate operation instruction for each attribute of data, and a single type of operation instruction can perform operations on data of all attributes by selecting the execution process according to the analysis result of the operand tag. can be controlled. Descriptions of general tag architectures can be found, for example, in G., J.

Mye r s著” Advances in (:o
mputerArchitecture、  5eco
nd Edition ” JohnWiley & 
5ons、  1982.第58〜67頁に述べられて
いる。タグアーキテクチャは、特に、LISP言語の処
理にとって非常に有用であり、多くのLISP専用マシ
ンがこれを採用している(情報処理Vot、 23 A
 8 、 1982年8月、第757〜772頁参照)
Written by Myers” Advances in (:o
Mputer Architecture, 5eco
nd Edition” John Wiley &
5ons, 1982. Discussed on pages 58-67. The tag architecture is particularly useful for processing the LISP language, and many LISP-only machines have adopted it (Information Processing Vot., 23 A.
8, August 1982, pp. 757-772)
.

タグアーキテクチャの実現に必要な機能には、タグとデ
ータ本体の分離、タグの解析、演算結果へのタグの結合
などがある。いくつかの従来のLISPマシンにおける
タグアーキテクチャは。
The functions required to realize a tag architecture include separating tags and data bodies, analyzing tags, and combining tags with calculation results. The tag architecture in some traditional LISP machines is:

タグとデータ本体の分離を効率良く行なうために、AL
Uの前段にタグ処理用のマスク/選択回路を備える。し
かし、演算結果へのタグの結合を効率良く行なうだめの
特殊なハードウェアについては。
In order to efficiently separate the tag and the data body, AL
A mask/selection circuit for tag processing is provided before the U. However, special hardware is required to efficiently combine tags with calculation results.

報告が見当らない。演算結果へのタグの結合を通常のA
LUの2人力論理結合機構を用いて実現するには、タグ
値を含む情報からのタグフィールドとなるべき部分の抽
出と、演算結果からのデータフィールドとなるべき部分
の抽出と、タグフィールドとデータフィールドの結合と
のために、ALUを通る3回のパス、つま93個の命令
の実行が必要である。
No report found. Joining tags to calculation results as normal A
To achieve this using LU's two-person logical combination mechanism, it is necessary to extract the part that should become a tag field from information including tag values, extract the part that should become a data field from the calculation result, and extract the part that should become a data field from the information including the tag value. The combination of fields requires three passes through the ALU, or the execution of 93 instructions.

〔発明の目的〕 本発明の目的は、タグアーキテクチャに必要なタグとデ
ータ本体を結合する機能を、効率良く遂行できる機構を
提供することにある。
[Object of the Invention] An object of the present invention is to provide a mechanism that can efficiently perform the function of combining tags and data bodies necessary for tag architecture.

〔発明の概要〕[Summary of the invention]

本発明の特徴は、タグ値を含む情報と、データ本体を含
む情報と、タグ付データのタグ及びデータ本体のだめの
各ビットフィールドを示すフィールド指定情報とを入力
として受け、それらを論理的に結合してタグ付データを
生成する論理回路を、演算ユニット(ALU)内部に組
込んだ点にある。
The present invention is characterized by receiving as input information including a tag value, information including a data body, and field specification information indicating each bit field of the tag of tagged data and the data body, and logically combining them. The point is that a logic circuit that generates tagged data is built into an arithmetic unit (ALU).

これにより、タグ値を含む情報とデータ本体を含む情報
とフィールド指定情報とを組合せてタグ付データを形成
する処理は、データ本体を得るだめの演算と同じマシン
サイクル中、あるいは付加的な単一のマシンサイクルに
おいて、完了することができる。
This allows the process of combining the information containing the tag value, the information containing the data body, and the field specification information to form tagged data to be performed during the same machine cycle as the operation to obtain the data body, or in an additional single machine cycle. can be completed in several machine cycles.

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

第1図は、本発明で用いるのに適した、タグをデータ本
体に結合するための論理回路(以下タグ結合回路という
)の−例を示す。タグ結合回路1は、タグワード2.デ
ータワード3及びフィールドマスク4を入力端子T、D
及びMにそれぞれ受け、タグ付データワード5を出力端
子TDに発生する。タグワード2はタグ値を含むワード
であり。
FIG. 1 shows an example of a logic circuit for coupling a tag to a body of data (hereinafter referred to as tag coupling circuit) suitable for use in the present invention. The tag combining circuit 1 includes tag words 2 . Data word 3 and field mask 4 are input to terminals T and D.
and M, respectively, and generate a tagged data word 5 at output terminal TD. Tag word 2 is a word containing a tag value.

この例では、タグ値はタグワードの上位Nビットを占め
る。データワード3は、通常はある演算の結果として得
られたワードであり、この例では。
In this example, the tag value occupies the upper N bits of the tag word. Data word 3 is usually a word resulting from some operation, in this example.

その下位N′ビットがデータ本体で占められている。ワ
ード長はN+N’ ビットである。フィールドマスク4
は、タグ付データ5のタグフィールド(この例では上位
Nビット)における各ビットに対応するビット位置に°
1′′を持ち、その余のピット位置、すなわち、タグ付
データ5のデータフィールド(この例では下位N′ピッ
ト)における各ビットに対応するピット位置に°0″を
持つ。
The lower N' bits are occupied by the data body. The word length is N+N' bits. field mask 4
is placed in the bit position corresponding to each bit in the tag field (upper N bits in this example) of tagged data 5.
1'', and the remaining pit positions, that is, the pit positions corresponding to each bit in the data field of the tagged data 5 (lower N' pits in this example), have °0''.

AND回路6は、タグワード2とフィールドマスク4の
ビットごとの論理積を生成する。AND回路7は、デー
タワード3とNOT回路8により反転されたフィールド
マスク4とのビットごとの論理積を生成する。したがっ
て、AND回路6の出力9は、上位Nビット位置にタグ
値、下位N′ビット位置にオール1′0”を含み、AN
D回路7の出力10は、下位N′ピット位置にデータ本
体、上位Nピット位置にオール″O”を含む。OR回路
11は、AND回路6の出力9とAND回路7の出力1
0のビットごとの論理和を生成する。その結果、上位N
ピット位置にタグ値、下位N′ビット位置にデータ本体
を持つタグ付データ5が、OR回路11の出力として得
られる。
The AND circuit 6 generates a bitwise AND of the tag word 2 and the field mask 4. The AND circuit 7 generates a bitwise AND of the data word 3 and the field mask 4 inverted by the NOT circuit 8. Therefore, the output 9 of the AND circuit 6 includes the tag value in the upper N bit positions, all 1'0'' in the lower N' bit positions, and the AN
The output 10 of the D circuit 7 includes the data body at the lower N' pit positions and all "O's" at the upper N pit positions. The OR circuit 11 outputs the output 9 of the AND circuit 6 and the output 1 of the AND circuit 7.
Generates a bitwise OR of 0s. As a result, the top N
Tagged data 5 having the tag value at the pit position and the data body at the lower N' bit position is obtained as the output of the OR circuit 11.

フィールドマスク4における11″′とat O”の使
い方は、第1図の逆でもよい。その場合には、NOT回
路8はAND回路6の入力径飴に置かれる。フィールド
マスク4がフリップフロップ群に保持され、それらフリ
ップフロップの偽出力が利用できれば、NOT回路8は
省略することができる。また、AND−OR,論理の代
りに、NOR,回路又はNAND回路を用いて等価な論
理回路を構成してもよい。
The usage of 11'' and at O'' in the field mask 4 may be reversed to that in FIG. In that case, the NOT circuit 8 is placed at the input circuit of the AND circuit 6. If the field mask 4 is held in a group of flip-flops and the false outputs of these flip-flops can be used, the NOT circuit 8 can be omitted. Furthermore, instead of AND-OR logic, an equivalent logic circuit may be constructed using a NOR circuit or a NAND circuit.

第2図は、本発明の第1実施例を示す。演算ユニット(
ALU)20は、従来のALUの機能に対応する機能を
遂行するブロック(ALB)21と、第1図に示された
タグ結合回路1を有する。
FIG. 2 shows a first embodiment of the invention. Computing unit (
The ALU (ALU) 20 has a block (ALB) 21 that performs functions corresponding to those of a conventional ALU, and a tag combining circuit 1 shown in FIG.

一般の算術論理演算のオペランドとして用いられるデー
タは、ALU入力A及びALU人力BからALB21に
、入力22及び23として供給される。ALB21の出
力24は、第1図におけるデータワード3として、タグ
結合回路1に送られる。
Data used as operands for general arithmetic and logic operations are supplied from ALU input A and ALU input B to ALB 21 as inputs 22 and 23. The output 24 of ALB 21 is sent to tag combining circuit 1 as data word 3 in FIG.

タグワード2とフィールドマスク4は、それぞれの発生
源から独自の径路を経て、タグ結合回路1に供給される
。タグ結合回路1の出力5は、ALU出力として送出さ
れる。ALU入力A、ALU入力B、ALB出力24、
ALU出力、タグワード2、及びフィールドマスク4の
ビット幅は、すべて同じである。
The tag word 2 and the field mask 4 are supplied to the tag combining circuit 1 from their respective sources via their own paths. The output 5 of the tag combination circuit 1 is sent out as an ALU output. ALU input A, ALU input B, ALB output 24,
The bit widths of the ALU output, tag word 2, and field mask 4 are all the same.

この実施例によれば、オペランドの入力からタグ付デー
タの出力までの処理が、単一の命令により、単一のマシ
ンサイクルにおいて遂行される。
According to this embodiment, processing from inputting operands to outputting tagged data is accomplished in a single machine cycle by a single instruction.

タグ結合回路の挿入により生じる時間遅れは僅小である
。ALB21の演算結果24をそのままALU出力とし
て得たい場合には、フィールドマスク4のビットパター
ンは、タグフィールド長が0′″の場合のパターン(第
1図の回路ではオール1°0゛′)にセットされる。
The time delay caused by the insertion of the tag binding circuit is negligible. If you want to obtain the calculation result 24 of the ALB 21 as it is as the ALU output, the bit pattern of the field mask 4 should be the same as the pattern when the tag field length is 0'' (all 1°0'' in the circuit shown in Figure 1). Set.

第3図は、本発明の第2実施例を示す。ALU入力Aは
、ALB21に第1人力22として送られるとともに、
タグ結合回路1の入力端子Tに送られる。ALU入力B
は、ALB21に第2人力23として送られるとともに
、タグ結合回路1の入力端子りに送られる。第3のAL
U入力はフィールドマスク4であり、タグ結合回路1の
入力端子Mに送られる。ALB21の出力24又はタグ
結合回路1の出力5は、セレクタ31で選択されて、A
LU出力となる。セレクタ31は、図示されていない命
令実行ユニット(IEU)からの信号により切換えられ
る。
FIG. 3 shows a second embodiment of the invention. The ALU input A is sent to the ALB 21 as the first human power 22, and
It is sent to the input terminal T of the tag combination circuit 1. ALU input B
is sent to the ALB 21 as the second human power 23 and also to the input terminal of the tag combination circuit 1. 3rd AL
The U input is a field mask 4 and is sent to the input terminal M of the tag combination circuit 1. The output 24 of the ALB 21 or the output 5 of the tag binding circuit 1 is selected by the selector 31 and
It becomes LU output. The selector 31 is switched by a signal from an instruction execution unit (IEU), not shown.

通常の2人力演算に対しては、ALU人力AとALU入
力Bからオペランドが供給され、セレクタ31はALB
21の出力24を選択する。タグとデータ本体の結合は
、3人力演算の形で実行される。タグワードはALU入
力入力上供給され、データワードはALU入力Bから供
給され、同時にフィールドマスク4が第3ALU入力と
して供給される。セレクタ31は、タグ結合回路1の出
力5を選択する。フィールドマスクがALU入力入力上
Bから供給され、タグワード又はデータワードがALU
第3人力として供給されるように。
For normal two-man operation, operands are supplied from ALU input A and ALU input B, and the selector 31
Select output 24 of 21. The combination of the tag and the data body is performed in the form of a three-person operation. The tag word is supplied on the ALU input input, the data word is supplied from ALU input B, and at the same time the field mask 4 is supplied as the third ALU input. The selector 31 selects the output 5 of the tag combination circuit 1. The field mask is supplied from the ALU input input B and the tag word or data word is
To be supplied as a third manpower.

変形してもよい。May be deformed.

第4図は、本発明の第3実施例を示す。ALU入力入力
上ALB21に第1人力22として送られるとともに、
タグ結合回路1の入力端子Tに送られる。ALU入力B
は、ALI321に第2人力23として送られるととも
に、タグ結合回路1の入力端子Mに送られる。ALB2
1の出力24ば、セレクタ41に送られるとともに、ゲ
ート42を経てデータラッチ43に送られ、データラッ
チ43の出力はタグ結合回路1の入力端子りに与えられ
る。タグ結合回路1の出力5は、セレクタ41に送られ
る。セレクタ41の出力はALU出力となる。セレクタ
41とゲート42は1図示されていないIEUからの信
号によって制御される。
FIG. 4 shows a third embodiment of the invention. The ALU input is sent to the ALB 21 as the first human power 22, and
It is sent to the input terminal T of the tag combination circuit 1. ALU input B
is sent to the ALI 321 as the second human power 23 and also to the input terminal M of the tag combination circuit 1. ALB2
The output 24 of 1 is sent to the selector 41 and also to the data latch 43 via the gate 42, and the output of the data latch 43 is given to the input terminal of the tag combination circuit 1. The output 5 of the tag combination circuit 1 is sent to the selector 41. The output of the selector 41 becomes the ALU output. Selector 41 and gate 42 are controlled by signals from an IEU (not shown).

通常の演算に対しては、セレクタ41はALB21の出
力24を選択する。この時、命令が演算結果の保存を指
定していれば、ゲート42が開き、ALB21の出力2
4はデータラッチ43に保持される。続いてタグ結合命
令が実行されると、ALU入力入力上タグワードが供給
され、ALU入力Bからフィールドマスクが供給される
。タグ結合回路1は、フィールドマスク入力に従って、
タグワード入力とデータラッチ43内のデータを結合し
、タグ付データ5を出力する。セレクタ41は、IEU
からの信号に従って、タグ結合回路1の出力5をALU
出力として選択する。
For normal operations, selector 41 selects output 24 of ALB 21. At this time, if the instruction specifies saving of the operation result, the gate 42 opens and the output 2 of the ALB 21
4 is held in the data latch 43. When a tag binding instruction is subsequently executed, the tag word is provided on the ALU input input and the field mask is provided on the ALU input B. According to the field mask input, the tag combining circuit 1
The tag word input and the data in the data latch 43 are combined to output tagged data 5. The selector 41 is the IEU
According to the signal from the ALU, the output 5 of the tag combining circuit 1 is
Select as output.

第2及び第3実施例においては、演算結果が得られた後
、演算結果とタグの結合が単一のマシンサイクルにおい
て遂行される。
In the second and third embodiments, after the calculation result is obtained, the combination of the calculation result and the tag is performed in a single machine cycle.

第5図は、本発明の第4実施例を示す。ALU入力入力
上ALB21へ入力22として送られるとともに、セレ
クタ51に送られる。セレクタ51は、タグ結合回路1
の入力端子T又はフィールドマスクレジスタ52への信
号線を選択する。
FIG. 5 shows a fourth embodiment of the invention. The ALU input signal is sent to the ALB 21 as an input 22, and is also sent to the selector 51. The selector 51 is the tag combining circuit 1
input terminal T or a signal line to the field mask register 52.

フィールドマスクレジスタ52の出力は、タグ結合回路
1の入力端子Mに与えられる。ALU入力Bは、ALB
21へ入力23として送られるとともに、タグ結合回路
1の入力端子りに送られる。
The output of the field mask register 52 is given to the input terminal M of the tag combination circuit 1. ALU input B is ALB
21 as an input 23 and also to the input terminal of the tag combination circuit 1.

セレクタ53は、ALB21の出力24又はタグ結合回
路1の出力5をALU出力として選択する。
The selector 53 selects the output 24 of the ALB 21 or the output 5 of the tag combination circuit 1 as the ALU output.

セレクタ51及び53は、図示されていないIEUから
の信号により制御される。
Selectors 51 and 53 are controlled by signals from an IEU (not shown).

通常の演算に対しては、セレクタ53はALB21の出
力24を選択する。セレクタ51は1通常は遮断状態に
保たれる。この実施例においては。
For normal operations, selector 53 selects output 24 of ALB 21. The selector 51 is normally kept in the cut-off state. In this example.

フィールドマスクをフィールドマスクレジスタ52にセ
ットする命令が用意される。この命令が実行されると、
フィールドマスクがALU入力入力上られ、セレクタ5
1はフィールドマスクレジスタ52への信号線を選択し
、その結果、フィールドマスクがフィールドマスクレジ
スタ52にセットされる。その後、任意の時点でタグ結
合命令が実行されると、ALU入力入力上グワードが供
給され、ALU入力Bにデータワードが供給される。同
時に、セレクタ51は、タグ結合回路1の入力端子Tへ
の信号線を選択し、セレクタ53は。
An instruction is provided to set the field mask in the field mask register 52. When this command is executed,
The field mask is placed on the ALU input input and selector 5
1 selects the signal line to the field mask register 52, and as a result, the field mask is set in the field mask register 52. Thereafter, at any time when the tag binding instruction is executed, the G word is provided on the ALU input input and the data word is provided on the ALU input B. At the same time, the selector 51 selects the signal line to the input terminal T of the tag coupling circuit 1, and the selector 53 selects the signal line to the input terminal T of the tag coupling circuit 1.

タグ結合回路1の出力5を選択する。その結果、入力タ
グワードと入力データワードは、フィールドマスクレジ
メタ52中のフィールドマスクに従って結合され、得ら
れたタグ付データ5がALU出力として送出される。A
LU入力Bがフィールドマスクレジスタ52とタグ結合
回路1の入力端り 宇イ間で切換えられるように、変形してもよい。
Output 5 of tag combining circuit 1 is selected. As a result, the input tag word and the input data word are combined according to the field mask in the field mask register 52, and the resulting tagged data 5 is sent as the ALU output. A
It may be modified such that the LU input B is switched between the field mask register 52 and the input end of the tag combination circuit 1.

この第4実施例においても、タグとデータ本体の結合は
、単一のマシンサイクルにおいて遂行される。ただ、そ
れに先立って、フィールドマスクをフィールドマスクレ
ジスタ52にセットする必要がある。しかしながら、タ
グフィールドの長さ、すなわちフィールドマスク4のド
ツトパターンは、頻繁には変更されない。したがって、
フィールドマスクをセットする命令の実行は稀であり、
それによる処理効率の低下はとるに足りない。
In this fourth embodiment as well, the combination of tag and data body is accomplished in a single machine cycle. However, prior to that, it is necessary to set a field mask in the field mask register 52. However, the length of the tag field, ie the dot pattern of field mask 4, is not frequently changed. therefore,
Execution of instructions that set field masks is rare;
The resulting decrease in processing efficiency is negligible.

第2ないし第4実施例については、タグ結合回路1はA
LB21から完全に分離されたものとして説明されてい
るが、実際には、ALB21とタグ結合回路1が一部の
回路を共有してもよい。
Regarding the second to fourth embodiments, the tag coupling circuit 1 is
Although it is described as being completely separated from the LB 21, in reality, the ALB 21 and the tag binding circuit 1 may share some circuits.

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

本発明によれば、タグアーキテクチャに不可欠な機能の
一つであるタグとデータ本体の結合が、単一のマシンサ
イクルにおいて遂行される。しかも、それに必要なハー
ドウェアの付加は、マシンサイクルの延長をほとんど招
来しない。しだがって、本発明がタグ計算機の速度向上
に寄与するところは顕著である。
According to the present invention, one of the essential functions of tag architecture, the binding of tags and data bodies, is accomplished in a single machine cycle. Moreover, the addition of the necessary hardware hardly results in an extension of the machine cycle. Therefore, it is remarkable that the present invention contributes to speeding up the tag calculator.

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

第1図は本発明で用いられるタグ結合回路の一例の論理
回路図、第2図ないし第5図は本発明の異なる実施例の
ブロックダイヤグラムである。
FIG. 1 is a logic circuit diagram of an example of a tag combining circuit used in the present invention, and FIGS. 2 to 5 are block diagrams of different embodiments of the present invention.

Claims (1)

【特許請求の範囲】 1、タグ値を含む情報と、データ本体を含む情報と、生
成すべきタグ付データのタグ及びデータ本体のための各
ビットフィールドを示すフィールド指定情報とを入力と
して受け、それらを論理的に結合してタグ付データを生
成する論理回路を内部に備えることを特徴とする、タグ
アーキテクチャ用演算ユニット。 2、特許請求の範囲1において、前記フィールド指定情
報は、タグのためのビットフィールドを示す部分及びデ
ータ本体のためのビットフィールドを示す部分の一方が
オール“1”で他方がオール“0”のビットパターンを
持ち、前記タグ付データ生成論理回路は、前記フィール
ド指定情報及びその否定の一方と前記タグ値を含む情報
のビットごとの論理積を生成する第1論理段と、前記フ
ィールド指定情報及びその否定の他方と前記データ本体
を含む情報のビットごとの論理積を生成する第2論理段
と、前記第1及び第2論理段の出力のビットごとの論理
和を生成する第3論理段とを有する、タグアーキテクチ
ャ用演算ユニット。 3、特許請求の範囲1又は2において、前記タグ付デー
タ生成論理回路は、タグ付データ生成以外の演算の結果
と、前記タグ値を含む情報と、前記フィールド指定情報
とをその入力として受ける、タグアーキテクチャ用演算
ユニット。 4、特許請求の範囲1又は2において、前記演算ユニッ
トは3個の入力を有し、前記タグ付データ生成論理回路
は前記3個の入力をその入力として受ける、タグアーキ
テクチャ用演算ユニット。 5、特許請求の範囲1又は2において、前記演算ユニッ
トは、2個の入力を有し、更に、タグ付データ生成以外
の演算の結果を保存するための情報保持回路を備え、前
記タグ付データ生成論理回路は、前記2個の入力と前記
情報保持回路の出力をその入力として受ける、タグアー
キテクチャ用演算ユニット。 6、特許請求の範囲1又は2において、前記演算ユニッ
トは、2個の入力を有し、更に、前記2個の入力の一方
から供給される前記フィールド指定情報を保持するため
の情報保持回路を備え、前記タグ付データ生成論理回路
は、前記2個の入力と前記情報保持回路の出力をその入
力として受ける、タグアーキテクチャ用演算ユニット。
[Claims] 1. Receiving as input information including a tag value, information including a data body, and field designation information indicating each bit field for the tag and data body of tagged data to be generated; An arithmetic unit for tag architecture, characterized in that it includes a logic circuit that logically combines them to generate tagged data. 2. In claim 1, the field designation information includes a part indicating a bit field for a tag and a part indicating a bit field for a data body, one of which is all "1" and the other is all "0". The tagged data generation logic circuit has a bit pattern, and the tagged data generation logic circuit includes a first logic stage that generates a bit-by-bit AND of information including the tag value and one of the field designation information and its negation; a second logical stage that generates a bitwise AND of the other of the negation and the information including the data body; and a third logical stage that generates a bitwise OR of the outputs of the first and second logical stages. An arithmetic unit for tag architecture, which has: 3. In claim 1 or 2, the tagged data generation logic circuit receives as input the result of an operation other than tagged data generation, information including the tag value, and the field designation information. Computing unit for tag architecture. 4. The arithmetic unit for tag architecture according to claim 1 or 2, wherein the arithmetic unit has three inputs, and the tagged data generation logic circuit receives the three inputs as its inputs. 5. In claim 1 or 2, the arithmetic unit has two inputs, and further includes an information holding circuit for storing results of arithmetic operations other than tagged data generation, and the tagged data The generation logic circuit is an arithmetic unit for tag architecture that receives the two inputs and the output of the information holding circuit as its inputs. 6. In claim 1 or 2, the arithmetic unit has two inputs, and further includes an information holding circuit for holding the field designation information supplied from one of the two inputs. An arithmetic unit for tag architecture, wherein the tagged data generation logic circuit receives the two inputs and the output of the information holding circuit as its inputs.
JP61023998A 1986-02-07 1986-02-07 Arithmetic unit for tag architecture Pending JPS62182920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61023998A JPS62182920A (en) 1986-02-07 1986-02-07 Arithmetic unit for tag architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61023998A JPS62182920A (en) 1986-02-07 1986-02-07 Arithmetic unit for tag architecture

Publications (1)

Publication Number Publication Date
JPS62182920A true JPS62182920A (en) 1987-08-11

Family

ID=12126246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61023998A Pending JPS62182920A (en) 1986-02-07 1986-02-07 Arithmetic unit for tag architecture

Country Status (1)

Country Link
JP (1) JPS62182920A (en)

Similar Documents

Publication Publication Date Title
US4467444A (en) Processor unit for microcomputer systems
US7350054B2 (en) Processor having array of processing elements whose individual operations and mutual connections are variable
JPH087083A (en) Three-input arithmetic and logic unit for formation of arithmetic and logic mixed combination
JPH087084A (en) Three-input arithmetic and logic unit for formation of sum of first boolean combination of first, second and third inputs plus second boolean combination of first, second and third inputs
JPS6255724A (en) Processor
US5303354A (en) Data transfer system between registers for microcomputer
EP0454636A1 (en) Method for carrying out a boolean operation between any two bits of any two registers
JPH05150979A (en) Immediate operand expansion system
JPS63155336A (en) Data processor
JPS58182754A (en) Arithmetic processor
US4754424A (en) Information processing unit having data generating means for generating immediate data
JPS62182920A (en) Arithmetic unit for tag architecture
JPS62156742A (en) Data writing control system
JPH02213938A (en) Arithmetic unit
US5018092A (en) Stack-type arithmetic circuit
JPH08166880A (en) Computer
JPH0640337B2 (en) Pipeline arithmetic unit
US6035310A (en) Method and circuit for performing a shift arithmetic right operation
JP3144859B2 (en) Arithmetic logic unit
EP0313817B1 (en) Method and apparatus for explicitly evaluating conditions in a data processor
JPH0991118A (en) Floating point arithmetic unit
JPS62236036A (en) Bit slice processor
JPS58205253A (en) Arithmetic device
JPS60250473A (en) Vector processor
REDDY DESIGN AND IMPLEMENTATION OF AREA EFFICIENT MULTIPLY-ACCUMULATE UNIT