Developer Guide and Reference

Contents

fimf-force-dynamic-target, Qimf-force-dynamic-target

Instructs the compiler to use run-time dispatch in calls to math functions.

Syntax

Linux:
-fimf-force-dynamic-target
[
=
funclist
]
macOS:
-fimf-force-dynamic-target
[
=
funclist
]
Windows:
/Qimf-force-dynamic-target
[
:
funclist
]
Arguments
funclist
Is an optional list of one or more math library functions to which the attribute should be applied. If you specify more than one function, they must be separated with commas.
Precision-specific variants like sin and sinf are considered different functions, so you would need to use
-fimf-dynamic-target=sin,sinf
(or
/Qimf-dynamic-target:sin,sinf
) to specify run-time dispatch for both the single-precision and double-precision sine functions.
You also can specify the symbol /f to denote single-precision divides, symbol / to denote double-precision divides, symbol /l to denote extended-precision divides, and symbol /q to denote quad-precision divides. For example, you can specify
-fimf-dynamic-target=/
or
/Qimf-dynamic-target:/
.
Default
OFF
Run-time dispatch is not forced in math libraries calls. The compiler can choose to call a CPU-specific version of a math function if one is available.
Description