Early detection of overflow and exceptional quotient/remainder pairs for nonrestoring twos complement division
AssigneeCyrix Corporation
InventorDavid William Matula
Life of this patent
Estimating the term…
Loading patent…
AssigneeCyrix Corporation
InventorDavid William Matula
Estimating the term…
A system for the early detection of overflow or exceptional quotient/remainder pairs is used in conjunction with performing nonrestoring division using two's complement 2n bit dividends N and two's complement n bit divisors D--if early overflow is not signaled, and if an exceptional quotient/remainder pair is not detected, a quotient Q and remainder R are obtained by successive iterative partial remainder computations, which may be performed with no possibility of overflow. The detection system uses only the divisor, dividend, and first partial remainder. Early overflow detection uses three tests (FIGS. 2a, 2b, 2c): an exceptional divisor test, an exceptional dividend test, and an exceptional quotient test. Early exceptional quotient/remainder pair detection provides, when overflow is not signaled, exceptional quotient/remainder pairs using the exceptional divisor test for the exceptional divisor -2.sup.n-1 (FIG. 2c) and the exceptional quotient test for the exceptional quotient -2.sup.n-1 (FIG. 2b).
An iterative division system that performs nonrestoring division of a 2n bit dividend N by an n bit divisor D to obtain, for non-overflow division operations, an n bit quotient Q and an n bit remainder R (or signal overflow or divide by zero), with N, D, Q, and R being in 2's complement format, the division system performing early overflow detection of all overflow conditions based on an input dividend N and an input divisor D, and a first partial remainder of value N-2.sup.n-1 D, comprising:
An arithmetic processing system that performs nonrestoring division of a 2n bit dividend N by an n bit divisor D to obtain, for non-overflow division operations, an n bit quotient Q and an n bit remainder R (or signal overflow or divide by zero), with N, D, Q, and R being in 2's complement format, the division system performing early overflow detection of all overflow conditions based on an input dividend N and an input divisor D, and a first partial remainder of value N-2.sup.n-1 D, comprising:
A method for performing nonrestoring division using an adder that performs addition, subtraction, and complementation operations, iteratively dividing a 2n bit dividend N by an n-bit divisor D to compute an n bit quotient Q and an n bit remainder R (or signal overflow or divide by zero), where N, D, Q, and R are in 2's complement format, and where the dividend N includes high and low magnitude fields N(himag) and N(lomag), the method including performing early overflow detection of all overflow conditions based on an input dividend N and an input divisor D, and a first partial remainder of value N-2.sup.n-1 D, comprising the steps:
An arithmetic processing system that performs nonrestoring division of a 2n bit dividend N by an n bit divisor D to obtain, for non-overflow division operations, an n bit quotient Q and an n bit remainder R (or signal overflow or divide by zero), with N, D, Q, and R being in 2's complement format, the arithmetic processing system performing early detection of overflow conditions and selected exceptional quotient/remainder pairs based on an input dividend N and an input divisor D, and a first partial remainder PR1 of value N-2.sup.n-1 D, comprising:
Dependencies are inferred from the claim text.