Developer Guide and Reference

Contents

qopt-matmul, Qopt-matmul

Enables or disables a compiler-generated Matrix Multiply (matmul) library call.

Syntax

Linux:
-qopt-matmul
-qno-opt-matmul
macOS:
None
Windows:
/Qopt-matmul
/Qopt-matmul-
Arguments
None
Default
-qno-opt-matmul
or
/Qopt-matmul-
The matmul library call optimization does not occur unless this option is enabled or certain other compiler options are specified (see below).
Description
This option enables or disables a compiler-generated Matrix Multiply (MATMUL) library call.
The
[q or Q]opt-matmul
option tells the compiler to identify matrix multiplication loop nests (if any) and replace them with a matmul library call for improved performance. The resulting executable may get additional performance gain on Intel® microprocessors than on non-Intel microprocessors.
This option is dependent upon the OpenMP* library. If your product does not support OpenMP, this option will have no effect.
This option is enabled by default at setting
O2
and above. To disable this optimization, specify
-qno-opt-matmul
or
/Qopt-matmul-
.
This option has no effect unless option
O2
or higher is set.
Many routines in the MATMUL library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.
Alternate Options
None

Product and Performance Information

1

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 reserved 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