Skip to content

Commit 0ffedaa

Browse files
Merge pull request #5597 from MicrosoftDocs/main638894486857565278sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 6a1f9a4 + 3574a2b commit 0ffedaa

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/build/reference/oi-generate-intrinsic-functions.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,21 @@ For more information about which functions have intrinsic forms, see [intrinsic]
2424
**/Oi** is only a request to the compiler to replace some function calls with intrinsics. The compiler may call the function (and not replace the function call with an intrinsic) if it results in better performance.\
2525
**/Oi-** turns off this behavior, which may be useful if `/Oi` has been specified elsewhere and you want to override it.
2626

27-
**x86 Specific**
27+
You also use [intrinsic](../../preprocessor/intrinsic.md) to create intrinsic functions, or [function (C/C++)](../../preprocessor/function-c-cpp.md) to explicitly force a function call.
28+
29+
### x86-specific remarks
2830

2931
The intrinsic floating-point functions don't perform any special checks on input values and so work in restricted ranges of input, and have different exception handling and boundary conditions than the library routines with the same name. Using the true intrinsic forms implies loss of IEEE exception handling, and loss of `_matherr` and `errno` functionality; the latter implies loss of ANSI conformance. However, the intrinsic forms can considerably speed up floating-point-intensive programs, and for many programs, the conformance issues are of little practical value.
3032

3133
You can use the [`Za`](za-ze-disable-language-extensions.md) compiler option to override generation of true intrinsic floating-point options. In this case, the functions are generated as library routines that pass arguments directly to the floating-point chip instead of pushing them onto the program stack.
3234

33-
**END x86 Specific**
34-
35-
You also use [intrinsic](../../preprocessor/intrinsic.md) to create intrinsic functions, or [function (C/C++)](../../preprocessor/function-c-cpp.md) to explicitly force a function call.
36-
37-
### To set this compiler option in the Visual Studio development environment
35+
## To set this compiler option in the Visual Studio development environment
3836

3937
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
4038
1. Select the **Configuration Properties** > **C/C++** > **Optimization** property page.
4139
1. Modify the **Enable Intrinsic Functions** property.
4240

43-
### To set this compiler option programmatically
41+
## To set this compiler option programmatically
4442

4543
- See <xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.EnableIntrinsicFunctions%2A>.
4644

0 commit comments

Comments
 (0)