JPS6113345A - Processor of tagged data - Google Patents

Processor of tagged data

Info

Publication number
JPS6113345A
JPS6113345A JP59133766A JP13376684A JPS6113345A JP S6113345 A JPS6113345 A JP S6113345A JP 59133766 A JP59133766 A JP 59133766A JP 13376684 A JP13376684 A JP 13376684A JP S6113345 A JPS6113345 A JP S6113345A
Authority
JP
Japan
Prior art keywords
data
tag
operator
change
output terminal
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
JP59133766A
Other languages
Japanese (ja)
Inventor
Yasunori Kimura
康則 木村
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 JP59133766A priority Critical patent/JPS6113345A/en
Publication of JPS6113345A publication Critical patent/JPS6113345A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30192Instruction operation extension or modification according to data descriptor, e.g. dynamic data typing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the processing speed of tagged data, by connecting a mechanism which changes tags in data in accordance with tag value designating inputs with an operator. CONSTITUTION:An arithmetic control section designates one or two sets of data from a register file 1 composed of plural data holding registers and supplies the designated data to the input terminal 20 or 21 of an operator 2 through buses 24 and 25 and causes the operator 2 to execute prescribed operation on the data. After the operation, the control section stores the operated data in one register of the register file 1 from the output terminal 22 of the operator 2 through a bus 26. The input terminals 20 and 21 and output terminal 22 of the operator 2 are respectively connected with tag changing mechanisms 30-32. The tag changing mechanisms 30-32 can change tags constituted by means of specific bit position in each data on passing data. Necessity of tag change, tag value to be changed and set, etc., are controlled by signals inputted from control lines 34-36.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はタグ付データを処理するデータ処理装置の改良
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement in a data processing device that processes tagged data.

複雑な構造を有するデータを処理するデータ処理装置の
方式として、データにその型を表示するタグを付してお
き、例えば演算の実行等においては、被演算データに付
属するタグの値によって、具体的演算方式が決定する等
の制御が行われる方式がある。
As a data processing device that processes data with a complex structure, a tag is attached to the data to indicate its type.For example, when executing an operation, specific information is specified by the value of the tag attached to the operand data. There is a method in which control is performed, such as determining the calculation method.

このようなデータ処理装置では、演算の過程等でデータ
中のタグの変更が必要になる。本発明はこのようなタグ
の変更制御の改良に関する。
In such a data processing device, it is necessary to change tags in data during the calculation process. The present invention relates to improvements in such tag change control.

〔従来の技術と発明が解決しようとする問題点〕例えば
、データがタグ8ビツトと、実際のデータ24ビツトか
らなるとし、整数の型を表すタグを°1”とすると、整
数“5”及び整数“7゛のデータは、16進表示で下記
の構成となる。
[Problems to be solved by the prior art and the invention] For example, if the data consists of an 8-bit tag and 24-bit actual data, and the tag representing the integer type is °1, then the integer "5" and The data of the integer "7" has the following structure in hexadecimal representation.

整数’5’   01000005 整数“7’   01000007 従って、整数°5”と整数“7゛の加算を、単純に上記
構成のデータを用いて実行すると、0200000C となり、タグ2゛の整数ではないデータになってしまう
Integer '5' 01000005 Integer '7' 01000007 Therefore, if you simply add the integer 5 and the integer 7 using the data in the above configuration, you will get 0200000C, which is non-integer data with tag 2. I end up.

従来は、このために整数演算のマイクロプログラム等に
より、演算の前に被演算データのタグを°0゛にして、
上記例の場合’00000005’と“oooooo。
Conventionally, for this purpose, an integer arithmetic microprogram or the like would set the operand data tag to °0' before the operation.
In the above example, '00000005' and 'ooooooo.

7”を得る。このデータによって加算を実行すると、’
oooooooc″になるので、このタグを“1゛に変
更して°0100OOOC’として、加算処理を終わる
7". When we perform addition with this data, we get '
oooooooc'', so this tag is changed to ``1'' and the addition process ends.

従って、目的の演算の前後に合計3回のタグ変更処理を
必要とし、演算の実質上の実行速度を遅くするという問
題点があった。
Therefore, a total of three tag change processes are required before and after the target calculation, which poses a problem of slowing down the actual execution speed of the calculation.

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

本発明は上記問題点を除くことのできる、改良されたデ
ータ処理装置を提供することを目的とする。
An object of the present invention is to provide an improved data processing device that can eliminate the above problems.

この目的は、データの型を表示するタグを該データ中に
保持する形式のデータを処理するに際し、タグ値指定入
力により該データ中のタグを変更する機構を演算器に接
続してなる本発明のタグ付データ処理装置によって達成
される。
This object is achieved by the present invention, in which, when processing data in a format in which a tag indicating the data type is retained in the data, a mechanism for changing the tag in the data by inputting a tag value is connected to an arithmetic unit. This is accomplished by a tagged data processing device.

〔作用〕[Effect]

即ち、従来と同様に、実行すべき命令及び被演算データ
の型等に基づいて変更すべきタグ値を決定する。
That is, as in the past, the tag value to be changed is determined based on the instruction to be executed and the type of operand data.

この決定に基づいて生成されるタグ値指定を入力として
、データ中のタグを変更する機構を設け、これを演算器
に接続するので、タグを変更するためにマイクロプログ
ラム等のステップを特に費やすことなくタグの変更が実
行される。
A mechanism is provided to change the tag in the data using the tag value designation generated based on this determination as input, and this is connected to the arithmetic unit, so there is no need to spend any special steps in the microprogram etc. to change the tag. Tag changes are performed without any changes.

〔実施例〕〔Example〕

第1図は本発明の一実施例処理装置の演算制御部のブロ
ック図である。
FIG. 1 is a block diagram of an arithmetic control section of a processing device according to an embodiment of the present invention.

演算制御部は公知のように複数のデータを保持するレジ
スタからなるレジスタファイル1から1又は2組のデー
タを指定して、バス24.25を経て演算器2の入力端
子20又は21に供給し、演算器2によって該データに
所定の演算を実行して出力端子22からバス26を経て
、レジスタファイル1内のレジスタに格納する機能を有
する。
As is well known, the arithmetic control section specifies one or two sets of data from a register file 1 consisting of registers that hold a plurality of data, and supplies them to the input terminal 20 or 21 of the arithmetic unit 2 via a bus 24,25. , has a function of executing a predetermined operation on the data by the arithmetic unit 2 and storing it in a register in the register file 1 from the output terminal 22 via the bus 26.

本発明により、演算器2の入力端子20.21及び出力
端子22にはタグ変更機構30.31.32が接続され
る。
According to the invention, a tag change mechanism 30.31.32 is connected to the input terminal 20.21 and the output terminal 22 of the arithmetic unit 2.

この構成において、上記の被演算データは演算器2を通
る前後にそれらのタグ変更機構30.31又は32を通
過するようにされる。
In this configuration, the above-mentioned operand data is made to pass through the tag change mechanism 30, 31 or 32 before and after passing through the arithmetic unit 2.

タグ変更機構30.31及び32は、通過するデータに
ついて、各データ内の特定ビット位置によって構成され
るタグを変更することができる。
The tag modification mechanisms 30.31 and 32 are capable of modifying the tag for the data passing through, which is constituted by a particular bit position within each data.

変更の要否、変更して設定すべきタグ値等は制御線34
.35.36から入力される信号によって制御される。
Control line 34 indicates whether changes are necessary, tag values that should be changed and set, etc.
.. It is controlled by signals input from 35 and 36.

それらの信号は従来の方法により、実行すべき命令及び
被演算データの型等に基づいて別途決定されて、制御部
37から供給されるものとする。
It is assumed that these signals are separately determined by conventional methods based on the instruction to be executed and the type of data to be operated on, and are supplied from the control unit 37.

第2図はタグ変更機構30.31、及び32の一構成例
である。例えば32ビツトで構成されるデータが信号線
40から入力し、その中から例えば8ビツトのタグ部分
を除いた24ビツトの実質データ部分41はそのま\通
過し、タグ部分42は要すれば変更されて信号線43へ
出力される。
FIG. 2 shows an example of the configuration of the tag change mechanisms 30, 31, and 32. For example, data consisting of 32 bits is input from the signal line 40, from which the 24-bit actual data part 41 excluding the 8-bit tag part is passed through as is, and the tag part 42 is changed if necessary. and output to the signal line 43.

例えば第2図の機構をタグ変更機構32とすれば、入力
の信号線40は第1図の出力端子22に接続し、信号線
41及び43で構成されるタグ変更後のデータはバス2
6に接続する。
For example, if the mechanism in FIG. 2 is the tag changing mechanism 32, the input signal line 40 is connected to the output terminal 22 in FIG.
Connect to 6.

この例において、制御線44及び45は第1図の制?I
l&!36の詳細を示す。
In this example, control lines 44 and 45 are connected to the control lines 44 and 45 of FIG. I
l&! 36 details are shown.

制御線44にはタグ変更の要否を指定する1ビツトの信
号が入力され、該信号がゲート回路46を制御して信号
線42の入力タグ値をそのま\通過させるか、又は信号
線47のタグ値に変更する。
A 1-bit signal that specifies whether or not to change the tag is input to the control line 44, and this signal controls the gate circuit 46 to either pass the input tag value on the signal line 42 as is or to change the tag value on the signal line 47. Change the tag value to .

