/Qsafe_fp_loads
Requires integer move instructions for floating-point values and disables certain floating-point load optimizations.
Syntax
/Qsafe_fp_loads
Remarks
/Qsafe_fp_loads is only available in the compilers that target x86; it is not available in the compilers that target x64 or ARM.
/Qsafe_fp_loads forces the compiler to use integer move instructions instead of floating-point move instructions to move data between memory and MMX registers. This option also disables register load optimization for floating-point values that can be loaded in multiple control paths when the value may cause an exception on load—for example, a NaN value.
This option is overridden by /fp:except. /Qsafe_fp_loads specifies a subset of the compiler behavior that's specified by /fp:except.
/Qsafe_fp_loads is incompatible with /clr and /fp:fast. For more information about floating point compiler options, see /fp (Specify Floating-Point Behavior).
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > C/C++ > Command Line property page.
Enter the compiler option in the Additional Options box. Choose OK to apply the change.
To set this compiler option programmatically
- See AdditionalOptions.
See also
/Q Options (Low-Level Operations)
MSVC Compiler Options
MSVC Compiler Command-Line Syntax
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru