JPH11119976A - Data dividing parallel shifter - Google Patents

Data dividing parallel shifter

Info

Publication number
JPH11119976A
JPH11119976A JP9282214A JP28221497A JPH11119976A JP H11119976 A JPH11119976 A JP H11119976A JP 9282214 A JP9282214 A JP 9282214A JP 28221497 A JP28221497 A JP 28221497A JP H11119976 A JPH11119976 A JP H11119976A
Authority
JP
Japan
Prior art keywords
shift
data
bit
circuit
input data
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.)
Granted
Application number
JP9282214A
Other languages
Japanese (ja)
Other versions
JP3540136B2 (en
Inventor
Takashi Yoshida
尊 吉田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP28221497A priority Critical patent/JP3540136B2/en
Priority to US09/172,772 priority patent/US6260055B1/en
Publication of JPH11119976A publication Critical patent/JPH11119976A/en
Priority to US09/774,713 priority patent/US6411980B2/en
Application granted granted Critical
Publication of JP3540136B2 publication Critical patent/JP3540136B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data dividing parallel shifter, capable of shortening shift processing time. SOLUTION: A shift circuit 1 performs in parallel the shift of input data with no division, the generation of code expansion data through a code expansion data generating circuit 2, and the generation of a mask signal through a mask signal generating circuit 3, the shift data of the shift circuit 1 or the code expansion data are selected based on the mask signal, and the respective field of input data divided into plural fields are shifted in parallel so that a code can be expanded into prescribed bits.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロプロセッ
サの演算処理に関連してデータを分割してシフト処理を
行うデータ分割並列シフタに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a data division parallel shifter that performs data division and shift processing in relation to arithmetic processing of a microprocessor.

【0002】[0002]

【従来の技術】データ処理を行うプロセッサの演算処理
装置において、データ処理効率を向上する手法としてデ
ータを複数のフィールドに分割し各々のデータを一括し
て演算を行う処理方式がある。例えば64ビットのデー
タを16ビット単位の4個のデータに分割し、加算命令
では同時に4個の加算を行うものである。
2. Description of the Related Art In an arithmetic processing unit of a processor for performing data processing, there is a processing method for dividing data into a plurality of fields and collectively operating each data as a technique for improving data processing efficiency. For example, 64-bit data is divided into four data in 16-bit units, and an addition instruction is to simultaneously perform four additions.

【0003】 これは、旧来の科学技術計算や事務処理計算などより
も、画像処理や音声処理などの分野に性能を発揮する。
これらの演算は、加減乗除演算、論理演算のほか、シフ
ト処理も必要となる。通常シフト処理にはシフトにより
空いた部分に0を詰める論理シフト(logical
shift)と符号拡張を行う演算シフト(Arith
metic shift)がある。データを複数のフィ
ールドに分割してシフト処理を行うことを可能とするに
は、分割のモードに合わせてどの部分を符号拡張するか
の切り替え処理が必要となる。例えば32ビットデータ
を32ビットモード、(16ビット×2)モード、(8
ビット×4)モードの各々で3ビット右方向演算シフト
を行った場合の結果を以下に示す。
[0003] This is more effective in fields such as image processing and audio processing than traditional scientific and business calculations.
These operations require addition, subtraction, multiplication, division, and logical operations, as well as shift processing. In the normal shift process, a logical shift (logical) that fills a portion vacated by the shift with 0 is performed.
shift) and arithmetic shift (Arith) for sign extension
(mechanical shift). In order to be able to divide the data into a plurality of fields and perform the shift process, it is necessary to perform a process of switching which part is sign-extended according to the mode of division. For example, 32 bit data is converted to a 32 bit mode, a (16 bit × 2) mode, (8
The results when the rightward operation shift is performed by 3 bits in each of the (bit × 4) modes are shown below.

【0004】[0004]

【表1】 bit31 bit0 元データ 110 11011 001 10101 001 00100 100 10100 32bit mode 111 11011 011 00110 101 00100 100 10010 16x2mode 111 11011 011 00110 000 00100 100 10010 8x4 mode 111 11011 000 00110 000 00100 111 10010 上記データの内、下線で示した部分が符号拡張の部分で
ある。すなわち、32ビットシフトモードでは、ビット
31を符号拡張する。(16ビット×2)モードでは、
上位16ビットの符号拡張はビット31を拡張し、下位
16ビットにはビット15を拡張する。(8ビット×
4)モードでは、ビット31からビット24まではビッ
ト31を拡張し、ビット23からビット16まではビッ
ト23を拡張し、ビット15からビット8まではビット
15を拡張し、ビット7からビット0まではビット7を
拡張する。論理シフトでは上記下線部が0に拡張され
る。
[Table 1] bit31 bit0 Original data 110 11011 001 10101 001 00100 100 10100 32bit mode 111 11011 011 00110 101 00100 100 10010 16x2mode 111 11011 011 00110 000 00100 100 10010 8x4 mode 111 11011 000 00110 000 00100 111 10010 The underlined part is the sign extension part. That is, in the 32-bit shift mode, the bit 31 is sign-extended. In the (16 bits × 2) mode,
The sign extension of the upper 16 bits extends bit 31 and the lower 16 bits extend bit 15. (8 bits x
4) In the mode, bits 31 to 24 extend bit 31; bits 23 to 16 extend bit 23; bits 15 to 8 extend bit 15; Expands bit 7. In the logical shift, the underline is expanded to zero.

【0005】次に、シフト回路の構成を説明する。説明
の明瞭化のため右方向のシフト処理について説明する。
Next, the configuration of the shift circuit will be described. The shift processing in the right direction will be described for clarity.

【0006】まず始めに、分割機能のない通常のシフタ
に関して説明する。通常の32ビット右方向シフト回路
を図5に示す。図5において、32ビットシフタでは、
1ビット、2ビット、4ビット、8ビット、16ビット
の各々のビットシフト回路101〜105が多段に接続
されている。各々のシフト回路は単純な選択回路で構成
されている。シフト回路はこれらの選択回路を多段に積
むことで構成される。1ビットシフト回路101は、シ
フトを行う場合は1ビット左隣のデータを出力し、シフ
トしない場合はデータをそのまま出力する。隣のデータ
を出力するか、データをそのまま出力するかの選択信号
はシフト量の最下位ビットと、左右シフト方向を示す信
号から生成される。すなわちシフト量の最下位ビットに
1が立っている場合は1ビットシフトを行い、0の場合
はシフトを行う必要が無く、データをそのまま下方に出
力する。2ビットシフト回路102では、2ビット左の
データを出力するか、そのまま出力するかの選択にな
る。2ビットシフト回路102の選択信号は、シフト量
の下位から2ビット目の値となる。シフト量信号に従い
各々のシフト回路を動作させるかどうかで、0ビットか
ら31ビットまでの任意のシフト量のシフト動作を行
う。例えば3ビットシフトでは、1ビットシフト及び2
ビットシフト回路101、102でシフトを行い、他の
ビットシフト回路103、104、105はシフトを行
わない。
First, an ordinary shifter having no division function will be described. FIG. 5 shows a normal 32-bit rightward shift circuit. In FIG. 5, in the 32-bit shifter,
1-bit, 2-bit, 4-bit, 8-bit, and 16-bit bit shift circuits 101 to 105 are connected in multiple stages. Each shift circuit is constituted by a simple selection circuit. The shift circuit is configured by stacking these selection circuits in multiple stages. The 1-bit shift circuit 101 outputs the data one bit to the left when performing a shift, and outputs the data as it is when not performing a shift. A selection signal for outputting the next data or outputting the data as it is is generated from the least significant bit of the shift amount and a signal indicating the left / right shift direction. That is, when 1 is set in the least significant bit of the shift amount, 1-bit shift is performed, and when it is 0, there is no need to perform the shift, and the data is directly output downward. In the 2-bit shift circuit 102, a choice is made whether to output 2-bit left data or to output the data as it is. The selection signal of the 2-bit shift circuit 102 is the value of the second bit from the lower order of the shift amount. A shift operation of an arbitrary shift amount from 0 bit to 31 bits is performed depending on whether each shift circuit is operated according to the shift amount signal. For example, in a 3-bit shift, a 1-bit shift and 2
The bit shift circuits 101 and 102 perform the shift, and the other bit shift circuits 103, 104 and 105 do not perform the shift.

【0007】フィールドが分割されない場合、符号拡張
処理は、各シフト回路で対応する左隣のデータが無いポ
ートに、演算シフトの場合は元データの一番左の値を、
論理シフトの場合は0を拡張することで実現される。
If the field is not divided, the sign extension process applies the leftmost value of the original data to the port where there is no corresponding left data in each shift circuit,
In the case of a logical shift, this is realized by extending 0.

【0008】符号拡張に使用されるデータは、演算シフ
ト又は論理シフトのどちらのシフトを行うかを示す制御
信号で、符号拡張データ生成回路において予め生成され
る。例えば1ビットシフト回路101の内、一番左端の
選択回路ではとってくる左隣のデータがない。そこで、
そのポートに符号拡張データ生成回路からの符号拡張デ
ータを挿入することで、1ビットシフトが起こった場合
は同選択回路は符号拡張データを出力する。
[0008] The data used for sign extension is a control signal indicating whether to perform an operation shift or a logical shift, and is generated in advance in a sign extension data generation circuit. For example, in the 1-bit shift circuit 101, there is no data on the left side to be taken by the leftmost selection circuit. Therefore,
By inserting the sign extension data from the sign extension data generation circuit into the port, if one bit shift occurs, the selection circuit outputs the sign extension data.

【0009】符号拡張データは、例えば図6に示すよう
に、マルチプレクサ106〜108と論理ゲート109
〜112を備えて構成される。このような構成におい
て、演算シフト信号がハイレベルの演算シフトにおい
て、32ビットシフト時は、元データのビット31を3
2ビットすべての符号拡張データとして出力し、(16
ビット×2)モードでは、上位ビット31からビット1
6までは元データのビット31を、下位ビット15から
ビット0までは、元データのビット15を符号拡張デー
タとして出力し、(8ビット×4)モードでは、ビット
31からビット24までは元データのビット31を、ビ
ット23からビット16までは元データのビット23
を、ビット15からビット8までは元データのビット1
5を、ビット7からビット0までは元データのビット7
を出力する。一方、演算シフト信号(Arithmet
ic)がロウレベルの論理シフト時は、全てのビットに
対して符号拡張データとして0を出力する。
The sign extension data is, for example, as shown in FIG.
To 112. In such a configuration, in the operation shift in which the operation shift signal is at the high level, the bit 31 of the original data is set to 3 when shifting by 32 bits.
Output as sign extension data of all 2 bits, (16
In the bit × 2) mode, the upper bit 31 to the bit 1
The bit 31 of the original data is output as sign extension data up to bit 6 and the bit 15 of the original data is output as sign extension data from the lower bits 15 to bit 0. In the (8 bits × 4) mode, the bits 31 to 24 are output as the original data. Bit 23 of the original data from bit 23 to bit 16
And bits 15 to 8 are bits 1 of the original data.
5 from bit 7 to bit 0, bit 7 of the original data
Is output. On the other hand, the operation shift signal
When ic) is a low level logical shift, 0 is output as sign extension data for all bits.

【0010】図5に示す回路に上記(16ビットシフト
×2)モード、(8ビットシフト×4)モードの追加を
行う場合には、上記符号拡張の処理をどう行うかが問題
となる。符号拡張機能を加えるには、図7に示すよう
に、前記ビットシフト回路101〜105の各段の間に
符号拡張を行うか通常のシフトを行うかの符号拡張選択
回路113を挿入することで行うことができる。
When the (16-bit shift × 2) mode and the (8-bit shift × 4) mode are added to the circuit shown in FIG. 5, how to perform the sign extension process becomes a problem. To add the sign extension function, as shown in FIG. 7, by inserting a sign extension selection circuit 113 for performing sign extension or performing normal shift between the stages of the bit shift circuits 101 to 105. It can be carried out.

【0011】(16ビット×2)モードの時は、16ビ
ットシフト回路105は、全ての符号拡張選択回路が符
号拡張を選択するように制御する。8ビットシフト回路
104では、同回路のビット15からビット8までの符
号拡張選択回路113が符号拡張を選択するように制御
する。同様に4ビットシフト回路103ではビット15
からビット4までを、2ビットシフト回路102ではビ
ット15からビット2までを、1ビットシフト回路10
1ではビット15からビット1までを符号拡張を選択す
るように制御する。
In the (16 bits × 2) mode, the 16-bit shift circuit 105 controls all the sign extension selecting circuits to select sign extension. The 8-bit shift circuit 104 controls the sign extension selection circuit 113 from bit 15 to bit 8 of the same circuit to select sign extension. Similarly, in the 4-bit shift circuit 103, bit 15
To the bit 4, the 2-bit shift circuit 102 converts the bits 15 to 2 to the 1-bit shift circuit 10.
In the case of 1, the control is performed so that the bit extension from the bit 15 to the bit 1 is selected.

