×

Efficient hardware divide operation

  • US 7,599,982 B1
  • Filed: 09/08/2005
  • Issued: 10/06/2009
  • Est. Priority Date: 09/08/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method for using the Newton-Raphson technique to perform a division operation within an arithmetic-logic unit (ALU) of a computer system, comprising:

  • receiving a numerator a and a denominator b; and

    dividing a by b within the ALU by first using the Newton-Raphson technique to find 1/b, and then multiplying 1/b by a to produce the result a/b;

    wherein using the Newton-Raphson technique to find 1/b involves obtaining an initial estimate x0 for 1/b and iteratively solving the equation xi+1=xi(2−

    bxi) by,using a multiplier circuit to multiply b by xi to compute bxi,performing a bit-wise complement operation on bxi to compute 2−

    bxi, whereby an additional pass through an adder circuit or a multiply/add circuit is not required to perform the subtraction operation, andusing the multiplier circuit to multiply xi by 2−

    bxi to compute x1(2−

    bxi),wherein a separate inverter and a separate multiplexer are attached to each bit position of the multiplier circuit to selectively perform a bit-wise complement or a shift operation during specific passes through the multiplier circuit.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×