JP2006338215A - ベクトル積和演算回路 - Google Patents
ベクトル積和演算回路 Download PDFInfo
- Publication number
- JP2006338215A JP2006338215A JP2005160796A JP2005160796A JP2006338215A JP 2006338215 A JP2006338215 A JP 2006338215A JP 2005160796 A JP2005160796 A JP 2005160796A JP 2005160796 A JP2005160796 A JP 2005160796A JP 2006338215 A JP2006338215 A JP 2006338215A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- operand
- output
- product
- function selector
- 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
Links
Images
Landscapes
- Complex Calculations (AREA)
Abstract
【解決手段】 マスクレジスタ31〜33は各オペランド毎にデータの有効/無効を示すマスクビットを格納する。制御回路11〜13は演算モードと各オペランドに付随するマスクビットとから選択信号を生成する。機能セレクタ1〜3は各オペランドを入力とし、オペランドデータと予め設定された所定値(“0”または“1”)とのうちのいずれかを制御回路11〜13からの選択信号にしたがって選択し、積和演算回路の各回路に出力する。
【選択図】 図1
Description
外部から指定される演算モードに基いて前記オペランドと予め設定された所定値のデータとのいずれかを選択して前記積和回路に出力する機能セレクタを備えている。
R=(Ma[i]*A[i])*(Mb[i]*B[i])
+(Mc[i]*C[i])
という計算を行う。ここで、A[i]は第1OP、B[i]は第2OP、C[i]は第3OP、Ma[i]、Mb[i]、Mc[i]はそれぞれ各オペランドOPに対するマスクビットの値を表す。
1a,1b,2a,
2b,3a,3b セレクタ
4 仮数部乗算回路
5 仮数部加算器
6 指数部加算器
7 指数部減算器
8 シフト回路
9 正規化回路
10 丸め回路
11〜12 制御回路
14 0カウンタ
15 指数部補正回路
21〜23 ベクトルレジスタ
31〜33 マスクレジスタ
111〜114,
116,117,
121〜124,
126,127,
131〜133,
135 論理積回路
115,125,
134 論理和回路
Claims (6)
- 少なくとも第1のオペランドと第2のオペランドと第3のオペランドとを入力して、それらの積和を求める積和回路を含むベクトル積和演算回路であって、
外部から指定される演算モードに基いて前記オペランドと予め設定された所定値のデータとのいずれかを選択して前記積和回路に出力する機能セレクタを有することを特徴とするベクトル積和演算回路。 - 前記オペランド毎にデータの有効/無効を示すマスクビットを格納するマスクレジスタを含み、
前記機能セレクタは、前記演算モードと前記オペランド各々に付随するマスクビットとに基いて前記オペランドと前記所定値のデータとのいずれかを選択して前記積和回路に出力することを特徴とする請求項1記載のベクトル積和演算回路。 - 前記演算モードと前記マスクビットとに基いて前記オペランドと前記所定値のデータとのいずれかを選択させるための選択信号を生成して前記機能セレクタに出力する制御回路を含み、
前記機能セレクタは、前記選択信号にしたがって前記オペランドと前記所定値のデータとのいずれかを選択して前記積和回路に出力することを特徴とする請求項2記載のベクトル積和演算回路。 - 前記マスクレジスタと、前記機能セレクタと、前記制御回路とをそれぞれ前記第1のオペランドと第2のオペランドと第3のオペランドとに対応して設けたことを特徴とする請求項3記載のベクトル積和演算回路。
- 前記所定値は、2値信号の所定値及びその反転値であることを特徴とする請求項1から請求項4のいずれか記載のベクトル積和演算回路。
- 前記積和回路は、前記第1のオペランドと前記第2のオペランドと前記第3のオペランドとをそれぞれ格納する第1〜第3のベクトルレジスタと、前記第1のオペランド及び前記第2のオペランド各々に対応する前記機能セレクタの指数部出力の加算を行う指数部加算回路と、前記第3のオペランドに対応する前記機能セレクタの指数部出力と前記指数部加算回路の出力との減算を行う指数部減算回路と、前記第3のオペランドに対応する前記機能セレクタの仮数部出力な対して前記指数部減算回路の出力であるシフト量にしたがったシフト動作を行うシフト回路と、前記第1のオペランド及び前記第2のオペランド各々に対応する前記機能セレクタの仮数部出力の乗算を行う仮数部乗算回路と、前記仮数部乗算回路の出力と前記シフト回路の出力との加算を行う仮数部加算回路と、前記仮数部加算回路の出力を入力としてMSB(Most Significant Bit)からのビット0の数をカウントする0カウンタと、前記0カウンタの出力にしたがって前記仮数部加算回路の出力をシフトして正規化を行う正規化回路と、前記正規化回路の出力を入力として丸め処理を行う丸め回路と、前記0カウンタの出力にしたがって前記指数部加算回路の出力を補正する指数部補正回路とからなる浮動小数点積和演算器であることを特徴とする請求項3から請求項5のいずれか記載のベクトル積和演算回路。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005160796A JP4159565B2 (ja) | 2005-06-01 | 2005-06-01 | ベクトル積和演算回路 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005160796A JP4159565B2 (ja) | 2005-06-01 | 2005-06-01 | ベクトル積和演算回路 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006338215A true JP2006338215A (ja) | 2006-12-14 |
JP4159565B2 JP4159565B2 (ja) | 2008-10-01 |
Family
ID=37558734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005160796A Expired - Fee Related JP4159565B2 (ja) | 2005-06-01 | 2005-06-01 | ベクトル積和演算回路 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4159565B2 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011096254A (ja) * | 2009-10-30 | 2011-05-12 | Arm Ltd | 乗累算演算を実行するための装置および方法 |
CN113222132A (zh) * | 2021-05-22 | 2021-08-06 | 上海阵量智能科技有限公司 | 乘法器、数据处理方法、芯片、计算机设备及存储介质 |
-
2005
- 2005-06-01 JP JP2005160796A patent/JP4159565B2/ja not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011096254A (ja) * | 2009-10-30 | 2011-05-12 | Arm Ltd | 乗累算演算を実行するための装置および方法 |
CN113222132A (zh) * | 2021-05-22 | 2021-08-06 | 上海阵量智能科技有限公司 | 乘法器、数据处理方法、芯片、计算机设备及存储介质 |
CN113222132B (zh) * | 2021-05-22 | 2023-04-18 | 上海阵量智能科技有限公司 | 乘法器、数据处理方法、芯片、计算机设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
JP4159565B2 (ja) | 2008-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7949696B2 (en) | Floating-point number arithmetic circuit for handling immediate values | |
JP4374363B2 (ja) | ビットフィールド操作回路 | |
CN102356378B (zh) | 具有隐式混合正负号操作数的数字信号处理引擎 | |
JP4418578B2 (ja) | 第1、第2、第3オペランドに浮動小数点演算を適用するためのデータ処理装置および方法 | |
US8229991B2 (en) | Processor core and multiplier that support a multiply and difference operation by inverting sign bits in booth recoding | |
US20090077154A1 (en) | Microprocessor | |
US10310818B2 (en) | Floating point chained multiply accumulate | |
JP2004213622A (ja) | 固定小数点表示と浮動小数点表示との間で数を変換するデータ処理装置および方法 | |
JPH07210368A (ja) | 算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法 | |
JP3418460B2 (ja) | 倍精度除算回路および方法 | |
US6754689B2 (en) | Method and apparatus for performing subtraction in redundant form arithmetic | |
US8234326B2 (en) | Processor core and multiplier that support both vector and single value multiplication | |
JP4159565B2 (ja) | ベクトル積和演算回路 | |
GB2549153B (en) | Apparatus and method for supporting a conversion instruction | |
JPH04355827A (ja) | 開平演算装置 | |
US6202078B1 (en) | Arithmetic circuit using a booth algorithm | |
US8041927B2 (en) | Processor apparatus and method of processing multiple data by single instructions | |
CN113485751A (zh) | 执行伽罗瓦域乘法的方法、运算单元和电子装置 | |
US20130238680A1 (en) | Decimal absolute value adder | |
KR100900790B1 (ko) | 재구성형 프로세서 연산 방법 및 장치 | |
KR100385233B1 (ko) | 데이터 프로세싱 시스템의 익스포넌트 유닛 | |
KR100623604B1 (ko) | 데이터 처리장치 및 그의 데이터 처리 방법 | |
JP5376659B2 (ja) | 積和演算装置及び積和演算装置の制御方法 | |
JP2003223316A (ja) | 演算処理装置 | |
US20130262549A1 (en) | Arithmetic circuit and arithmetic method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071129 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071204 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080107 |
|
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: 20080708 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080715 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130725 Year of fee payment: 5 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |