JPH0414133A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPH0414133A
JPH0414133A JP2118409A JP11840990A JPH0414133A JP H0414133 A JPH0414133 A JP H0414133A JP 2118409 A JP2118409 A JP 2118409A JP 11840990 A JP11840990 A JP 11840990A JP H0414133 A JPH0414133 A JP H0414133A
Authority
JP
Japan
Prior art keywords
arithmetic
cell
bit
carry
control information
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
JP2118409A
Other languages
Japanese (ja)
Inventor
Katsuhiko Yamada
山田 雄彦
Ichiro Fukuda
一郎 福田
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 JP2118409A priority Critical patent/JPH0414133A/en
Publication of JPH0414133A publication Critical patent/JPH0414133A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the processing speed of an arithmetic unit by giving the control information of different kinds to each arithmetic cell and actuating these cells in parallel with each other to plural bit fields stored in a single word length. CONSTITUTION:A cell control information storage means 2 stores the different m-bit control information (m X n) which control (n) pieces of arithmetic cells 1. Each cell 1 consists of a carry selection part 3 and an arithmetic part 4. The part 3 receives an m-bit control signal selects one of the carry output and logic 0 or 1 of a slave arithmetic cell 1 as a carry input. Thus a connection range of bit fields can be changed according to a fact whether the carry output of the slave arithmetic cell 1 should be selected or not. In such a way, the cell 1 can perform different actions for each bit when different kinds of control information are given to the cell 1. As a result, plural bit fields can be processed in parallel with each other and the processing speed of an arithmetic unit is increased.

Description

【発明の詳細な説明】 [概要] 演算装置に係り、詳しくはビットフィールド処理を中心
とする演算装置に関し、 ■ワード長に納められた複数のビットフィールドに対し
て演算セルを並列に動作させて処理することができ、処
理の高速化を図ることができる演算装置を提供すること
を目的とし、 制御情報に基づいてデータの割り当てられた各ビットの
演算処理を行う複数の演算セルと、前記各演算セルをそ
れぞれ制御する複数の異なる制御情報を記憶するセル制
御情報記憶手段とにより構成された演算装置であって、
前記各演算セルは制御情報に基づいて下位演算セルのキ
ャリー出力、論理零又は論理壱の中から1つをキャリー
入力として選択するキャリー選択部と、同じく制御情報
に従い前記キャリー選択部にて選択されたキャリー入力
と2つのデータビットとの間における論理演算又は加減
算を行い、その演算結果及びキャリーを出力する演算部
とを設けた。
[Detailed Description of the Invention] [Summary] This invention relates to an arithmetic device, and more specifically to an arithmetic device that mainly processes bit fields. The purpose of the present invention is to provide an arithmetic device that can perform processing and speed up the processing, and includes a plurality of arithmetic cells that perform arithmetic processing on each bit assigned to data based on control information, and each of the above-mentioned arithmetic cells. An arithmetic device comprising cell control information storage means for storing a plurality of different pieces of control information for controlling respective arithmetic cells,
Each of the arithmetic cells has a carry selector that selects one of the carry output, logical zero, or logical one of the lower arithmetic cell as a carry input based on control information; The present invention includes an arithmetic unit that performs a logical operation or addition/subtraction between a carry input and two data bits, and outputs the result of the operation and the carry.

又、ビット幅の検出範囲を記憶するビット分割情報記憶
手段と、前記各演算セルより出力されるビット毎の演算
結果及びキャリーと、前記ビット分割情報記憶手段の分
割情報に基づいて各検出範囲におけるフラグの検出を行
うフラグ検出回路とを設けた。
Further, a bit division information storage means for storing a bit width detection range, a calculation result and carry for each bit outputted from each arithmetic cell, and information in each detection range based on the division information of the bit division information storage means. A flag detection circuit for detecting flags is provided.

