
Software Optimization Guide for AMD64 Processors | 25112 Rev. 3.06 September 2005 |
10.3Floating-Point Compare Instructions
Optimization
For branches that are dependent on
Application
This optimization applies to:
•
•
Rationale
The FCOMI, FCOMIP, FUCOMI, and FUCOMIP instructions are much faster than the classical approach using FSTSW. When FSTSW cannot be avoided (for example, backward compatibility of code with older processors), no
244 | x87 | Chapter 10 |