发明名称 Method and structure for performing floating point comparison
摘要 Comparison of two floating point numbers is performed using a unique algorithm, which in one embodiment is implemented very efficiently in hardware, resulting in a very significant improvement in the floating point comparison execution time. In order to perform a floating point comparison, the exponents of the two numbers to be compared are subtracted. In many cases, the exponents are not equal, and simply determining which exponent is larger, combined with the signs of the mantissas of each of the floating point numbers being compared, is sufficient to determine which of the two floating point numbers being compared is larger. Alternatively, if the exponents of the two floating point numbers being compared are equal, the mantissas may be subtracted without need for shifting mantissas in order to equalize the exponents. In this manner, the floating point comparison operation is greatly simplified and the time consuming multiple shift operation is avoided, thereby vastly reducing the amount of time required to perform the floating point comparison, and thereby increasing the overall speed of operation of the microprocessor.
申请公布号 US4858166(A) 申请公布日期 1989.08.15
申请号 US19860909526 申请日期 1986.09.19
申请人 PERFORMANCE SEMICONDUCTOR CORPORATION 发明人 SCHATZBERGER, YESHAYAHU;MOR, YESHAYAHU;SANDMAN, LEONARDO
分类号 G06F7/02 主分类号 G06F7/02
代理机构 代理人
主权项
地址