Intel® Fortran Compiler 17.0 Developer Guide and Reference
Tells the compiler the mode in which to speculate on floating-point operations.
Linux and macOS: | -fp-speculation=mode |
Windows: | /Qfp-speculation:mode |
mode |
Is the mode for floating-point operations. Possible values are:
|
-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 on Linux*; /Od on Windows*), the default is -fp-speculation=safe (Linux*) or /Qfp-speculation:safe (Windows*). |
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. For an example, see the article titled: Diagnostic 15326: loop was not vectorized: implied FP exception model prevents vectorization, which is located in https://software.intel.com/en-us/articles/fdiag15326 .
Visual Studio: Floating Point > Floating-Point Speculation
Eclipse: None
Xcode: Floating Point > Floating-Point Speculation
None