【0012】(8ビット×4モード)の時、16ビット
シフト回路105および8ビットシフト回路104は、
全ての符号拡張選択回路113が符号拡張を選択するよ
うに制御する。4ビットシフト回路103では、ビット
23からビット20、ビット15からビット12、ビッ
ト7からビット4の符号化拡張回路が符号拡張データを
選択するように制御する。2ビットシフト回路102で
は、ビット23からビット18、ビット15からビット
10、ビット7からビット2の各々の符号拡張選択回路
113が符号拡張データを選択するように制御する。1
ビットシフト回路101では、ビット23からビット1
7、ビット15からビット9、ビット7からビット1の
符号拡張選択回路113が符号拡張データを選択するよ
うに制御する。
In (8 bits × 4 mode), the 16-bit shift circuit 105 and the 8-bit shift circuit 104
Control is performed so that all sign extension selection circuits 113 select sign extension. In the 4-bit shift circuit 103, control is performed such that a coding extension circuit of bits 23 to 20; bits 15 to 12; and bits 7 to 4 selects code extension data. In the 2-bit shift circuit 102, control is performed such that the sign extension selection circuits 113 of bits 23 to 18, bits 15 to 10, and bits 7 to 2 select sign extension data. 1
In the bit shift circuit 101, bit 23 to bit 1
Control is performed so that the sign extension selection circuit 113 of bit 7, bit 15 to bit 9 and bit 7 to bit 1 selects sign extension data.

【0013】このように、符号拡張選択回路113を各
ビットシフト回路の間に挿入することで、データフィー
ルドを分割しての並列シフトが可能となる。しかし、符
号拡張選択回路113は、シフト回路と同様選択器で実
現されるため、回路の通過段数だけを見ても通常のシフ
ト回路の2倍となり、処理速度も非常に遅くなる。ま
た、符号拡張データ生成回路を設けることを説明した
が、この場合は同回路により符号拡張データを生成する
遅延時間はそのまま全体の遅延時間に加わることにな
る。符号拡張データ生成回路を使わない方法として、各
符号拡張選択回路113にモードによりどのデータを符
号拡張データとして用いるかを選択する選択回路を付加
することも考えられるが、この場合には、符号拡張デー
タ生成回路を用いた場合以上の速度遅延ならびに回路規
模の増大を招くことになる。
As described above, by inserting the sign extension selection circuit 113 between the respective bit shift circuits, the data field can be divided and shifted in parallel. However, since the sign extension selection circuit 113 is realized by a selector as in the case of the shift circuit, the number of stages of the circuit is twice as large as that of a normal shift circuit, and the processing speed is extremely slow. Also, although the description has been made of the provision of the sign extension data generation circuit, in this case, the delay time for generating the sign extension data by the circuit is added to the entire delay time as it is. As a method that does not use the sign extension data generation circuit, it is conceivable to add a selection circuit for selecting which data to use as sign extension data in each sign extension selection circuit 113 according to a mode. The use of the data generation circuit causes a speed delay and an increase in circuit scale.

【0014】また、通常のシフト回路では、32ビット
シフトのために、選択回路を5段通過する必要がある
が、これを、速度向上のため、選択機能を合わせて2入
力選択回路に代えて4入力選択回路を使い、例えば1段
で1ビットシフトと2ビットシフトを選択回路の入力と
して左3ビット、1ビット、シフト無しからの選択を行
うようにし一度に2段分の処理を行うように回路を組む
ことも可能である。しかし、同回路に並列シフト機能を
付加する場合は、1ビットあたりの符号拡張選択回路が
3倍となり回路の構成が難しくなる。また、左方向シフ
ト、右方向シフトの双方が行えるバレルシフタにおいて
は、同符号拡張選択回路も2倍必要となり、面積及び速
度とも更に回路構成が難しくなる。
In a normal shift circuit, it is necessary to pass five stages through a selection circuit for a 32-bit shift, but this is replaced by a two-input selection circuit with a selection function for speed improvement. Using a four-input selection circuit, for example, one-bit shift and two-bit shift are input to the selection circuit in one stage, and the selection from the left three bits, one bit, and no shift is performed, and processing for two stages is performed at a time. It is also possible to build a circuit in the system. However, when a parallel shift function is added to the circuit, the number of code extension selection circuits per bit is tripled, and the circuit configuration becomes difficult. Further, in a barrel shifter that can perform both leftward shift and rightward shift, the same sign extension selection circuit is required twice, and the circuit configuration becomes more difficult in both area and speed.

【0015】[0015]

【発明が解決しようとする課題】以上説明したように、
分割されたデータをそれぞれ並列にシフト処理する従来
のデータ分割並列シフタにおいて、符号拡張処理を行う
場合は、符号拡張を行わない通常のシフト回路の2倍の
選択器が必要となり、構成の大型化ならびに処理速度の
低下を招いていた。さらに、拡張しようとする符号を予
め生成する生成時間は、シフト回路全体の動作時間に加
わるため、処理速度のさらなる低下を招いていた。
As described above,
In a conventional data division parallel shifter that shifts divided data in parallel, when performing sign extension processing, a selector twice as large as a normal shift circuit that does not perform sign extension is required, and the configuration is enlarged. In addition, the processing speed was reduced. Further, the generation time for generating a code to be expanded in advance is added to the operation time of the entire shift circuit, which further reduces the processing speed.