[産業上の利用分野コ 本発明は演算装置に係り、詳しくはビットフィールド処
理を中心とする演算装置に関するものである。
[Industrial Field of Application] The present invention relates to an arithmetic device, and more particularly, to an arithmetic device that mainly performs bit field processing.

近年の計算機で取り扱うワードピット幅の増大及びシミ
ュレーション業務の増大に伴い、高速にビットフィール
ドが処理できる演算装置が要求されている。
BACKGROUND OF THE INVENTION With the increase in the word pit width handled by computers in recent years and the increase in simulation work, there is a demand for arithmetic devices that can process bit fields at high speed.

口従来の技術〕 従来の演算装置において、第8図[a)に示すようにワ
ード長がnビット(例えば32ビツト)のデータD中に
、例えば12番目〜16番目の5ビット幅よりなる一連
のビットフィールドBFがある場合、このビットフィー
ルドBFの処理は、まず、第8図(b)に示すようにビ
ットフィールドBFを切り出し、1番目〜11番目及び
17番目〜n番目までのビットを0にした後、算術論理
演算装置(Arithmatic Logic Uni
t )の各演算セルに対して全て同一の制御情報を与え
て第8図(b)に示すようにnビット全体にわたって論
理演算又は加減算等を行わせ、この後、第8図(a)に
示すデータD中にそのビットフィールドBFを挿入する
という処理群によって実行されてきた。
BACKGROUND ART In a conventional arithmetic device, as shown in FIG. When there is a bit field BF, the processing of this bit field BF is to first cut out the bit field BF as shown in FIG. After that, the arithmetic logic unit (Arithmatic Logic Uni
The same control information is given to each arithmetic cell in t) to perform logical operations or addition/subtraction over the entire n bits as shown in FIG. 8(b), and then as shown in FIG. 8(a). This has been executed by a processing group that inserts the bit field BF into the data D shown.

[発明が解決しようとする課題] しかしながら、これらの処理群は実行に時間がかかり、
特にシミュレータ処理等では、ワード長の中に複数のビ
ットフィールドを格納したようなデータ構造の多数のワ
ードを処理することとなるため、その実行時間の累積は
膨大なものとなり、処理の高速化を妨げる要因となって
いた。
[Problem to be solved by the invention] However, these processing groups take time to execute;
In particular, in simulator processing, etc., a large number of words with a data structure such as multiple bit fields stored in a word length are processed, and the cumulative execution time becomes enormous. This was a hindering factor.

本発明は上記問題点を解決するためになされたものであ
って、■ワード長に納められた複数のビットフィールド
に対して演算セルを並列に動作させて処理することがで
き、処理の高速化を図ることができる演算装置を提供す
ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and has the following features: 1) Processing can be performed by operating arithmetic cells in parallel on multiple bit fields stored in a word length, resulting in faster processing; An object of the present invention is to provide an arithmetic device that can perform the following functions.

[課題を解決するための手段] 第1図は第1発明を含んだ第2発明の原理説明図である
[Means for Solving the Problems] FIG. 1 is a diagram illustrating the principle of a second invention including the first invention.

複数の演算セル1は制御情報に基づいてデータの割り当
てられた各ビットの演算処理を行うものである。セル制
御情報記憶手段2は各演算セル1をそれぞれ制御する複
数の異なる制御情報を記憶するものであり、例えば、n
個の演算セル1のそれぞれに対して各mビットの制御情
報を、mxnの記憶として蓄える。
The plurality of arithmetic cells 1 perform arithmetic processing on each bit to which data is assigned based on control information. The cell control information storage means 2 stores a plurality of different control information for controlling each calculation cell 1, for example, n
Each m-bit control information for each of the arithmetic cells 1 is stored as mxn memories.

そして、各演算セル■はキャリー選択部3と演算部4と
からなり、キャリー選択部3は例えば、mビットの制御
信号を受け、下位演算セル1のキャリー出力、論理零又
は論理壱の中の1つをキャリー入力として選択するもの
である。同じく演算部4はmビットの制御信号を受け、
キャリー選択部3にて選択されたキャリー入力と2つの
データビットとの間における論理演算又は加減算を行い
、その演算結果及びキャリーを出力するものである。
Each arithmetic cell (3) consists of a carry selection section 3 and an arithmetic section 4, and the carry selection section 3 receives, for example, an m-bit control signal, and selects the carry output of the lower arithmetic cell 1, a logic zero, or a logic one. One is selected as the carry input. Similarly, the calculation unit 4 receives an m-bit control signal,
It performs a logical operation or addition/subtraction between the carry input selected by the carry selector 3 and two data bits, and outputs the result of the operation and the carry.

そして、各演算セル1の処理が加減算である場合に、下
位演算セルのキャリーを選択すると一連のビットフィー
ルドとして動作することになる。
Then, when the processing of each arithmetic cell 1 is addition and subtraction, if the carry of the lower arithmetic cell is selected, it will operate as a series of bit fields.

又、ビット分割情報記憶手段5はワード中のビット幅の
検出範囲を記憶しているものである。フラグ検出回路6
は各演算セルlより出力されるビット毎の演算結果及び
キャリーと、ビット分割情報記憶手段5の分割情報に基
づいて各検出範囲におけるフラグの検出を行うものであ
る。
Further, the bit division information storage means 5 stores the detection range of the bit width in a word. Flag detection circuit 6
Detects flags in each detection range based on the bit-by-bit operation result and carry output from each operation cell 1 and the division information in the bit division information storage means 5.

[作用] 各演算セル1のそれぞれに対して異なる制御情報を与え
るようにしているので、各演算セル1ではビット毎に異
なる動作が可能、即ち、複数のビットフィールド処理が
並行して実行できるようになる。又、キャリー選択部3
により制御情報に基づいて下位演算セル1のキャリー出
力、論理零又は論理壱の中の1つがキャリー入力として
選択されるので、下位演算セル1のキャリー出力を選択
するか否かでビットフィールドの連結範囲を変化させる
ことができる。
[Function] Since different control information is given to each calculation cell 1, each calculation cell 1 can perform different operations for each bit. In other words, multiple bit field processes can be executed in parallel. become. Also, carry selection section 3
Since one of the carry output, logic zero, or logic one of lower arithmetic cell 1 is selected as the carry input based on the control information, bit field concatenation is determined by whether or not the carry output of lower arithmetic cell 1 is selected. The range can be changed.

又、フラグ検出回路6は、各演算セル1より出力される
ビット毎の演算結果及びキャリーと、ビット分割情報記
憶手段5の分割情報に基づいて各検出範囲におけるフラ
グの検出を行うようにしているので、数値のビットフィ
ールドにおけるフラグ検出が容易となる。
Further, the flag detection circuit 6 detects the flag in each detection range based on the bit-by-bit operation result and carry output from each calculation cell 1 and the division information in the bit division information storage means 5. Therefore, flag detection in numerical bit fields becomes easy.

[実施例] 以下、本発明を具体化した一実施例を第2〜7図に従っ
て説明する。
[Example] An example embodying the present invention will be described below with reference to FIGS. 2 to 7.

尚、第1図で示したものと同一のものは同じ符号を付し
て説明を一部省略する。
Components that are the same as those shown in FIG. 1 are given the same reference numerals, and a portion of the explanation will be omitted.

第2図は本発明を演算処理プロセッサ10、例えばマイ
クロプロセッサに具体化した一実施例を示す。同プロセ
ッサ10は第1及び第2のメモリ11.12を備え、第
1のメモリ11には外部より制御情報信号及びビット分
割情報信号が入力されている。同メモリ11にはALU
 (演算)セル制御情報記憶部2及びビット分割情報記
憶部5が接続されており、制御回路13による転送制御
によりALUセル制御情報記憶部2に対して制御情報信
号が転送され、ビット分割情報記憶部5に対してビット
分割情報信号が転送される。前記第2のメモリ12には
外部より論理演算及び加減算等で用いられるデータが記
憶されていて、同メモリI2のデータは前記制御回路1
3による転送制御により、第3図に示すように各ALU
セルIに対しデータXi、Yiの1ビツトずつが転送さ
れる。
FIG. 2 shows an embodiment in which the present invention is embodied in an arithmetic processing processor 10, such as a microprocessor. The processor 10 includes first and second memories 11 and 12, and the first memory 11 receives a control information signal and a bit division information signal from the outside. The same memory 11 has an ALU
(Operation) The cell control information storage section 2 and the bit division information storage section 5 are connected, and the control information signal is transferred to the ALU cell control information storage section 2 under transfer control by the control circuit 13, and the bit division information storage section 5 is connected to the cell control information storage section 2. The bit division information signal is transferred to section 5. The second memory 12 stores data used in logical operations, addition and subtraction, etc. from the outside, and the data in the memory I2 is stored in the control circuit 1.
As shown in Fig. 3, each ALU
One bit each of data Xi and Yi is transferred to cell I.

第3図に示すように、ALUセル制御情報記憶部2はm
xn個のメモリセルを備えて構成されており、n個のA
LUセル1に対してそれぞれmビット(本実施例では7
ビツト)の制御情報信号C6〜COを与えるようになっ
ている。例えば、第3図に示すように、ビット「0」に
は第5図の動作説明図から分かるように、XandYが
、ビットrlJにはnot(Y)が、ビット「2J〜r
n−IJにはX−Yの処理を示す制御情報信号が入力さ
れている。
As shown in FIG. 3, the ALU cell control information storage section 2 has m
It is configured with xn memory cells, and n A
m bits for each LU cell 1 (7 in this example)
Control information signals C6 to CO of bits) are provided. For example, as shown in FIG. 3, bit "0" has XandY, bit rlJ has not(Y), and bits "2J~r
A control information signal indicating X-Y processing is input to n-IJ.

第4図は前記ALUセル1の構成を示す論理回路図であ
る。第4図について説明すると、データXi、Yiと制
御情報信号Co−C5のいずれか1つを入力とする3入
力AND回路20〜23と、OR回路24とで論理生成
部25が構成されている。
FIG. 4 is a logic circuit diagram showing the configuration of the ALU cell 1. As shown in FIG. To explain FIG. 4, a logic generation section 25 is constituted by three-input AND circuits 20 to 23 which input any one of data Xi, Yi and control information signal Co-C5, and an OR circuit 24. .

又、制御情報信号C5,C4を入力するAND回路26
、制御情報信号C5,C4及び下位ALUセルからのキ
ャリーCinを入力とするAND回路27及びOR回路
28とでキャリー選択部3か構成されている。同キャリ
ー選択部3はキャリーCin、論理零又は論理壱の中の
1つをキャリー入力として選択するようになっている。
Also, an AND circuit 26 inputting the control information signals C5 and C4.
, control information signals C5 and C4, and an AND circuit 27 and an OR circuit 28 which receive the carry Cin from the lower ALU cell as inputs. The carry selection section 3 selects one of carry Cin, logic zero, or logic one as a carry input.

例えば、制御情報信号C5,C4がrl」、r(Nの場
合に論理零をキャリー入力として選択し、制御情報信号
C5,C,4がrl」、rl」の場合に論理壱をキャリ
ー入力として選択する。又、制御情報信号C5,C4が
rob、  rlJの場合にキャリーCinをキャリー
入力として選択する。そして、キャリーCin、即ち、
下位演算セルlのキャリー出力をキャリー入力として選
択するが否かでビットフィールドの連結範囲を変化させ
ることができる。
For example, if the control information signals C5, C4 are rl'', r(N, logical zero is selected as the carry input, and if the control information signals C5, C, C4 are rl'', rl'', logical one is selected as the carry input. Also, when the control information signals C5 and C4 are rob and rlJ, carry Cin is selected as the carry input.Then, carry Cin, that is,
The concatenated range of bit fields can be changed depending on whether or not the carry output of the lower arithmetic cell l is selected as the carry input.

又、キャリー選択部3の出力とデータYiを入力とする
AND回路30、キャリー選択部3の出力と制御情報信
号C5及びデータXiを入力とするEx(エクスクル−
シブ)OR回路34の出力を入力とするAND回路3L
 ExOR回路34の出力とデータYiを入力とするA
ND回路32、及びOR回路33によりキャリー生成部
29が構成され、生成されたキャリーCoは上位ALU
セルl及び前記フラグ検出回路6に出力されている。
Further, an AND circuit 30 receives the output of the carry selection section 3 and data Yi, and an Ex circuit receives the output of the carry selection section 3, the control information signal C5, and the data Xi as inputs.
AND circuit 3L which inputs the output of OR circuit 34
A whose inputs are the output of the ExOR circuit 34 and data Yi
A carry generation section 29 is configured by the ND circuit 32 and the OR circuit 33, and the generated carry Co is sent to the upper ALU.
It is output to cell l and the flag detection circuit 6.

さらに、前記論理生成部25及び前記キャリー選択部3
の出力信号を2つの入力とするExOR35により演算
結果が生成され、前記フラグ検出回路6に出力されてい
る。
Furthermore, the logic generation section 25 and the carry selection section 3
An arithmetic result is generated by the ExOR 35 which receives two output signals as inputs, and is outputted to the flag detection circuit 6.

前記ビット分割情報記憶部5はワードのビット数分の記
憶領域を備えて構成されており、第6図にワード長を4
ビツトとした場合のビット分割情報記憶部5を示す。こ
のビット分割情報記憶部5にはワード中のビット幅の検
出範囲、即ち、ビットフィールド範囲を「1」を書き込
むことにより指示するようになっている。
The bit division information storage section 5 is configured with a storage area for the number of bits of a word, and the word length is 4 as shown in FIG.
The bit division information storage unit 5 in the case of bits is shown. The detection range of the bit width in a word, ie, the bit field range, is designated by writing "1" into the bit division information storage section 5.

第7図にフラグ検出回路6の詳細を示す。このフラグ検
出回路6は前記ビット分割情報記憶部5と同様にワード
長を4ビツトとした場合のものである。4つの先行壱検
出セル36は分割情報バスB1の4本の信号線に対して
それぞれ接続され、各先行壱検出セル36は前記対応す
る信号線の信号をそれぞれ一方の入力とするAND回路
37とOR回路38とで構成されている。最上位(第7
図において左端)の先行壱検出セル36のAND回路3
7とOR回路38の他方の入力端子には「0」が入力さ
れ、OR回路38の出力が順次下位の先行壱検出セルに
入力されている。
FIG. 7 shows details of the flag detection circuit 6. This flag detection circuit 6 has a word length of 4 bits, similar to the bit division information storage section 5. The four preceding first detection cells 36 are respectively connected to the four signal lines of the divided information bus B1, and each preceding first detection cell 36 is connected to an AND circuit 37 whose one input is the signal of the corresponding signal line. It is composed of an OR circuit 38. Top (7th
AND circuit 3 of the preceding detection cell 36 (left end in the figure)
7 and the other input terminal of the OR circuit 38, "0" is inputted, and the output of the OR circuit 38 is sequentially inputted to the lower preceding one detection cell.

符号フラグ検出部39は4つのAND回路40A〜40
Dと、これらの出力信号を入力とするOR回路41とで
構成され、各AND回路40A〜40Dは先行壱情報バ
スB4の対応する信号線の信号を一方の入力とし、前記
各ALUセル1から延びるデータ情報バスB2の対応す
る信号線の信号を他方の入力としている。
The code flag detection section 39 includes four AND circuits 40A to 40.
D, and an OR circuit 41 which receives these output signals as input, and each AND circuit 40A to 40D receives a signal from the corresponding signal line of the first information bus B4 as one input, and outputs signals from each ALU cell 1. The signal on the corresponding signal line of the extending data information bus B2 is used as the other input.

キャリーフラグ検出部42は4つのAND回路43A〜
43Dと、これらの出力信号を入力とするOR回路44
とで構成され、各AND回路43A〜43Dは先行壱情
報バスB4の対応する信号線の信号を一方の入力とし、
前記各ALUセル1がら延びるキャリー情報バスB3の
対応する信号線の信号を他方の入力としている。
The carry flag detection section 42 includes four AND circuits 43A~
43D and an OR circuit 44 which receives these output signals as inputs.
Each of the AND circuits 43A to 43D receives the signal of the corresponding signal line of the first preceding information bus B4 as one input, and
The signal on the corresponding signal line of the carry information bus B3 extending from each ALU cell 1 is used as the other input.

さらに、零フラグ検出部45は4つのAND回路46A
〜46Dと、これらの出力信号を入力とするNOR回路
47とで構成され、各AND回路46A〜46Dは前記
分割情報バスBlの対応する信号線の信号を一方の入力
とし、前記データ情報バスB2の対応する信号線の信号
を他方の入力としている。
Furthermore, the zero flag detection section 45 includes four AND circuits 46A.
-46D, and a NOR circuit 47 which receives these output signals as input, and each AND circuit 46A-46D receives the signal of the corresponding signal line of the divided information bus Bl as one input, and connects the data information bus B2. The signal on the corresponding signal line is used as the other input.

従って、例えば、分割情報が第6図に示すように「01
11」であると、先行壱検出情報は「0100」となる
。又、データ情報を「1Ooo」、キャリー情報をro
 110Jとすると、符号フラグ検出部39からの出力
は「0」、キャリーフラグ検出部42からの出力は「l
」、そして、零フラグ検出部45からの出力は「1」と
なる。
Therefore, for example, if the division information is "01" as shown in FIG.
11", the preceding one detection information becomes "0100". Also, the data information is "1Ooo" and the carry information is ro.
110J, the output from the code flag detection section 39 is "0" and the output from the carry flag detection section 42 is "l".
”, and the output from the zero flag detection unit 45 becomes “1”.

このように、本実施例ではALUセル制御情報記憶部2
はmxn個のメモリセルを備えて構成し、n個のALU
セルlに対してそれぞれmビットの制御情報信号C6〜
COを与え、各演算セル1のそれぞれに対して異なる制
御情報を与えるようにしているので、従来のようなビッ
トフィールドに対する切出し操作をなくして各ALUセ
ル1でビット毎に異なる動作が可能、即ち、複数のビッ
トフィールド処理を並行して実行できる。従って、シミ
ュレーション用の計算機等の性能向上を図ることができ
る。
In this way, in this embodiment, the ALU cell control information storage unit 2
is configured with mxn memory cells and n ALUs.
Control information signal C6~ of m bits each for cell l
Since the CO is given and different control information is given to each arithmetic cell 1, the conventional extraction operation for bit fields is eliminated, and each ALU cell 1 can perform different operations for each bit. , multiple bitfield operations can be performed in parallel. Therefore, it is possible to improve the performance of a simulation computer, etc.

又、キャリー選択部3により制御情報に基づいて下位演
算セルlのキャリー出力、論理零又は論理壱の中の1つ
をキャリー入力として選択できるので、下位演算セルl
のキャリー出力を選択するか否かでビットフィールドの
連結範囲を変化させることができる。
Furthermore, the carry selector 3 can select one of the carry output, logic zero, or logic one of the lower arithmetic cell l as the carry input based on the control information, so that the lower arithmetic cell l
The concatenation range of bit fields can be changed depending on whether carry output is selected or not.

さらに、フラグ検出回路6は、各ALUセル1より出力
されるビット毎の演算結果及びキャリーと、ビット分割
情報記憶手段5の分割情報に基づいて各検出範囲におけ
るフラグの検出を行うようにしているので、数値のビッ
トフィールドにおけるフラグ検出を容易に行うことがで
きる。
Further, the flag detection circuit 6 detects the flag in each detection range based on the operation result and carry for each bit output from each ALU cell 1 and the division information in the bit division information storage means 5. Therefore, flag detection in numerical bit fields can be easily performed.

尚、本実施例ではALUセル制御情報記憶部2に対して
制御情報信号のセットを行う際に、mビット入力でn回
のアクセスを行うようにしたが、ビット分割制御情報記
憶部5の内容に従い、同じビットフィールドの演算を行
うALUセルlに対応するALUセル制御情報記憶部2
の記憶領域に対しては同じ制御コードを自動で割り当て
るように回路を構成してもよい。
In this embodiment, when setting the control information signal to the ALU cell control information storage unit 2, access is performed n times with m bit input, but the contents of the bit division control information storage unit 5 Accordingly, the ALU cell control information storage unit 2 corresponding to the ALU cell l that performs the same bit field operation
The circuit may be configured to automatically allocate the same control code to the storage areas.

[発明の効果] 以上詳述したように、本発明によれば1ワード長に納め
られた複数のビットフィールドに対して演算セルを並列
に動作させて処理することができ、処理の高速化を図る
ことができる優れた効果がある。
[Effects of the Invention] As detailed above, according to the present invention, arithmetic cells can be operated in parallel to process multiple bit fields stored in one word length, and processing speed can be increased. There are excellent effects that can be achieved.

した一実施例を示す構成図、 第3図よALUセル制御情報記憶部の詳細図、第4図は
ALUセルの構成を示す論理回路図、第5図tALUセ
ルの論理動作説明図、第6図よビット分割情報記憶部を
示す図、第7図よフラグ検出回路を示す論理回路図、第
8図(a)、 (b)は従来のビットフィールド処理の
説明図である。
FIG. 3 is a detailed diagram of the ALU cell control information storage section; FIG. 4 is a logic circuit diagram showing the configuration of the ALU cell; FIG. 5 is an explanatory diagram of the logical operation of the ALU cell; 7 is a logic circuit diagram showing a flag detection circuit, and FIGS. 8(a) and 8(b) are explanatory diagrams of conventional bit field processing.

図において、 1ま演算セル、 2よセル制御情報記憶手段、 3よキャリー選択部、 4ま演算部、 5よビット分割情報記憶手段、In the figure, 1 operation cell, 2. cell control information storage means; 3. Carry selection section, 4 arithmetic section, 5 bit division information storage means;

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

第1図は本発明の原理説明図、 第2図は本発明を演算処理プロセッサに具体化第 図 ALUセル制御情報記憶部の詳細同 第 図 ピI9ト分割情報記憶部を示す図 (b) Bヒ FIG. 1 is a diagram explaining the principle of the present invention, Figure 2 shows the embodiment of the present invention in an arithmetic processing processor. figure Details of ALU cell control information storage unit No. figure Diagram showing Pi9 division information storage section (b) B Hi

Claims (1)

【特許請求の範囲】 1、制御情報に基づいてデータの割り当てられた各ビッ
トの演算処理を行う複数の演算セル(1)と、 前記各演算セル(1)をそれぞれ制御する複数の異なる
制御情報を記憶するセル制御情報記憶手段(2)と により構成された演算装置であって、 前記各演算セル(1)は 制御情報に基づいて下位演算セル(1)のキャリー出力
、論理零又は論理壱の中から1つをキャリー入力として
選択するキャリー選択部(3)と、同じく制御情報に従
い前記キャリー選択部(3)にて選択されたキャリー入
力と2つのデータビットとの間における論理演算又は加
減算を行い、その演算結果及びキャリーを出力する演算
部(4)と を備えたことを特徴とする演算装置。 2、ビット幅の検出範囲を記憶するビット分割情報記憶
手段(5)と、 前記各演算セル(1)より出力されるビット毎の演算結
果及びキャリーと、前記ビット分割情報記憶手段(5)
の分割情報に基づいて各検出範囲におけるフラグの検出
を行うフラグ検出回路(6)と を備えたことを特徴とする請求項1に記載の演算装置。
[Claims] 1. A plurality of arithmetic cells (1) that perform arithmetic processing on each bit to which data is allocated based on control information, and a plurality of different control information that respectively control each of the arithmetic cells (1). and a cell control information storage means (2) for storing a cell control information storage means (2), wherein each arithmetic cell (1) stores a carry output, a logic zero or a logic one of a lower arithmetic cell (1) based on the control information. A carry selection section (3) that selects one of them as a carry input, and a logical operation or addition/subtraction between the carry input selected by the carry selection section (3) and two data bits according to control information. 1. An arithmetic device comprising: an arithmetic unit (4) that performs the arithmetic operation and outputs the arithmetic result and a carry. 2. A bit division information storage means (5) for storing a bit width detection range; a calculation result and carry for each bit outputted from each calculation cell (1); and the bit division information storage means (5).
2. The arithmetic device according to claim 1, further comprising a flag detection circuit (6) that detects a flag in each detection range based on the division information.
JP2118409A 1990-05-08 1990-05-08 Arithmetic unit Pending JPH0414133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2118409A JPH0414133A (en) 1990-05-08 1990-05-08 Arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2118409A JPH0414133A (en) 1990-05-08 1990-05-08 Arithmetic unit

Publications (1)

Publication Number Publication Date
JPH0414133A true JPH0414133A (en) 1992-01-20

Family

ID=14735933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2118409A Pending JPH0414133A (en) 1990-05-08 1990-05-08 Arithmetic unit

Country Status (1)

Country Link
JP (1) JPH0414133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007231058A (en) * 2006-02-28 2007-09-13 Jfe Steel Kk Manufacturing method of metallurgical coke, and agitating mixer for manufacturing metallurgical coke

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007231058A (en) * 2006-02-28 2007-09-13 Jfe Steel Kk Manufacturing method of metallurgical coke, and agitating mixer for manufacturing metallurgical coke

Similar Documents

Publication Publication Date Title
US4675809A (en) Data processing system for floating point data having a variable length exponent part
EP0011374B1 (en) Execution unit for data processor using segmented bus structure
KR940000293B1 (en) Simplified synchronous mesh processor
US4780842A (en) Cellular processor apparatus capable of performing floating point arithmetic operations
JPH0731669B2 (en) Vector processor
JP4607604B2 (en) 4: 2 CSA cell and 4: 2 carry save addition method
CN110737612A (en) processors with in-memory computation
US4754424A (en) Information processing unit having data generating means for generating immediate data
KR960024997A (en) Digital array processor for multi-instruction multi-data type neural network and system configured using same
KR20060103965A (en) Method and computer program for single instruction multiple data management
JPH0414133A (en) Arithmetic unit
EP0059191A1 (en) Cmos static alu
US3234370A (en) Segmented arithmetic device
CN112230883B (en) Generating circuit for zero zone bit of multiplier, multiplier and detection method
US4408271A (en) Circuit for implementing a digital computer instruction
CN113515908A (en) Driving matrix, method for generating driving matrix, method for representing gate circuit information, and map
JPS6165336A (en) High-speed arithmetic system
US3675000A (en) Apparatus for arithmetic operations by alerting the corresponding digits of the operands
US5018092A (en) Stack-type arithmetic circuit
JPH04184535A (en) Parallel arithmetic units
JPH077388B2 (en) Vector processing unit
JPS60241129A (en) Microprocessor
JPS6168636A (en) Data processor
JPS63181030A (en) Accelerating system for arithmetic calculation in specific data pattern
JPS58178532A (en) Detecting device for wiring route