/Q Options (Low-Level Operations) (original) (raw)
Share via
In this article
You can use the /Q compiler options to perform the following low-level compiler operations:
- /Qfast_transcendentals (Force Fast Transcendentals): Generates fast transcendentals.
- /QIfist (Suppress _ftol): Suppresses
_ftolwhen a conversion from a floating-point type to an integer type is required (x86 only). - /Qimprecise_fwaits (Remove fwaits Inside Try Blocks): Removes
fwaitcommands insidetryblocks. - /QIntel-jcc-erratum: Mitigates the performance impact caused by the Intel Jump Conditional Code (JCC) erratum microcode update.
- /Qpar (Auto-Parallelizer): Enables automatic parallelization of loops that are marked with the #pragma loop() directive.
- /Qpar-report (Auto-Parallelizer Reporting Level): Enables reporting levels for automatic parallelization.
- /Qsafe_fp_loads: Suppresses optimizations for floating-point register loads and for moves between memory and MMX registers.
- /Qspectre: Generates instructions to mitigate certain Spectre security vulnerabilities.
- /Qspectre-load: Generates instructions to mitigate Spectre security vulnerabilities based on loads.
- /Qspectre-load-cf: Generates instructions to mitigate Spectre security vulnerabilities based on control flow instructions which load.
- /Qvec-report (Auto-Vectorizer Reporting Level): Enables reporting levels for automatic vectorization.
See also
MSVC Compiler Options
MSVC Compiler Command-Line Syntax
Feedback
Was this page helpful?
No
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
- Last updated on 2021-08-03