首页>
外国专利>
Floating-point adder performing floating-point and integer operations
Floating-point adder performing floating-point and integer operations
展开▼
机译:浮点加法器执行浮点和整数运算
展开▼
页面导航
摘要
著录项
相似文献
摘要
An apparatus and a method are disclosed for performing both floating-point operations and integer operations utilizing a single functional unit. The floating-point adder performs logic for comparing exponents, logic for selecting and shifting a co-efficient, and logic for adding coefficients. In operation, the floating-point adder unit performs integer addition, subtraction, and compare operations using substantially the same hardware as used for floating-point operations. The output of the logic for comparing exponents represents the most significant bits of the result of the integer operation. The output of the logic for adding co-efficients represents the least significant bits of the result of the integer operation. If there is a carry from the logic for adding co-efficients, the value of the carry is added to the partial result representing the most significant bits of the integer operation. The floating-point adder permits all integer add, subtract and compare operations be performed by the floating-point adder without adding substantial additional hardware to the arithmetic logic unit.
展开▼