JP3589719B2 - 算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法 - Google Patents

算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法 Download PDF

Info

Publication number
JP3589719B2
JP3589719B2 JP30328694A JP30328694A JP3589719B2 JP 3589719 B2 JP3589719 B2 JP 3589719B2 JP 30328694 A JP30328694 A JP 30328694A JP 30328694 A JP30328694 A JP 30328694A JP 3589719 B2 JP3589719 B2 JP 3589719B2
Authority
JP
Japan
Prior art keywords
bit
overflow
result
operand
equal
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.)
Expired - Fee Related
Application number
JP30328694A
Other languages
English (en)
Japanese (ja)
Other versions
JPH07210368A5 (enExample
JPH07210368A (ja
Inventor
ルビー・ベイ−ロー・リー
ジョエル・デイヴィッド・ラム
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.)
HP Inc
Original Assignee
Hewlett Packard Co
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 Hewlett Packard Co filed Critical Hewlett Packard Co
Publication of JPH07210368A publication Critical patent/JPH07210368A/ja
Publication of JPH07210368A5 publication Critical patent/JPH07210368A5/ja
Application granted granted Critical
Publication of JP3589719B2 publication Critical patent/JP3589719B2/ja
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/57—Arithmetic logic units [ALU], i.e. arrangements or devices for performing two or more of the operations covered by groups G06F7/483 – G06F7/556 or for performing logical operations
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003—Arrangements for executing specific machine instructions
    • G06F9/30007—Arrangements for executing specific machine instructions to perform operations on data operands
    • G06F9/3001—Arithmetic instructions
    • G06F9/30014—Arithmetic instructions with variable precision
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
    • G06F2207/3804—Details
    • G06F2207/3808—Details concerning the type of numbers or the way they are handled
    • G06F2207/3812—Devices capable of handling different types of numbers
    • G06F2207/382—Reconfigurable for different fixed word lengths
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
    • G06F2207/3804—Details
    • G06F2207/3808—Details concerning the type of numbers or the way they are handled
    • G06F2207/3828—Multigauge devices, i.e. capable of handling packed numbers without unpacking them
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/499—Denomination or exception handling, e.g. rounding or overflow
    • G06F7/49905—Exception handling
    • G06F7/4991—Overflow or underflow
    • G06F7/49921—Saturation, i.e. clipping the result to a minimum or maximum value

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Complex Calculations (AREA)
  • Executing Machine-Instructions (AREA)
  • Image Processing (AREA)
JP30328694A 1993-12-08 1994-12-07 算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法 Expired - Fee Related JP3589719B2 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/163,960 US5448509A (en) 1993-12-08 1993-12-08 Efficient hardware handling of positive and negative overflow resulting from arithmetic operations
US163960 1993-12-08

Publications (3)

Publication Number Publication Date
JPH07210368A JPH07210368A (ja) 1995-08-11
JPH07210368A5 JPH07210368A5 (enExample) 2002-04-05
JP3589719B2 true JP3589719B2 (ja) 2004-11-17

Family

ID=22592376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30328694A Expired - Fee Related JP3589719B2 (ja) 1993-12-08 1994-12-07 算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法

Country Status (4)

Country Link
US (1) US5448509A (enExample)
EP (1) EP0657804B1 (enExample)
JP (1) JP3589719B2 (enExample)
DE (1) DE69416283T2 (enExample)

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168696A (ja) * 1993-10-19 1995-07-04 Mitsubishi Electric Corp 2進数加算器のオーバフロー,アンダフロー処理回路
JP3105738B2 (ja) * 1994-06-10 2000-11-06 日本電気株式会社 情報処理装置
GB2300054A (en) * 1995-01-17 1996-10-23 Hewlett Packard Co Clipping integers
US7301541B2 (en) 1995-08-16 2007-11-27 Microunity Systems Engineering, Inc. Programmable processor and method with wide operations
US5953241A (en) * 1995-08-16 1999-09-14 Microunity Engeering Systems, Inc. Multiplier array processing system with enhanced utilization at lower precision for group multiply and sum instruction
US6295599B1 (en) * 1995-08-16 2001-09-25 Microunity Systems Engineering System and method for providing a wide operand architecture
US6643765B1 (en) * 1995-08-16 2003-11-04 Microunity Systems Engineering, Inc. Programmable processor with group floating point operations
US5742840A (en) * 1995-08-16 1998-04-21 Microunity Systems Engineering, Inc. General purpose, multiple precision parallel operation, programmable media processor
JPH0997178A (ja) * 1995-09-29 1997-04-08 Matsushita Electric Ind Co Ltd 飽和演算処理装置および方法
US5732004A (en) * 1995-11-14 1998-03-24 Advanced Micro Devices, Inc. DSP architecture for a FIR-type filter and method
US5835389A (en) * 1996-04-22 1998-11-10 Samsung Electronics Company, Ltd. Calculating the absolute difference of two integer numbers in a single instruction cycle
US5798958A (en) * 1996-06-05 1998-08-25 Samsung Electronics Co., Ltd. Zero detect for binary sum
US6018757A (en) * 1996-08-08 2000-01-25 Samsung Electronics Company, Ltd. Zero detect for binary difference
JP3701401B2 (ja) * 1996-08-12 2005-09-28 株式会社ルネサステクノロジ 飽和演算命令を有するマイクロプロセッサ
JPH1091395A (ja) * 1996-09-13 1998-04-10 Toshiba Corp プロセッサ
CN1210647C (zh) 1996-11-29 2005-07-13 松下电器产业株式会社 适于作由正值处理及饱和运算处理组成的修整处理的处理器
US5905221A (en) * 1997-01-22 1999-05-18 Atmel Corporation Music chip
US6209017B1 (en) * 1997-08-30 2001-03-27 Lg Electronics Inc. High speed digital signal processor
US6301600B1 (en) 1997-11-18 2001-10-09 Intrinsity, Inc. Method and apparatus for dynamic partitionable saturating adder/subtractor
US6272514B1 (en) 1997-11-18 2001-08-07 Intrinsity, Inc. Method and apparatus for interruption of carry propagation on partition boundaries
US6301597B1 (en) 1997-11-18 2001-10-09 Intrinsity, Inc. Method and apparatus for saturation in an N-NARY adder/subtractor
TW407251B (en) 1997-12-10 2000-10-01 Seiko Epson Corp Data process system, coding/decoding system, system LSI and electronic machine
US6529930B1 (en) 1998-11-16 2003-03-04 Hitachi America, Ltd. Methods and apparatus for performing a signed saturation operation
US6519620B1 (en) * 1999-04-22 2003-02-11 International Business Machines Corporation Saturation select apparatus and method therefor
US6499046B1 (en) 1999-05-20 2002-12-24 International Business Machines Corporation Saturation detection apparatus and method therefor
US7206800B1 (en) * 2000-08-30 2007-04-17 Micron Technology, Inc. Overflow detection and clamping with parallel operand processing for fixed-point multipliers
US6748411B1 (en) 2000-11-20 2004-06-08 Agere Systems Inc. Hierarchical carry-select multiple-input split adder
EP1387259B1 (en) 2002-07-31 2017-09-20 Texas Instruments Incorporated Inter-processor control
KR100493053B1 (ko) * 2003-02-26 2005-06-02 삼성전자주식회사 디지털 데이터의 포화 처리 장치
EP1503280A1 (en) * 2003-07-30 2005-02-02 Texas Instruments Incorporated Saturated arithmetic in a processing unit
US7395287B2 (en) * 2003-12-15 2008-07-01 Micrel, Inc. Numerical value conversion using a saturation limited arithmetic logic unit supporting variable resolution operands
JP2006227939A (ja) * 2005-02-17 2006-08-31 Matsushita Electric Ind Co Ltd 演算装置
US8209366B2 (en) * 2005-02-28 2012-06-26 Hitachi Global Storage Technologies Netherlands B.V. Method, apparatus and program storage device that provides a shift process with saturation for digital signal processor operations
US7594090B2 (en) * 2005-07-18 2009-09-22 Hewlett-Packard Development Company, L.P. Efficient data storage
DE102007014808A1 (de) * 2007-03-28 2008-10-02 Texas Instruments Deutschland Gmbh Multiplizier- und Multiplizier- und Addiereinheit
US7508329B1 (en) 2008-01-03 2009-03-24 Micrel, Inc. Laser controller integrated circuit including variable resolution data processing device
US10067744B2 (en) * 2016-12-08 2018-09-04 International Business Machines Corporation Overflow detection for sign-magnitude adders
US10643297B2 (en) * 2017-05-05 2020-05-05 Intel Corporation Dynamic precision management for integer deep learning primitives
CN119151768A (zh) 2017-05-05 2024-12-17 英特尔公司 用于整数深度学习原语的动态精度管理

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1244955A (en) * 1985-05-17 1988-11-15 Yuichi Kawakami Processing circuit capable of raising throughput of accumulation
US4722066A (en) * 1985-07-30 1988-01-26 Rca Corporation Digital signal overflow correction apparatus
US4754412A (en) * 1985-10-07 1988-06-28 Schlumberger Systems & Services, Inc. Arithmetic logic system using the output of a first alu to control the operation of a second alu
US5047975A (en) * 1987-11-16 1991-09-10 Intel Corporation Dual mode adder circuitry with overflow detection and substitution enabled for a particular mode
JP2600293B2 (ja) * 1988-06-10 1997-04-16 日本電気株式会社 オーバーフロー補正回路
JP3076046B2 (ja) * 1989-01-31 2000-08-14 日本電気株式会社 例外検出回路
US5038314A (en) * 1989-11-17 1991-08-06 Digital Equipment Corporation Method and apparatus for correction of underflow and overflow
JPH04309123A (ja) * 1991-04-08 1992-10-30 Nec Corp 冗長2進演算回路

Also Published As

Publication number Publication date
US5448509A (en) 1995-09-05
JPH07210368A (ja) 1995-08-11
EP0657804A1 (en) 1995-06-14
DE69416283D1 (de) 1999-03-11
DE69416283T2 (de) 1999-06-10
EP0657804B1 (en) 1999-01-27

Similar Documents

Publication Publication Date Title
US5448509A (en) Efficient hardware handling of positive and negative overflow resulting from arithmetic operations
JP3578502B2 (ja) 単一プロセッサにおいて並列データ処理を実行する方法
JP3573808B2 (ja) 論理演算装置
KR102447636B1 (ko) 부동 소수점 수를 누산하기 위한 산술 연산을 수행하는 장치 및 방법
JP3729881B2 (ja) 並列加算および平均演算を行うための回路およびその方法
US4941120A (en) Floating point normalization and rounding prediction circuit
EP0754998A1 (en) An arithmetic unit
EP0755015B1 (en) Combining data values
US20230092574A1 (en) Single-cycle kulisch accumulator
US9678716B2 (en) Apparatus and method for performing absolute difference operation
CN111752526B (zh) 浮点相加
EP3921942B1 (en) Encoding special value in anchored-data element
JPH07168697A (ja) 倍精度除算回路および方法
US8554822B2 (en) Decimal adder with end around carry
US4639887A (en) Bifurcated method and apparatus for floating point addition with decreased latency time
EP3912272B1 (en) Anchored data element conversion
US6470440B1 (en) Vector compare and maximum/minimum generation apparatus and method therefor
US4811272A (en) Apparatus and method for an extended arithmetic logic unit for expediting selected floating point operations
US5036482A (en) Method and circuitry for digital system multiplication
US5574677A (en) Adaptive non-restoring integer divide apparatus with integrated overflow detect
US6499046B1 (en) Saturation detection apparatus and method therefor
US5867413A (en) Fast method of floating-point multiplication and accumulation
US5546551A (en) Method and circuitry for saving and restoring status information in a pipelined computer
KR19980052740A (ko) 디지탈 신호 처리기에서의 2배 정밀도 곱셈연산 수행방법
US7647368B2 (en) Data processing apparatus and method for performing data processing operations on floating point data elements

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040728

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: 20040803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040818

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: 20080827

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees