Patents
US 8,407,271 B2#18853794 Most CitedActiveUnited States (USPTO)Utility

Method for floating point round to integer operation

6Forward Citations (#18853794 Global)
0.5/yrCitation Velocity (#17847448 Global)
1.23Citation PageRank (#31007404 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method for computing a rounded floating point number. A floating point unit (FPU) receives an instruction to round a floating point number to a nearest integral value and retrieves a binary source operand having an exponent of a fixed first number of bits and a mantissa of a fixed second number of bits. If the unbiased exponent value is greater than or equal to zero and less than the fixed second number, the FPU generates a mask having N consecutive ‘1’ bits beginning with the least significant bit and whose remaining bits have a value of ‘0’, where N is equal to the fixed second number minus the unbiased exponent value. The FPU computes a bitwise OR of the source operand with the mask, increments the result if the instruction is to round up, and computes a bitwise AND of the result with the inverse of the mask.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A processor comprising: a decode unit; and a floating point unit configured to receive from the decode unit an instruction; wherein in response to determining the instruction corresponds to a floating point round to nearest integer instruction for a floating point number, the floating point unit is configured to: retrieve a binary source operand corresponding to the instruction; compute an unbiased exponent value; generate a binary mask based at least in part on said unbiased exponent value, wherein said mask indicates a least significant digit of a nearest integer value to the floating point

Technical Overview & Description

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

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 5,561,615 AMethod and apparatus for floating point to fixed point conversion with compensation for lost precision199642
US 5,631,859 AFloating point arithmetic unit having logic for quad precision arithmetic199774
US 5,802,386 ALatency-based scheduling of instructions in a superscalar processor1998103
US 5,842,036 ACircuit and method for scheduling instructions by predicting future availability of resources required for execution199827
US 6,029,243 AFloating-point processor with operand-format precision greater than execution precision200026
US 6,131,104 AFloating point addition pipeline configured to perform floating point-to-integer and integer-to-floating point conversion operations200082
US 6,282,554 B1Method and apparatus for floating point operations and format conversion operations200196
US 6,510,446 B1Floating point calculation method and unit efficiently representing floating point data as integer and semiconductor integrated circuit device provided with the same200325
US 2003061467 A1Scoreboarding mechanism in a pipeline that includes replays and redirects—23
US 6,542,984 B1Scheduler capable of issuing and reissuing dependency chains200350
US 2003126406 A1Stick and spoke replay—44
US 6,721,772 B1Rounding denormalized numbers in a pipelined floating point unit without pipeline stalls20046
US 2004254973 A1Rounding mode insensitive method and apparatus for integer rounding—17
US 6,879,992 B2System and method to efficiently round real numbers200518
US 6,965,906 B1Converting negative floating point numbers to integer notation without two's complement hardware200516
US 7,225,323 B2Multi-purpose floating point and integer multiply-add functional unit with multiplication-comparison test addition and exponent pipelines200741
US 7,284,117 B1Processor that predicts floating point instruction latency based on predicted precision200739
US 2008077779 A1Performing rounding operations responsive to an instruction—29
US 7,689,640 B2Method and apparatus for formatting numbers in microprocessors20104

Non-Patent Literature (1)

  • "Trace Cache: a Low Latency Approach to High Bandwidth Instruction Fetching"; Rotenberg, Eric, et al.; IEEE 1996; pp. 24-34.