Patent · US Expired

Efficient hardware handling of positive and negative overflow resulting from arithmetic operations

US5448509A · kind A · utility

49Cited by
5References
27Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 8, 1993
Grant dateSep 5, 1995
Priority date
Expiry dateDec 8, 2013

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2207/3828
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A computer system provides handling of positive and negative overflow. A first arithmetic operation is performed on a first n-bit unsigned binary operand and a second n-bit signed binary operand to produce an n-bit unsigned binary result. Overflow detection logic circuitry within the arithmetic logic unit detects positive overflow or negative overflow resulting from the arithmetic operation. When there is a positive overflow, saturation logic replaces the output of the two's complement adder with a value of 2.sup.n-1. When there is a negative overflow, the saturation logic replaces the output of the two's complement adder with a value of 0. In an alternate embodiment, a first arithmetic operation is performed on a first n-bit signed binary operand and a second n-bit signed binary operand to produce an n-bit positive signed binary result. For example the arithmetic operation is an addition or subtraction performed by a two's complement adder. In the alternate embodiment, overflow detection logic circuitry within the arithmetic logic unit detects positive overflow or negative overflow resulting from the arithmetic operation. When there is a positive overflow, saturation logic replace…

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.