信号線45は例えば4ビツトの入力で、タグ値を変更す
る場合の新タグ値を指定する。
The signal line 45 is a 4-bit input, for example, which specifies a new tag value when changing the tag value.

信号線45の信号は例えば読出し専用記憶装置で育成さ
れるタグメモリ48のアドレス入力となり、タグメモリ
48から指定のタグ値を読み出すように使用される。
The signal on the signal line 45 becomes, for example, an address input to a tag memory 48 stored in a read-only storage device, and is used to read a specified tag value from the tag memory 48.

タグメモリ48には、例えば各8ビツトのタグ値が16
種類記憶され、信号線45で指定されたタグ値が信号線
47へ読み出され、前記のようにゲート回路46を経て
出力されることができる。
For example, the tag memory 48 stores 16 tag values of 8 bits each.
The type of tag value stored and specified on the signal line 45 can be read out to the signal line 47 and outputted via the gate circuit 46 as described above.

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

以上の説明から明らかなように本発明によれば、タグ付
データの処理の前後における被処理データのタグの操作
が高速に行われて処理装置の性能を改善するという著し
い工業的効果がある。
As is clear from the above description, the present invention has a remarkable industrial effect in that the tags of the data to be processed can be operated at high speed before and after processing the tagged data, thereby improving the performance of the processing device.

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

第1図は本発明一実施例の構成ブロック図、第2図はタ
グ変更機構の構成ブロック図である。 図において、 ■はレジスタファイル、2は演算器、 30.31.32はタグ変更機構、・ 37は制御部、     46はゲート回路、48はタ
グメモリを示す。 代理人 弁理士  検量 宏四部 第 1 図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of a tag changing mechanism. In the figure, 2 is a register file, 2 is an arithmetic unit, 30, 31, 32 is a tag change mechanism, 37 is a control unit, 46 is a gate circuit, and 48 is a tag memory. Agent Patent Attorney Calibration Koshibu Part 1 Figure

Claims (1)

【特許請求の範囲】[Claims] データの型を表示するタグを該データ中に保持する形式
のデータを処理するに際し、タグ値指定入力により該デ
ータ中のタグを変更する機構を演算器に接続してなるこ
とを特徴とするタグ付データ処理装置。
A tag characterized in that, when processing data in a format in which a tag indicating the type of data is held in the data, a mechanism for changing the tag in the data by inputting a tag value specification is connected to an arithmetic unit. attached data processing equipment.
JP59133766A 1984-06-28 1984-06-28 Processor of tagged data Pending JPS6113345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59133766A JPS6113345A (en) 1984-06-28 1984-06-28 Processor of tagged data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59133766A JPS6113345A (en) 1984-06-28 1984-06-28 Processor of tagged data

Publications (1)

Publication Number Publication Date
JPS6113345A true JPS6113345A (en) 1986-01-21

Family

ID=15112457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59133766A Pending JPS6113345A (en) 1984-06-28 1984-06-28 Processor of tagged data

Country Status (1)

Country Link
JP (1) JPS6113345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000008553A1 (en) * 1998-07-31 2000-02-17 Siemens Aktiengesellschaft Circuit and method for converting data in a processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000008553A1 (en) * 1998-07-31 2000-02-17 Siemens Aktiengesellschaft Circuit and method for converting data in a processor

Similar Documents

Publication Publication Date Title
US4825355A (en) Instruction format for program control type data processing systems
KR930018378A (en) Method and device for performance optimization of cache memory system
US4539635A (en) Pipelined digital processor arranged for conditional operation
GB1426748A (en) Small micro-programme data processing system employing multi- syllable micro instructions
GB1528332A (en) Central processing unit employing microprogrammable control in a data processing system
JPH0248931B2 (en)
JP3237858B2 (en) Arithmetic unit
US4631672A (en) Arithmetic control apparatus for a pipeline processing system
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
JPH034936B2 (en)
JPS6113345A (en) Processor of tagged data
JPS59114677A (en) Vector processor
JPH0527142B2 (en)
JP2557629B2 (en) Interrupt method
JPH0831033B2 (en) Data processing device
JPS61223964A (en) Data transfer device
JP2629359B2 (en) Logic simulator
JP2583614B2 (en) Vector arithmetic unit
SU1161943A1 (en) Microcommand memory control unit
JPH0644066A (en) Information processor
JPH0128966B2 (en)
JPS63223833A (en) Arithmetic unit
JPS59223846A (en) Arithmetic processor
JPS6379136A (en) Microprogram controller
JPH01161436A (en) Arithmetic processor