×

Combined floating point adder and subtractor

  • US 8,645,449 B1
  • Filed: 03/03/2009
  • Issued: 02/04/2014
  • Est. Priority Date: 03/03/2009
  • Status: Active Grant
First Claim
Patent Images

1. Combined floating-point addition and subtraction circuitry for both adding and subtracting a first signed floating-point input number and a second signed floating-point input number, wherein each of said first and second signed floating-point input numbers has a respective sign, a respective mantissa and a respective exponent, to provide a sum and a difference of said first and second signed floating-point numbers, said combined floating-point addition and subtraction circuitry comprising:

  • a first mantissa computation path including a first adder for adding said mantissas of said first and second signed floating-point numbers, a one-bit right-shifting circuit for controllably shifting output of said first adder to normalize said output of said first adder, and rounding circuitry for (a) providing a first candidate mantissa and (b) providing a first exponent-adjustment bit;

    a second mantissa computation path including a first subtractor for subtracting said mantissa of said second signed floating-point number from said mantissa of said first signed floating-point number to provide a first mantissa difference, a second subtractor for subtracting said mantissa of said first signed floating-point number from said mantissa of said second signed floating-point number to provide a second mantissa difference, a selector for selecting as a mantissa difference output one of said first and second mantissa differences that is positive, and a normalize-and-round circuit for (a) providing a second candidate mantissa and (b) providing a second exponent-adjustment bit; and

    a selection stage that selects, based on said respective signs, both (a) a mantissa of said sum of said first and second signed floating point numbers from among inputs including both of said first and second candidate mantissas, and (b) a mantissa of said difference of said first and second signed floating point numbers from among inputs including both of said first and second candidate mantissas.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×