Developer Guide


Reduce Floating-Point Rounding Operations (

Include the
option in your
command to direct the
Intel® oneAPI DPC++/C++ Compiler
to remove intermediary floating-point rounding operations and conversions whenever possible and to carry additional bits to maintain precision.
Implementing this optimization control also changes the rounding mode. It rounds towards zero only at the end of a chain of floating-point arithmetic operations (that is, multiplications, additions, and subtractions).
To direct the
Intel® oneAPI DPC++/C++ Compiler
to reduce the number of rounding operations, invoke the following command:
dpcpp -fintelfpga -Xshardware -Xsfpc <source_file>.cpp
For more information about rounding operations, refer to Optimizing Floating-Point Operations.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804