Visible to Intel only — GUID: GUID-5F6A2F05-0436-41B8-8ACE-49049135F06D
Visible to Intel only — GUID: GUID-5F6A2F05-0436-41B8-8ACE-49049135F06D
fp-speculation, Qfp-speculation
Tells the compiler the mode in which to speculate on floating-point operations.
Syntax
Linux: |
-fp-speculation=mode |
Windows: |
/Qfp-speculation:mode |
Arguments
mode |
Is the mode for floating-point operations. Possible values are:
|
Default
-fp-speculation=fast |
The compiler speculates on floating-point operations. This is also the behavior when optimizations are enabled. However, if you specify no optimizations (-O0), the default changes: Linux In this case, the default is -fp-speculation=safe. Windows In this case, the default is /Qfp-speculation:safe. |
Description
This option tells the compiler the mode in which to speculate on floating-point operations.
Disabling speculation may prevent the vectorization of some loops containing conditionals.
IDE Equivalent
Visual Studio: Floating Point > Floating-Point Speculation
Alternate Options
None