JPS6210733A - Adding control system - Google Patents

Adding control system

Info

Publication number
JPS6210733A
JPS6210733A JP15112785A JP15112785A JPS6210733A JP S6210733 A JPS6210733 A JP S6210733A JP 15112785 A JP15112785 A JP 15112785A JP 15112785 A JP15112785 A JP 15112785A JP S6210733 A JPS6210733 A JP S6210733A
Authority
JP
Japan
Prior art keywords
data
circuit
sbr
conversion
adder
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
JP15112785A
Other languages
Japanese (ja)
Inventor
Takemasa Sakamoto
坂本 武優
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 JP15112785A priority Critical patent/JPS6210733A/en
Publication of JPS6210733A publication Critical patent/JPS6210733A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute a simultaneous processing with a simple constitution and to execute the high speed of the processing by providing a selecting circuit which selects the output of both adders with the first and second converting circuits. CONSTITUTION:The output of adders 1 and 2 are inputted to a multiplexing circuit 3 which operates as a selecting circuit, and the connecting selecting signals S1 and S2 of the multiplexing circuit 3 are outputted from a prefixing converting part 4 which operates as the first converting circuit and an SBR converting part 5 which operates as the second converting circuit respectively. The prefixing converting part 4, when the actual addresses are all 0, selects the output of an adder 1, and when the actual address exists in another conditions, so as to select the adding result of the base value and the actual address, namely, the output of an adder 2, the multiplexor circuit 3 is controlled. In the same way as the SBR converting part 5, when the address is an SBR value, 0 is selected, when 1-19 bits of data (b) are all 0, the SBR value is selected, and when the data (b) are excluded, the data (b) are selected. Only either of the prefixing conversion and SBR conversion is exclusively executed. Thus, with a very simple circuit constitution, the adding precessing is executed at a high speed.

Description

【発明の詳細な説明】 〔概要〕 加算制御方式であって、少なくとも2個のデータをそれ
ぞれ別に、第2の入力と加算する加算器と、加算結果を
選択する選択回路を設けて、加算前後の変換と加算とを
一度に行うことにより、演算処理の高速化を可能とする
[Detailed Description of the Invention] [Summary] This is an addition control method, which includes an adder that adds at least two pieces of data separately to a second input, and a selection circuit that selects the addition result. By performing the conversion and addition at the same time, it is possible to speed up the calculation process.

〔産業上の利用分野〕[Industrial application field]

本発明は、入力に変換を加えて第2の入力との加算を行
い、加算結果に第2の変換を行う演算制御方式に関する
ものである。
The present invention relates to an arithmetic control method that performs conversion on an input, performs addition with a second input, and performs a second conversion on the addition result.

情報処理等の分野で広く加算回路が用いられている。一
方情報処理の処理速度は、高速性が要求されており、加
算処理を高速に行うことが必要である。特に、入力に成
る変換を加えて第2の入力と加算を行い、更にその結果
に第2の変換を行う場合のような加算処理の場合の高速
性に対処できる加算制御方式が要望されている。
Addition circuits are widely used in fields such as information processing. On the other hand, the processing speed of information processing is required to be high, and it is necessary to perform addition processing at high speed. In particular, there is a need for an addition control method that can handle high-speed addition processing, such as when adding a transformation to an input, adding it to a second input, and then performing a second transformation on the result. .

〔従来の技術〕[Conventional technology]

複数のデータで構成さ°れた入力データAがデータの状
態によって変換されて、入力データBと加算され、この
加算結果に第2の変換を行うような加算処理がある。
There is an addition process in which input data A, which is composed of a plurality of pieces of data, is converted depending on the state of the data, added to input data B, and a second conversion is performed on the addition result.

従来、上記したような加算処理をする場合には、第2図
に示す回路が用いられている。即ち、少なくとも2個の
データa、bで構成された入力データAは、変換回路4
に入力されて、所要の変換が行われ、加算器6に入力さ
れる。加算器6に更に入力データBが入力される。加算
器6は、変換回路4の出力と入力データBの加算を行い
、第2の変換回路5で変換が行われて、演算処理が終了
する。
Conventionally, when performing addition processing as described above, a circuit shown in FIG. 2 has been used. That is, input data A composed of at least two pieces of data a and b is input to the conversion circuit 4.
The signal is input to the adder 6, subjected to necessary conversion, and then input to the adder 6. Input data B is further input to the adder 6. The adder 6 adds the output of the conversion circuit 4 and the input data B, and the second conversion circuit 5 performs the conversion, and the arithmetic processing ends.

従来の上記した方法は、変換器4による変換、加算器5
による加算、変換器5による変換と、順次ステップを要
し、処理に時間がかかる。
The conventional method described above includes conversion by converter 4, adder 5
The addition by the converter 5 and the conversion by the converter 5 require sequential steps, and the processing takes time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の方式では、変換、加算、変換を順次行つているた
めに、処理の短縮が困難であった。
In the conventional method, conversion, addition, and conversion are performed sequentially, making it difficult to shorten the processing time.

本発明はこのような点にかんがみて創作されたもので、
簡易な構成で同時処理が行え、処理の高速化の図れる加
算制御方式を提供することを目的としている。
The present invention was created in view of these points.
The purpose of this invention is to provide an addition control method that can perform simultaneous processing with a simple configuration and can speed up processing.

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

第1の入力データAのデータaと第2の入力データBと
の加算、第1の入力データAのデータbと第2の入力デ
ータBとの加算を行う加算器をそれぞれ設け、第1.第
2の変換回路によって両加算器の出力を選択する選択回
路とを設けた構成とされている。
Adders are provided for adding data a of first input data A and second input data B, and adding data b of first input data A and second input data B, respectively. The configuration includes a selection circuit that selects the outputs of both adders using a second conversion circuit.

〔作用〕[Effect]

両加算器と第1.第2変換回路とを同時に作動すること
によって加算処理の高速化を図る。
Both adders and the first. By operating the second conversion circuit simultaneously, the speed of addition processing is increased.

〔実施例〕〔Example〕

第1図は本発明の一実施例であって、説明を分り易くす
るために、プリフィクス変換を例に取って説明をする。
FIG. 1 shows an embodiment of the present invention, and to make the explanation easier to understand, the explanation will be given using prefix conversion as an example.

複数のCPU (又は仮想計算機)が主記憶装置を共用
するとき、各CP[I (又は仮想計算機)の固定領域
は固有の領域として設けである。従って、主記憶上のア
ドレスである絶対アドレスは各CPU (又は仮想計算
機)ごとに別々のアドレスにされる。
When multiple CPUs (or virtual machines) share a main storage device, a fixed area of each CP[I (or virtual machine) is provided as a unique area. Therefore, the absolute address, which is the address on the main memory, is set to a different address for each CPU (or virtual machine).

この実アドレスを絶対アドレスに変換するのがプリフィ
クス変換である。
Prefix conversion converts this real address into an absolute address.

又それら複数のCPU (又は仮想計算機)を制御する
制御プログラム(又はハイパバイザー)には、各CPU
 (又は仮想計算機)からは見えない特別な領域が割当
てられ、制御プログラム(又はハイパバイザー)のため
の特別なアドレス変換をSBR変換という。
In addition, the control program (or hypervisor) that controls these multiple CPUs (or virtual machines) includes a
A special area that is invisible to the control program (or hypervisor) is allocated and special address translation for the control program (or hypervisor) is called SBR translation.

第1図を用いて説明を行う。入力データAはデータaと
データbとで構成され、例えば、データaは、ブリフィ
ックス・レジスタ7に格納されているプリフィクス値(
以後PRFXと記す)である。
This will be explained using FIG. Input data A is composed of data a and data b. For example, data a has a prefix value (
(hereinafter referred to as PRFX).

データbは、アドレス・レジスタ8に格納されている実
アドレスである。
Data b is the real address stored in address register 8.

又入力データBは、ベース・レジスタ9に格納されたベ
ース値である。入力データCは、レジスタ10に格納さ
れたシステムベース・レジスタ(SBR)値である。
Input data B is the base value stored in the base register 9. Input data C is a system base register (SBR) value stored in register 10.

PRFXは、プリフィクス・レジスタ7の1〜19ビツ
トの19ビツトである。PRFX (データa)とベー
ス値(データB)は、加算器1に入力される。実アドレ
ス(データb)とベース値(データB)は、加算器2に
入力されている。
PRFX is 19 bits from bits 1 to 19 of prefix register 7. PRFX (data a) and the base value (data B) are input to an adder 1. The real address (data b) and base value (data B) are input to the adder 2.

加算器1.2の出力は、選択回路として動作するマルチ
プレックス回路3に入力される。このマルチプレックス
回路3の接続選択信号St、S2はそれぞれ第1の変換
回路として動作するプリフィクス変換部4と第2の変換
回路として動作するSBR変換部5から出力される。
The output of adder 1.2 is input to multiplex circuit 3, which operates as a selection circuit. The connection selection signals St and S2 of the multiplex circuit 3 are output from the prefix converter 4 operating as a first converter circuit and the SBR converter 5 operating as a second converter circuit, respectively.

プリフィクス変換部4は、各CPU (又は仮想計算機
)の動作モードを示す制御信号S3にて作動し、SBR
変換部5は制御プログラム(又はハイパバイザー)の動
作モードを示す制御信号S4にて作動する。
The prefix converter 4 operates in response to a control signal S3 indicating the operation mode of each CPU (or virtual machine), and converts the SBR
The converter 5 operates in response to a control signal S4 indicating the operating mode of the control program (or hypervisor).

プリフィクス変換部4は、PRFX (データa)と実
アドレス(データB)とが入力され、PRFXO値がゼ
ロでなく、且つ実アドレスの1〜19ビツトと等しいと
き、ベース値(データB)を選択するようにマルチプレ
クサ回路3を制御する。
The prefix conversion unit 4 selects the base value (data B) when PRFX (data a) and real address (data B) are input and the PRFXO value is not zero and equal to bits 1 to 19 of the real address. The multiplexer circuit 3 is controlled so as to.

又、プリフィクス変換部4は、実アドレス(データbの
1〜19ビツト)が全て「0」であると、加算器1の出
力を選択し、上記した以外の状態に実アドレスがあると
、ベース値(データB)と実アドレス(データb)との
加算結果、即ち加算器2の出力を選択するようマルチプ
レクサ回路3を制御する。
Furthermore, the prefix converter 4 selects the output of the adder 1 when the real address (bits 1 to 19 of data b) are all "0", and selects the output of the adder 1 when the real address is in a state other than the above. The multiplexer circuit 3 is controlled to select the result of addition of the value (data B) and the real address (data b), that is, the output of the adder 2.

SBR変換部5も同じく、データbとデータCが等しく
、即ちアドレスがSBR値であると、rOJが選択され
、データbの1〜19ビツトが全て「0」であると、デ
ータC即ち、SBR値が選択され、データbが以外の場
合にデータbを選択する。
Similarly, in the SBR conversion unit 5, when data b and data C are equal, that is, when the address is an SBR value, rOJ is selected, and when all 1 to 19 bits of data b are "0", data C, that is, SBR If a value is selected and data b is other than, data b is selected.

尚、プリフィクス変換とSBR変換とは排他的に、一方
のみが実行される。
Note that only one of the prefix conversion and SBR conversion is executed exclusively.

従って従来、第1変換、加算、第2変換と3ステツプに
て処理を行っていたのが、第1.第2変換および加算を
同時に行い、選択すると云う2ステツプにて処理が完了
することとなる。
Therefore, conventionally, processing was performed in three steps: first conversion, addition, and second conversion. The process is completed in two steps: second conversion and addition are performed simultaneously, and selection is made.

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

以上述べてきたように、本発明によれば、極め−て簡易
な回路構成で、加算処理が高速に行え、実用上極めて有
効である。
As described above, according to the present invention, addition processing can be performed at high speed with an extremely simple circuit configuration, and is extremely effective in practice.

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

第1図は本発明の一実施例のブロック図、第2図は従来
の加算制御方式のブロック図である。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional addition control system.

Claims (1)

【特許請求の範囲】 少なくとも2個のデータ(a、b)からなる第1の入力
(A)に第1の変換を行い、該変換値と第2の入力(B
)との加算を行って第2の変換を行う加算回路において
、 前記データ(a)と第2の入力(B)との加算を行う加
算器(1)と、 前記データ(b)と第2の入力(B)との加算を行う加
算器(2)と、 前記第1、2の変換によって、前記両加算器(1)、(
2)の出力を選択する選択回路(3)とを備え、前記両
加算と第1、第2の変換とを一度に行うようにしたこと
を特徴とする加算制御方式。
[Claims] A first transformation is performed on a first input (A) consisting of at least two pieces of data (a, b), and the transformed value and the second input (B) are
), an adder (1) that performs addition of the data (a) and the second input (B), and an adder (1) that performs the addition of the data (b) and the second input (B); an adder (2) that performs addition with the input (B) of the adder (1), (
2) A selection circuit (3) for selecting the output of step 2), and performing both additions and the first and second conversions at the same time.
JP15112785A 1985-07-08 1985-07-08 Adding control system Pending JPS6210733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15112785A JPS6210733A (en) 1985-07-08 1985-07-08 Adding control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15112785A JPS6210733A (en) 1985-07-08 1985-07-08 Adding control system

Publications (1)

Publication Number Publication Date
JPS6210733A true JPS6210733A (en) 1987-01-19

Family

ID=15511951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15112785A Pending JPS6210733A (en) 1985-07-08 1985-07-08 Adding control system

Country Status (1)

Country Link
JP (1) JPS6210733A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03123828U (en) * 1990-03-30 1991-12-16

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03123828U (en) * 1990-03-30 1991-12-16

Similar Documents

Publication Publication Date Title
JPH0353652B2 (en)
KR900002577B1 (en) Test pattern generator
US3997771A (en) Apparatus and method for performing an arithmetic operation and multibit shift
JP2748503B2 (en) Digital signal processor
JPH04245324A (en) Arithmetic unit
JPS6210733A (en) Adding control system
JPS61255433A (en) Arithmetic unit
JPS6398737A (en) Data processor
JPS6260755B2 (en)
JPS58201138A (en) Digital signal processing circuit
JPS6279519A (en) General-use register reading method
JPS60129856A (en) Memory control circuit
KR19990031097A (en) 64-bit arithmetic operators that perform arithmetic on group data
JPH0148582B2 (en)
JP2588042B2 (en) Data processing circuit
JPS63198144A (en) Direct memory access control system in multi-port memory
JPH0364886B2 (en)
JPS61177539A (en) Microprocessor
JPH0468459A (en) Digital signal processor
JPS59133670A (en) Digital operating device
JPS60147836A (en) Arithmetic processor
JPS6272043A (en) Address system of virtual computer
JPS61253538A (en) Arithmetic circuit
JPS62145469A (en) Vector instruction processor
JPH04138582A (en) Single instruction type parallel computer