Apparatus and method for optimizing the performance of x87 floating point addition instructions in a microprocessor
AssigneeVIA Technologies, Inc.
InventorsTom Elmer, Terry Parks
Life of this patent
Estimating the term…
Loading patent…
AssigneeVIA Technologies, Inc.
InventorsTom Elmer, Terry Parks
Estimating the term…
A microprocessor having a Precision Control (PC) field, an instruction dispatcher, and a Floating Point unit (FPU). The FPU receives an FP Add instruction from the instruction dispatcher, and generates a sum from its addends. The FPU determines whether any conditions exist in the addends with respect to their contribution to a rounding determination and relative to the PC field. If none of the conditions exists, the FPU makes the rounding determination based on the smaller addend and the PC field, and selectively rounds the sum based on the rounding determination. If any conditions exist, the FPU saves the sum and rounding information derived from the addends, and signals the instruction dispatcher to re-dispatch the instruction. On re-dispatch, the FPU makes the rounding determination based on the saved rounding information and the PC field, and selectively rounds the sum based on the rounding determination.
A microprocessor, comprising:
A method for processing an x87 floating point (FP) addition instruction (FPADD) in a microprocessor having a FP unit (FPU), an instruction dispatcher, and an x87 Floating Point Control Word (FPCW) including a Precision Control (PC) field programmable for specifying a precision of FP calculations made by the FPU, the method comprising:
A computer program product for use with a computing device, the computer program product comprising:
Dependencies are inferred from the claim text.