Patents
US 7,593,977 B2#22365193 Most CitedExpiredUnited States (USPTO)Utility

Method and system for avoiding underflow in a floating-point operation

5Forward Citations (#22365193 Global)
0.3/yrCitation Velocity (#26411130 Global)
1.16Citation PageRank (#33987567 Global)
15Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method and system for determining whether a result d of a floating-point operation on operands a, b, c is tiny (may underflow) is disclosed. In one embodiment, a prediction whether d is tiny is made in hardware, but this prediction may include false results. Operands a, b, c are scaled to a′, b′, c′ and then result d′ from the floating-point operation on operands a′, b′, c′ is calculated. A determination whether d will actually be tiny can be determined from the value of d′. A decision may then be made to proceed with either software or hardware calculations of d.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 5.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A system, comprising: a processor including a prediction unit to predict whether a result d of a floating-point operation on operands a, b, c might be tiny, also including a normalizer to normalize said a, b, c, also including a hardware floating-point module; and a memory to contain a floating-point software assist module, said floating-point software assist module to include a scaling module to scale said operands a, b, c to a′, b′, c′, and a tiny-ness determination module to determine whether said d might be tiny.

  2. Claim 2Depends on #1

    The system of claim 1 , wherein said scaling module is to set said a′=a, said b′=b, and said c′=c when said b or said c is zero.

  3. Claim 3Depends on #2

    The system of claim 2 , wherein said tiny-ness determination module is to determine said d is tiny when ed′ is less than e min .

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (15)

PatentTitleYearCitations
US 4,647,401 AProcess for preparing colloidal ceric oxide and complexes thereof with free organic acids198731
US 5,257,216 AFloating point safe instruction recognition apparatus199345
US 5,548,545 AFloating point exception prediction for compound operations and variable precision using an intermediate exponent bus199631
US 5,550,767 AMethod and apparatus for detecting underflow and overflow199644
US 5,886,915 AMethod and apparatus for trading performance for precision when processing denormal numbers in a computer system199923
US 5,892,697 AMethod and apparatus for handling overflow and underflow in processing floating-point numbers1999103
US 6,105,047 AMethod and apparatus for trading performance for precision when processing denormal numbers in a computer system200058
US 2003041081 A1System and method for performing floating point operations involving extended exponents—7
US 6,571,265 B1Mechanism to detect IEEE underflow exceptions on speculative floating-point operations200352
US 6,631,392 B1Method and apparatus for predicting floating-point exceptions200350
US 2003191787 A1Methods and apparatus for determining a floating-point exponent associated with an underflow condition or an overflow condition—4
US 6,633,895 B1Apparatus and method for sharing overflow/underflow compare hardware in a floating-point multiply-accumulate (FMAC) or floating-point adder (FADD) unit200333
US 2004059769 A1Methods and apparatus for predicting an underflow condition associated with a floating-point multiply-add operation—9
US 6,963,894 B2Methods and apparatus for predicting an underflow condition associated with a floating-point multiply-add operation20057
US 2006031271 A1Methods and apparatus for predicting an underflow condition associated with a floating-point multiply-add operation—5

Non-Patent Literature (5)

  • Cornea-Hasegan, Marius A., et al., "Correctness Proofs Outline for Newton-Raphson Based Floating-Point Divide and Square Root Algorithms", Proceedings of the 14th IEEE Symposium on Computer Arithmetic, pp. 96-105 (Apr. 14-16, 1999).
  • Hollasch, Steve, "IEEE Standard 754 Floating Point Numbers", 7 pages, updated Dec. 4, 2001, retrieved from http://research.microsoft.com/~hollasch/cgindex/coding/ieeefloat.html on Oct. 18, 2002.
  • Intel Itanium Architecture Software Developer's Manual, vol. 1: Application Architecture, Revision 2.0, Document No. 245317-003, pp. i-xii, 1:1-1:8, 1:77-1:102, 1:129-1:130, 1:193-1:206, and Index-1 to Index-12 (Dec. 2001).
  • Intel Itanium Architecture Software Developer's Manual, vol. 2: System Architecture, Revision 2.0, Document No. 245318-003, pp. i-xviii, 2:1-2:8, 2:371-2:374, 2:451-2:456, and Index-1 to Index-12 (Dec. 2001).
  • Intel Itanium Architecture Software Developer's Manual, vol. 3: Instruction Set Reference, Revision 2.0, Document No. 245319-003, pp. i-xii, 3:1-3:8, 3:71, 3:79-3:80, 3:83, and Index-1 to Index-12 (Dec. 2001).