【0016】そこで、この発明は、上記に鑑みてなされ
たものであり、その目的とするところは、符号拡張を含
めたデータ分割並列シフト処理の処理時間の短縮化を達
成し得るデータ分割並列シフタを提供することを目的と
する。
Accordingly, the present invention has been made in view of the above, and an object of the present invention is to provide a data division parallel shifter capable of shortening the processing time of the data division parallel shift processing including the sign extension. The purpose is to provide.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、入力データを複数のフィー
ルドに分割し、分割されたそれぞれのフィールドの入力
データを同時にシフト処理して所定のビットに符号又は
0を拡張するデータ分割並列シフタにおいて、入力デー
タを分割するすることなく所定のシフト量だけシフトす
るシフト回路と、入力データを分割するモードに応じ
て、分割された入力データのそれぞれのフィールドに対
応した符号拡張データ又は0拡張データを生成する符号
拡張データ生成回路と、入力データのシフト量ならびに
入力データを分割するモードに応じて、前記シフト回路
によりシフトされた入力データ又は前記符号拡張データ
生成回路により生成された符号拡張データを選択するマ
スク信号を生成するマスク信号生成回路と、前記マスク
信号生成回路により生成されたマスク信号にしたがって
前記シフト回路によりシフトされた入力データ又は前記
符号拡張データ生成回路により生成された符号拡張デー
タを選択し、符号を拡張した入力データのシフト結果を
出力する出力選択回路を有することを特徴とする。
To achieve the above object, according to the first aspect of the present invention, input data is divided into a plurality of fields, and input data of each of the divided fields is simultaneously shifted. In a data division parallel shifter that extends a sign or 0 to a predetermined bit, a shift circuit that shifts the input data by a predetermined shift amount without dividing the input data, and the input data divided according to a mode in which the input data is divided. A sign extension data generation circuit that generates sign extension data or 0 extension data corresponding to each field of the input data, and an input data shifted by the shift circuit according to a shift amount of the input data and a mode of dividing the input data. Generating a mask signal for selecting the sign extension data generated by the sign extension data generation circuit A mask signal generation circuit and input data shifted by the shift circuit according to the mask signal generated by the mask signal generation circuit or code extension data generated by the sign extension data generation circuit, and a code is extended. An output selection circuit for outputting a shift result of input data is provided.

【0018】請求項2記載の発明は、請求項1記載のデ
ータ分割並列シフト回路において、前記シフト回路は、
入力データの上位方向及び下位方向の双方のシフト方向
に入力データをシフトするバレルシフタからなり、前記
マスク信号生成回路は、入力データのシフト量ならびに
入力データを分割するモードにシフト方向を加えてマス
ク信号を生成することを特徴とする。
According to a second aspect of the present invention, in the data division parallel shift circuit according to the first aspect, the shift circuit comprises:
The mask signal generation circuit includes a barrel shifter that shifts input data in both the upper direction and the lower direction of the input data. The mask signal generation circuit adds a shift direction to a shift amount of the input data and a mode for dividing the input data. Is generated.

【0019】[0019]

【発明の実施の形態】以下、図面を用いてこの発明の実
施形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は請求項1記載の発明の一実施形態に
係るデータ分割並列シフタの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a data division parallel shifter according to an embodiment of the present invention.

【0021】図1において、データ分割並列シフタは、
分割シフト機能を持たない通常のシフト回路1と、分割
モードに対応して符号拡張データを生成する符号拡張デ
ータ生成回路2と、シフト量をデコードすることにより
どこまで符号拡張を行うかを決定するマスク信号を生成
するマスク信号生成回路3、マスク信号生成回路3から
のマスク信号により通常にシフトしたデータ又は符号拡
張データ生成回路2の符号拡張データを選択する選択回
路4を備えて構成され、シフト処理、符号拡張データ生
成、マスク信号の生成を並列に行うことにより、シフト
処理遅延時間を通常のシフト処理の遅延に最終段の遅延
が加わるのみでフィールド分割並列シフト機能を実現す
るようにしている。
In FIG. 1, the data division parallel shifter
A normal shift circuit 1 having no division shift function, a sign extension data generation circuit 2 for generating sign extension data corresponding to the division mode, and a mask for determining the extent of sign extension by decoding the shift amount A shift signal processing circuit is provided which includes a mask signal generation circuit 3 for generating a signal, and a selection circuit 4 for selecting data normally shifted by the mask signal from the mask signal generation circuit 3 or sign extension data of the sign extension data generation circuit 2. By performing the sign extension data generation and the mask signal generation in parallel, the field division parallel shift function is realized only by adding the delay of the final stage to the delay of the normal shift processing.

【0022】この実施形態のデータ分割並列シフタは、
32ビットシフトモード、(16ビット×2)シフトモ
ード、(8ビット×4)シフトモードを有し、演算右シ
フト、論理右シフトを行う32ビット右方向のシフタで
ある。図1に示すシフト回路1は左右両方向へのシフト
を行うことのできるバレルシフタを示しているが、本実
施形態では右方向シフトのみであるため図1のバレルシ
フタを右方向専用シフト回路1とし、左右シフト方向を
示す制御信号を削除する。
The data division parallel shifter of this embodiment
The shifter has a 32-bit shift mode, a (16-bit × 2) shift mode, and an (8-bit × 4) shift mode, and performs an arithmetic right shift and a logical right shift. Although the shift circuit 1 shown in FIG. 1 shows a barrel shifter capable of shifting in both the left and right directions, the barrel shifter in FIG. The control signal indicating the shift direction is deleted.

【0023】シフト回路1は従来例の説明でも用いた、
図5に示すシフト回路を用いる。符号拡張データ生成回
路2も同様に、従来例の説明で用いた図6に示す符号拡
張データ生成回路を用いる。
The shift circuit 1 is also used in the description of the conventional example.
The shift circuit shown in FIG. 5 is used. Similarly, the sign extension data generation circuit 2 uses the sign extension data generation circuit shown in FIG. 6 used in the description of the conventional example.

【0024】次に、この発明の特徴となるマスク信号生
成回路3について説明する。
Next, the mask signal generation circuit 3 which is a feature of the present invention will be described.

【0025】この実施形態のにおいて想定している32
ビットの入力データの分割モードは、32ビット、16
ビット×2、8ビット×4の3モードである。このた
め、まず分割最小単位である8ビットのマスク信号を、
シフト量の下位32ビットから生成し、更にシフト量の
上位2ビットと、3つのモード信号から4つの8ビット
フィールド毎に8ビット全てをマスクするか、8ビット
のマスク信号でマスクするか、8ビット全てをマスクし
ないかを選択することにより32ビットのマスク信号を
生成する構成が回路として容易である。
In this embodiment, 32 is assumed.
The division mode of the input data of bits is 32 bits, 16 bits.
There are three modes: bit × 2 and 8-bit × 4. Therefore, first, an 8-bit mask signal, which is the minimum unit of division, is
Generated from the lower 32 bits of the shift amount and further masked with the upper 2 bits of the shift amount and all 8 bits for each of the four 8-bit fields from the three mode signals, or masked with an 8-bit mask signal, A configuration for generating a 32-bit mask signal by selecting whether or not to mask all the bits is easy as a circuit.

【0026】図2にシフト量の下位3ビットから8ビッ
ト単位のマスク信号を生成する8ビットマスク信号生成
回路8を示す。図2において、マスク信号生成回路8は
一種のデコーダであり、シフト量又は反転シフト量を受
ける否定論理積ゲート(NAND)5と、NAND5の
出力により導通制御される直列接続されたトランジスタ
6と、トランジスタ6のそれぞれの直列接続点の信号を
受けて8ビットのマスク信号Mask0〜Mask7を
出力するインバータ7を備えて構成される。
FIG. 2 shows an 8-bit mask signal generation circuit 8 for generating a mask signal in units of 8 bits from the lower 3 bits of the shift amount. In FIG. 2, a mask signal generation circuit 8 is a kind of decoder, and includes a NAND gate (NAND) 5 receiving a shift amount or an inversion shift amount, a series-connected transistor 6 that is controlled to be conductive by an output of the NAND 5, An inverter 7 that receives a signal of each series connection point of the transistor 6 and outputs an 8-bit mask signal Mask0 to Mask7 is provided.

【0027】このような構成において、シフト量の下位
3ビットであるM2,M1,M0の値が確定すると、同
値に対応したNAND5の出力のみ0となり、このNA
ND5の出力が接続されたトランジスタ6のゲートを閉
じる。他のNAND5は1を出力しており、各々の出力
が接続されたトランジスタ6はON状態となる。このた
め、閉じたトランジスタ6の左側のトランジスタ6間の
各ノードは全て0となり、右側の各ノードは1となる。
各ノードに接続されたインバータ7は閉じたトランジス
タ6の左側は1を、右側は0を出力する。例えばM2,
1,0が011であった場合、左から4番目のNAND
5の出力のみ0となる。そのため、Mask7からMa
sk5までのインバータ7の入力ノードは0となり、M
ask4からMask0のインバータ7の入力ノードは
1となる。結果として、Mask7〜Mask0は11
10000となる。
In such a configuration, when the values of the lower three bits M2, M1 and M0 of the shift amount are determined, only the output of the NAND 5 corresponding to the same value becomes 0, and this NA
The gate of the transistor 6 to which the output of the ND5 is connected is closed. The other NAND 5 outputs 1 and the transistor 6 to which each output is connected is turned on. For this reason, all nodes between the transistors 6 on the left side of the closed transistor 6 are 0, and each node on the right side is 1.
The inverter 7 connected to each node outputs 1 on the left side and 0 on the right side of the closed transistor 6. For example, M2
If 1,0 is 011, the fourth NAND from the left
Only the output of 5 becomes 0. Therefore, from Mask7 to Ma
The input node of the inverter 7 up to sk5 becomes 0, and M
The input node of the inverter 7 from the ask4 to the mask0 is 1. As a result, Mask7 to Mask0 are 11
10,000.

【0028】次に、8ビット単位よりも上位のマスク信
号の生成論理を説明する。各8ビット単位でのマスク信
号がとりうる状態は、8ビット全てがマスクされている
状態、8ビットマスク信号生成回路8の出力によりマス
クされるかどうかが決まる状態、8ビット全てがマスク
されない状態の3状態をとりうる。例えばシフト量が0
1011での32ビットモードでは、マスク信号は、 11111111 11100000 00000000 00000000 となる。最上位の8ビットは全てマスクされる状態、上
位より2番目の8ビットは8ビットマスク信号生成回路
8のマスク信号を用いる状態、3番目および最下位の8
ビットは各々全てマスクされない状態となる。同じシフ
ト量で、(16ビット×2)モードの場合のマスク信号
は、 11111111 11100000 11111111 11100000 となる。シフト量の上位2ビットであるM4,M3、シ
フトモード信号mode32、mode16、mode
8、8ビットマスク信号生成回路8の出力Mask
[7:0]より、マスク信号mask[31:0]を生
成する式を以下に示す。なお、以下に示す式において、
|は論理和を示し、&は論理積を示し、b は信号の反転
を示すものとする。
Next, the generation logic of the mask signal higher than the 8-bit unit will be described. Possible states of the mask signal in units of 8 bits include a state in which all 8 bits are masked, a state in which it is determined whether or not to be masked by the output of the 8-bit mask signal generation circuit 8, and a state in which all 8 bits are not masked The following three states can be taken. For example, if the shift amount is 0
In the 32-bit mode at 1011, the mask signal is 11111111 11100000 00000000 00000000. The state in which all the 8 most significant bits are masked, the state in which the second most significant 8 bits use the mask signal of the 8-bit mask signal generation circuit 8, the third and least significant 8 bits
All bits are unmasked. With the same shift amount, the mask signal in the case of the (16 bits × 2) mode is 11111111 11100000 11111111 11100000. M4 and M3, which are the upper two bits of the shift amount, and shift mode signals mode32, mode16, and mode
Output Mask of 8, 8-bit mask signal generation circuit 8
An equation for generating a mask signal mask [31: 0] from [7: 0] is shown below. In the following equation,
| Indicates a logical sum, & indicates a logical product, and b indicates signal inversion.

【0029】[0029]

【数1】 if (M4|M3) masks[31:24] = 11111111; elseif (M4b & M3b) maska[31:24] = Mask[7:0]; else masks[31:24] = 00000000; endif if ((M4 & (mode32 | mode16)) | ((M4 | M3) & mode8)) masks[23:16] = 11111111; elseif ((M4 | M3) &mode32| M3&mode16|M4b&M3b&mode8) masks[23:16] = Mask[7:0]; else masks[23:16] = 00000000; endif if ((M3&M4)&mode32|(M3 | M2)&(mode16|mode8) masks[15:8] = 11111111; elseif ((M4 & mode32) |(M3b & M4b)&(mode16 | mode8)) mask[15:8] = Mask[7:0]; else masks[15:8] = 00000000; endif if ((M4 & mode16) | (M3|m4)&mode8) masks[7:0] = 11111111; elseif ((M3 & M4 & mode32)|(M3 & mode16) | (M4b & M3b & mode8)) maska[7:0] = Mask[7:0]; else masks[7:0] = 00000000; となる。上式のif文の条件が選択信号の論理となり、
この選択信号にしたがって図3に示すマスク信号生成回
路3のマルチプレクサ9により各々8ビット全て1かM
ask[7:0]か全て0の選択を行い、マスク信号生
成回路3の出力となる。
[Equation 1] if (M4 | M3) masks [31:24] = 11111111; elseif (M4b & M3b) maska [31:24] = Mask [7: 0]; else masks [31:24] = 00000000; endif if ((M4 & (mode32 | mode16)) | ((M4 | M3) & mode8)) masks [23:16] = 11111111; elseif ((M4 | M3) & mode32 | M3 & mode16 | M4b & M3b & mode8) masks [23:16] = Mask [7: 0]; else masks [23:16] = 00000000; endif if ((M3 & M4) & mode32 | (M3 | M2) & (mode16 | mode8) masks [15: 8] = 11111111; elseif ((M4 & mode32) | (M3b & M4b) & (mode16 | mode8)) mask [15: 8] = Mask [7: 0]; else masks [15: 8] = 00000000; endif if ((M4 & mode16) | ( M3 | m4) & mode8) masks [7: 0] = 11111111; elseif ((M3 & M4 & mode32) | (M3 & mode16) | (M4b & M3b & mode8)) maska [7: 0] = Mask [7: 0]; else masks [7: 0] = 00000000; The condition of the if statement in the above expression becomes the logic of the selection signal,
In accordance with this selection signal, all 8 bits are all 1 or M by the multiplexer 9 of the mask signal generation circuit 3 shown in FIG.
Selection of ask [7: 0] or all 0 is performed, and the result is output from the mask signal generation circuit 3.

【0030】シフト回路1によりシフトデータ、符号拡
張データ生成回路3により符号拡張データが出力され、
マスク信号生成回路3により生成されたマスク信号に従
いマスク信号が1ならば符号拡張データを、0ならばシ
フトデータを、最終段出力選択回路4において各々のビ
ット単位で選択することで最終出力を得る。
The shift circuit 1 outputs shift data, and the sign extension data generation circuit 3 outputs sign extension data.
According to the mask signal generated by the mask signal generation circuit 3, if the mask signal is 1, sign extension data is selected, and if the mask signal is 0, shift data is selected in the final stage output selection circuit 4 in each bit unit to obtain a final output. .

【0031】上記シフト回路1、符号拡張データ生成回
路2、マスク信号生成回路3は最終出力選択回路4まで
各々全く独立に処理を行うことができる。このため、回
路の遅延は従来例で示したようなお互いの遅延の累積加
算とはならなず、シフト回路1、符号拡張データ生成回
路2、マスク信号生成回路3の内の最大遅延のものに、
最終段の出力選択回路4の遅延が付加されるだけとな
る。マスク信号生成回路3内部においても、8ビットマ
スク信号生成回路8と、上位の選択信号を生成する論理
回路とは並列に処理することができる。そのため、本実
施形態のシフト回路1は、通常のシフト回路に最終段の
出力選択回路4の遅延を加える程度の遅延時間でシフト
処理を行うことができ、従来に比べてデータ分割並列シ
フト処理の処理時間を短縮することが可能となる。
The shift circuit 1, the sign extension data generation circuit 2, and the mask signal generation circuit 3 can perform processing completely independently up to the final output selection circuit 4. For this reason, the delay of the circuit does not become the cumulative addition of each other's delay as shown in the conventional example, but is the maximum delay among the shift circuit 1, the sign extension data generation circuit 2, and the mask signal generation circuit 3. ,
Only the delay of the final stage output selection circuit 4 is added. Also within the mask signal generation circuit 3, the 8-bit mask signal generation circuit 8 and the logic circuit that generates the higher-order selection signal can be processed in parallel. Therefore, the shift circuit 1 of the present embodiment can perform the shift processing with a delay time that adds the delay of the output selection circuit 4 at the last stage to the normal shift circuit, and can perform the data division parallel shift processing as compared with the conventional case. Processing time can be reduced.

【0032】次に、請求項2記載の発明の一実施形態を
説明する。
Next, an embodiment of the present invention will be described.

【0033】この実施形態では、マスク信号生成回路3
の構成を除いて前記実施形態とほぼ同様に構成され、シ
フト回路1は図1に示す実施形態に使用した従来のバレ
ルシフタを使用できる。図1に示す右方向シフトのみの
シフト回路では左方向からのシフトデータかデータをそ
のまま通過させるかの2入力選択回路であったのに対
し、この実施形態のバレルシフタは、右方向からの入力
シフトデータも選択できる3入力選択回路を用いること
になる。すなわち、1ビットシフト回路では、1ビット
右隣のデータ、1ビット左隣のデータ、シフトなしのデ
ータの3つから1つを選択することになる。右方向シフ
ト回路では2段分の処理を1度で行うために、4入力選
択回路を用いたのと同じように、バレルシフタでは3入
力選択回路の代わりに7入力選択回路を用いる。
In this embodiment, the mask signal generation circuit 3
The shift circuit 1 is substantially the same as the above-described embodiment except for the configuration described above, and the shift circuit 1 can use the conventional barrel shifter used in the embodiment shown in FIG. In the shift circuit of only rightward shift shown in FIG. 1, a two-input selection circuit for determining whether shift data from the left or data is passed as it is, whereas the barrel shifter of this embodiment employs an input shift from the right. A three-input selection circuit that can select data is used. In other words, the 1-bit shift circuit selects one of three data: one bit right adjacent data, one bit left adjacent data, and no shift data. The right shift circuit uses a seven-input selection circuit instead of a three-input selection circuit in the barrel shifter in the same way as using a four-input selection circuit to perform two stages of processing at one time.

【0034】符号拡張データ生成回路であるが、通常デ
ータの符号ビットはMSBであり、本実施形態では最も
左側のビットとなる。このため、左方向シフトの場合に
は、シフトにより空白となる部分は通常0を詰めること
となる。そのため、左方向シフトは論理シフトのみとな
り、符号拡張データ生成回路は、前記実施形態で用いた
ものをそのまま使用できる。
In the sign extension data generation circuit, the sign bit of the normal data is the MSB, and is the leftmost bit in this embodiment. For this reason, in the case of a leftward shift, a portion which becomes blank due to the shift is usually padded with zeros. Therefore, only the logical shift is performed in the leftward direction, and the sign extension data generation circuit can use the one used in the above embodiment as it is.

【0035】マスク信号生成回路は、左右のシフト方向
による切り替えに対応するために、回路の付加が必要と
なり、8ビットマスク信号生成回路は、例えば図4に示
すように、下位3ビットのシフト量M0〜M2のいずれ
か1ビットと左右シフト方向を切り替える切り替え信号
を受ける排他的論理和ゲート(EXOR)10と、EX
OR10の出力又はその反転信号を受けるNAND11
と、NAND11の出力により導通制御されて直列接続
されたトランジスタ12と、トランジスタ12の直列接
続点の出力を反転するインバータ13と、トランジスタ
12の直列接続点の出力を受けるバッファ14と、左右
シフト方向の切り替え信号に基づいてインバータ13の
出力又はバッファ14の出力を選択してマスク信号Ma
sk0〜Mask7を出力する選択器15を備えて構成
され、左右シフト切り替え信号によりシフト量データを
反転して入力し、出力も反転しかつ1ビットシフトす
る。これにより、シフト量の最下位3ビットが011の
時、右方向シフトでは、 Mask[7:0] = 11100000 左方向シフトでは、 Mask[7:0] = 00000111 となる。
The mask signal generation circuit requires an additional circuit in order to cope with switching in the left and right shift directions. The 8-bit mask signal generation circuit requires, for example, a shift amount of lower three bits as shown in FIG. An exclusive OR gate (EXOR) 10 for receiving any one bit of M0 to M2 and a switching signal for switching the left / right shift direction;
NAND 11 receiving the output of OR 10 or its inverted signal
A transistor 12 connected in series by controlling the output of the NAND 11, an inverter 13 for inverting the output of the series connection point of the transistor 12, a buffer 14 receiving the output of the series connection point of the transistor 12, Select the output of the inverter 13 or the output of the buffer 14 based on the switching signal of
It is provided with a selector 15 for outputting sk0 to Mask7, inverts and inputs shift amount data by a left / right shift switching signal, and also inverts and shifts the output by one bit. Thus, when the three least significant bits of the shift amount are 011, Mask [7: 0] = 11100000 in the rightward shift, and Mask [7: 0] = 00000111 in the leftward shift.

【0036】8ビット単位よりも上位のマスク信号生成
回路は、前記実施形態と同様に全て1、全て0、8ビッ
トマスク信号生成回路の出力の3つの出力のいずれかを
選択することは同じてある。ただし、選択制御信号のロ
ジックは8ビットマスク信号生成回路の場合と同様に変
更する必要がある。その実施形態は様々考えられるが、
基本的に上位と下位が線対称になればよい。すなわち右
方向シフト時、ビット[31:24]のマスク信号生成
のための選択信号を、ビット[7:0]に使い、ビット
[23:16]に使う選択信号を、ビット[15:8]
に使えばよい。
In the same manner as in the above embodiment, the mask signal generation circuit higher than the 8-bit unit selects any one of the three outputs of all 1, all 0 and the output of the 8-bit mask signal generation circuit. is there. However, the logic of the selection control signal needs to be changed as in the case of the 8-bit mask signal generation circuit. Although various embodiments are conceivable,
Basically, it suffices that the upper and lower parts are line-symmetric. That is, at the time of shifting rightward, a selection signal for generating a mask signal of bits [31:24] is used for bits [7: 0], and a selection signal used for bits [23:16] is used for bits [15: 8].
It should be used for.

【0037】バレルシフタ1のシフトデータ又は符号拡
張データ生成回路2により生成された符号拡張データの
選択は、前記実施形態の出力選択回路4と同様に構成さ
れる。
The selection of the shift data of the barrel shifter 1 or the sign extension data generated by the sign extension data generation circuit 2 is the same as that of the output selection circuit 4 of the above embodiment.

【0038】この実施形態にあっては、入力データの左
右いずれのシフト方向に対しても前記実施形態と同様の
効果を得ることができる。
In this embodiment, the same effects as those of the above embodiment can be obtained in any of the left and right shift directions of the input data.

【0039】なお、上記実施形態では、入力データを3
2ビット、分割モードを32ビット、(16ビット×
2)、(8ビット×4)としているが、入力データのビ
ット数や分割モードに制約を受けることはなく、例えば
64ビットの入力データに対して分割モードを64ビッ
ト、(32ビット×2)、(16ビット×4)、(8ビ
ット×8)であっても、上述した実施形態を拡張して同
様に実施することは可能である。
In the above embodiment, the input data is 3
2 bits, division mode 32 bits, (16 bits ×
2), (8 bits × 4), but there is no restriction on the number of bits of input data or the division mode. For example, for a 64-bit input data, the division mode is 64 bits, (32 bits × 2) , (16 bits × 4) and (8 bits × 8), the above-described embodiment can be extended and implemented in the same manner.

【0040】[0040]

【発明の効果】以上説明したように、この発明によれ
ば、データのシフト処理と、符号拡張データの生成と、
符号拡張をどのビットまで行うかを確定するマスク信号
の生成を並行して行うようにしたので、従来のシフト回
路の遅延に選択回路1段分の遅延の増加程度で、データ
を複数のフィールドに分割して同時にシフト処理する機
能が実現でき、符号拡張を含めたデータ分割並列シフト
処理の処理時間を短縮することができる。
As described above, according to the present invention, data shift processing, sign extension data generation,
Since the mask signal for determining the number of bits to be subjected to the sign extension is generated in parallel, the data is stored in a plurality of fields by increasing the delay of the selection circuit by one stage in addition to the delay of the conventional shift circuit. The function of dividing and shifting simultaneously can be realized, and the processing time of data division parallel shift processing including sign extension can be shortened.

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

【図1】請求項1記載の発明の一実施形態に係るデータ
分割並列シフタの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a data division parallel shifter according to one embodiment of the present invention.

【図2】8ビットマスク信号生成回路の構成を示す図で
ある。
FIG. 2 is a diagram illustrating a configuration of an 8-bit mask signal generation circuit.

【図3】マスク信号生成回路の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a mask signal generation circuit.

【図4】請求項2記載の発明の一実施形態に係るデータ
分割並列シフタの8ビットマスク信号生成回路の構成を
示す図である。
FIG. 4 is a diagram showing a configuration of an 8-bit mask signal generation circuit of a data division parallel shifter according to an embodiment of the present invention.

【図5】入力データの分離機能のない32ビット右方向
シフト回路の構成を示す図である。
FIG. 5 is a diagram showing a configuration of a 32-bit rightward shift circuit having no function of separating input data.

【図6】符号拡張データ生成回路の構成を示す図であ
る。
FIG. 6 is a diagram illustrating a configuration of a sign extension data generation circuit.

【図7】従来のデータ分割並列シフタの構成を示す図で
ある。
FIG. 7 is a diagram showing a configuration of a conventional data division parallel shifter.

【符号の説明】 1 シフト回路 2 符号拡張データ生成回路 3 マスク信号生成回路 4 出力選択回路 5,7,10,11 論理ゲート 6,12,13 トランジスタ 8 8ビットマスク信号生成回路 9 選択器 14 バッファ[Description of Signs] 1 shift circuit 2 sign extension data generation circuit 3 mask signal generation circuit 4 output selection circuit 5, 7, 10, 11 logic gate 6, 12, 13 transistor 8 8-bit mask signal generation circuit 9 selector 14 buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力データを複数のフィールドに分割
し、分割されたそれぞれのフィールドの入力データを同
時にシフト処理して所定のビットに符号又は0を拡張す
るデータ分割並列シフタにおいて、 入力データを分割するすることなく所定のシフト量だけ
シフトするシフト回路と、 入力データを分割するモードに応じて、分割された入力
データのそれぞれのフィールドに対応した符号拡張デー
タ又は0拡張データを生成する符号拡張データ生成回路
と、 入力データのシフト量ならびに入力データを分割するモ
ードに応じて、前記シフト回路によりシフトされた入力
データ又は前記符号拡張データ生成回路により生成され
た符号拡張データを選択するマスク信号を生成するマス
ク信号生成回路と、 前記マスク信号生成回路により生成されたマスク信号に
したがって前記シフト回路によりシフトされた入力デー
タ又は前記符号拡張データ生成回路により生成された符
号拡張データを選択し、符号を拡張した入力データのシ
フト結果を出力する出力選択回路を有することを特徴と
するデータ分割並列シフタ。
1. A data division parallel shifter that divides input data into a plurality of fields and simultaneously shifts input data of each of the divided fields to extend a sign or 0 to predetermined bits. A shift circuit that shifts the input data by a predetermined shift amount without performing the operation, and sign extension data that generates sign extension data or 0 extension data corresponding to each field of the divided input data according to a mode of dividing the input data. Generating a mask signal for selecting the input data shifted by the shift circuit or the sign extension data generated by the sign extension data generation circuit according to a shift amount of the input data and a mode for dividing the input data; A mask signal generation circuit that generates An output selection circuit that selects the input data shifted by the shift circuit according to the mask signal or the sign extension data generated by the sign extension data generation circuit, and outputs a shift result of the sign-extended input data. Characteristic data division parallel shifter.
【請求項2】 前記シフト回路は、入力データの上位方
向及び下位方向の双方のシフト方向に入力データをシフ
トするバレルシフタからなり、 前記マスク信号生成回路は、入力データのシフト量なら
びに入力データを分割するモードにシフト方向を加えて
マスク信号を生成することを特徴とする請求項1記載の
データ分割並列シフタ。
2. The shift circuit includes a barrel shifter that shifts input data in both an upper direction and a lower direction of the input data, and the mask signal generation circuit divides the input data shift amount and the input data. 2. The data division parallel shifter according to claim 1, wherein a mask signal is generated by adding a shift direction to the mode to be shifted.
JP28221497A 1997-10-15 1997-10-15 Data division parallel shifter Expired - Fee Related JP3540136B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP28221497A JP3540136B2 (en) 1997-10-15 1997-10-15 Data division parallel shifter
US09/172,772 US6260055B1 (en) 1997-10-15 1998-10-15 Data split parallel shifter and parallel adder/subtractor
US09/774,713 US6411980B2 (en) 1997-10-15 2001-02-01 Data split parallel shifter and parallel adder/subtractor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28221497A JP3540136B2 (en) 1997-10-15 1997-10-15 Data division parallel shifter

Publications (2)

Publication Number Publication Date
JPH11119976A true JPH11119976A (en) 1999-04-30
JP3540136B2 JP3540136B2 (en) 2004-07-07

Family

ID=17649553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28221497A Expired - Fee Related JP3540136B2 (en) 1997-10-15 1997-10-15 Data division parallel shifter

Country Status (1)

Country Link
JP (1) JP3540136B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140192A (en) * 2008-12-10 2010-06-24 Nec Corp Barrel shifter device and barrel shifting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140192A (en) * 2008-12-10 2010-06-24 Nec Corp Barrel shifter device and barrel shifting method

Also Published As

Publication number Publication date
JP3540136B2 (en) 2004-07-07

Similar Documents

Publication Publication Date Title
US4472788A (en) Shift circuit having a plurality of cascade-connected data selectors
US6411980B2 (en) Data split parallel shifter and parallel adder/subtractor
JPH0428180B2 (en)
JP3378444B2 (en) Shift circuit
JPS642986B2 (en)
GB2401962A (en) A sum bit generation circuit
JPH11143686A (en) Partial product generation circuit
JPH09222991A (en) Adding method and adder
JP3540136B2 (en) Data division parallel shifter
US5140546A (en) Adder circuit apparatus
US4254471A (en) Binary adder circuit
US6738792B1 (en) Parallel mask generator
JPH09114639A (en) Mask data generation circuit and bit field operation circuit
US5084835A (en) Method and apparatus for absolute value summation and subtraction
JP2991788B2 (en) Decoder
JPH01220528A (en) Parity generator
JPH1063500A (en) Signal processor
JP4230234B2 (en) Parity prediction circuit for full adder
US5424972A (en) Carry look ahead circuit
KR100203742B1 (en) Adder using multiplex
JP3199196B2 (en) 5-input adder
JPH06309147A (en) Arithmetic and logic unit
US6041341A (en) Method and circuit for adding operands of multiple size
EP0448097A2 (en) Arithmetic shift circuit
JPH06168101A (en) Method and device for addition

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040316

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040324

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees